]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/gpu/drm/drm_fb_helper.c
drm: Add acquire ctx to ->gamma_set hook
[karo-tx-linux.git] / drivers / gpu / drm / drm_fb_helper.c
index 9147abb774e802c86c5baba7d8474096c99765bd..6dc5381e1c45d711cf4c6b27f9f7eff033146007 100644 (file)
@@ -256,7 +256,8 @@ static void drm_fb_helper_restore_lut_atomic(struct drm_crtc *crtc)
        g_base = r_base + crtc->gamma_size;
        b_base = g_base + crtc->gamma_size;
 
-       crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, crtc->gamma_size);
+       crtc->funcs->gamma_set(crtc, r_base, g_base, b_base,
+                              crtc->gamma_size, NULL);
 }
 
 /**