drm/amd/display: allow newer DC hardware to use degamma ROM for PQ/HLG
authorJoshua Ashton <joshua@froggi.es>
Thu, 16 Nov 2023 19:58:08 +0000 (18:58 -0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Dec 2023 20:25:41 +0000 (15:25 -0500)
commitf81996637000a050477d597ef99e832079f99bd2
tree93ec3123759571ff68939c10fdd44361e35ebe26
parent783ed4460fe55b01ff32a7c6ad8239974874a16a
drm/amd/display: allow newer DC hardware to use degamma ROM for PQ/HLG

Need to funnel the color caps through to these functions so it can check
that the hardware is capable.

v2:
- remove redundant color caps assignment on plane degamma map (Harry)
- pass color caps to degamma params

v3:
- remove unused color_caps parameter from set_color_properties (Harry)

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Signed-off-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c