|
@@ -3479,6 +3479,7 @@ EXPORT_SYMBOL(drm_atomic_helper_connector_destroy_state);
|
|
|
* @green: green correction table
|
|
|
* @blue: green correction table
|
|
|
* @size: size of the tables
|
|
|
+ * @ctx: lock acquire context
|
|
|
*
|
|
|
* Implements support for legacy gamma correction table for drivers
|
|
|
* that support color management through the DEGAMMA_LUT/GAMMA_LUT
|
|
@@ -3486,7 +3487,8 @@ EXPORT_SYMBOL(drm_atomic_helper_connector_destroy_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)
|
|
|
{
|
|
|
struct drm_device *dev = crtc->dev;
|
|
|
struct drm_mode_config *config = &dev->mode_config;
|