summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorMelissa Wen <mwen@igalia.com>2023-11-16 22:58:05 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-12-14 23:25:06 +0300
commit486c95af5d76047d5cb50727270b1961dacb9380 (patch)
tree14637e29eef48a977edaecaf3ea9c0f0c722f274 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent65d2765d6291a49d5cdfc0fd88ba5689ed27dbe2 (diff)
downloadlinux-486c95af5d76047d5cb50727270b1961dacb9380.tar.xz
drm/amd/display: add plane 3D LUT support
Wire up DC 3D LUT to DM plane color management (pre-blending). On AMD display HW, 3D LUT comes after a shaper curve and we always have to program a shaper curve to delinearize or normalize the color space before applying a 3D LUT (since we have a reduced number of LUT entries). In this version, the default values of 3D LUT for size and bit_depth are 17x17x17 and 12-bit, but we already provide here a more generic mechanisms to program other supported values (9x9x9 size and 10-bit). v2: - started with plane 3D LUT instead of CRTC 3D LUT support v4: - lut3d_size is the max dimension size instead of # of entries Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Melissa Wen <mwen@igalia.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions