drm: Add explicit acquire ctx handling around ->gamma_set
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 3 Apr 2017 08:33:00 +0000 (10:33 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Apr 2017 08:21:43 +0000 (10:21 +0200)
commitca659e0e3cda69c5e8bbb7038adad30442a8ce39
tree775d2cb0e17d3d49d2b005ed7409e2fe3a3e6ff6
parent9c79e0b1d096c06e4b012a32dddb04be0ce9716e
drm: Add explicit acquire ctx handling around ->gamma_set

Just the groundwork to prepare for adding the acquire cxt parameter to
the ->gamma_set hook. Again we need a temporary hack to fill out
mode_config.acquire_ctx until the atomic helpers are switched over.

Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170403083304.9083-12-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_color_mgmt.c