diff options
Diffstat (limited to 'drivers/gpu/drm/drm_atomic_helper.c')
-rw-r--r-- | drivers/gpu/drm/drm_atomic_helper.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_atomic_helper.c b/drivers/gpu/drm/drm_atomic_helper.c index 0a3d91c51d61..25569e5b3adc 100644 --- a/drivers/gpu/drm/drm_atomic_helper.c +++ b/drivers/gpu/drm/drm_atomic_helper.c | |||
@@ -3479,6 +3479,7 @@ EXPORT_SYMBOL(drm_atomic_helper_connector_destroy_state); | |||
3479 | * @green: green correction table | 3479 | * @green: green correction table |
3480 | * @blue: green correction table | 3480 | * @blue: green correction table |
3481 | * @size: size of the tables | 3481 | * @size: size of the tables |
3482 | * @ctx: lock acquire context | ||
3482 | * | 3483 | * |
3483 | * Implements support for legacy gamma correction table for drivers | 3484 | * Implements support for legacy gamma correction table for drivers |
3484 | * that support color management through the DEGAMMA_LUT/GAMMA_LUT | 3485 | * that support color management through the DEGAMMA_LUT/GAMMA_LUT |
@@ -3486,7 +3487,8 @@ EXPORT_SYMBOL(drm_atomic_helper_connector_destroy_state); | |||
3486 | */ | 3487 | */ |
3487 | int drm_atomic_helper_legacy_gamma_set(struct drm_crtc *crtc, | 3488 | int drm_atomic_helper_legacy_gamma_set(struct drm_crtc *crtc, |
3488 | u16 *red, u16 *green, u16 *blue, | 3489 | u16 *red, u16 *green, u16 *blue, |
3489 | uint32_t size) | 3490 | uint32_t size, |
3491 | struct drm_modeset_acquire_ctx *ctx) | ||
3490 | { | 3492 | { |
3491 | struct drm_device *dev = crtc->dev; | 3493 | struct drm_device *dev = crtc->dev; |
3492 | struct drm_mode_config *config = &dev->mode_config; | 3494 | struct drm_mode_config *config = &dev->mode_config; |