]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/gpu/drm/nouveau/nv50_display.c
drm: Add acquire ctx to ->gamma_set hook
[karo-tx-linux.git] / drivers / gpu / drm / nouveau / nv50_display.c
index 3d381d5c82ce45d2bf19bdf7b0afcbbbf792ec38..bf504788bce6b45ef5c75980365fdeec37cc532f 100644 (file)
@@ -2218,7 +2218,8 @@ nv50_head_help = {
 
 static int
 nv50_head_gamma_set(struct drm_crtc *crtc, u16 *r, u16 *g, u16 *b,
-                   uint32_t size)
+                   uint32_t size,
+                   struct drm_modeset_acquire_ctx *ctx)
 {
        struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc);
        u32 i;