aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorMelissa Wen <[email protected]>2023-11-16 19:58:05 +0000
committerAlex Deucher <[email protected]>2023-12-14 20:25:06 +0000
commit486c95af5d76047d5cb50727270b1961dacb9380 (patch)
tree14637e29eef48a977edaecaf3ea9c0f0c722f274 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/amdgpu: warn when there are still mappings when a BO is destroyed v2 (diff)
downloadkernel-486c95af5d76047d5cb50727270b1961dacb9380.tar.gz
kernel-486c95af5d76047d5cb50727270b1961dacb9380.zip
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 <[email protected]> Signed-off-by: Melissa Wen <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions