]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/drm/drm_atomic_helper.h
drm: Add acquire ctx to ->gamma_set hook
[karo-tx-linux.git] / include / drm / drm_atomic_helper.h
index fd395dc050ee36c56b38ff4e26ac30cffa988b14..f0a8678ae98e542c8632262437c3f5568ecf2398 100644 (file)
@@ -176,7 +176,8 @@ void drm_atomic_helper_connector_destroy_state(struct drm_connector *connector,
                                          struct drm_connector_state *state);
 int drm_atomic_helper_legacy_gamma_set(struct drm_crtc *crtc,
                                       u16 *red, u16 *green, u16 *blue,
-                                      uint32_t size);
+                                      uint32_t size,
+                                      struct drm_modeset_acquire_ctx *ctx);
 
 /**
  * drm_atomic_crtc_for_each_plane - iterate over planes currently attached to CRTC