]> git.baikalelectronics.ru Git - kernel.git/commit
drm/docs: Document where the C8 color lut is stored
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 24 Jan 2022 22:16:33 +0000 (23:16 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 25 Jan 2022 08:36:20 +0000 (09:36 +0100)
commita60996a2a9ebcd1d1a959f0e645bdef46271ac14
treed71db39296e4770637771b6ef23d7bfadf38b389
parentb5ea5c28d9c44455d7e4ab358a2526c37677904f
drm/docs: Document where the C8 color lut is stored

Also add notes that for atomic drivers it's really somewhere else and
no longer in struct drm_crtc.

Maybe we should put a bigger warning here that this is confusing,
since the pixel format is a plane property, but the GAMMA_LUT property
is on the crtc. But I think we can fix this if/when someone finds a
need for a per-plane CLUT, since I'm not sure such hw even exists. I'm
also not sure whether even hardware with a CLUT and a full color
correction pipeline with degamm/cgm/gamma exists.

Motivated by comments from Geert that we have a gap here.

v2: More names for color luts (Laurent).

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220124221633.952374-1-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_color_mgmt.c
include/drm/drm_crtc.h