drm/amd/display: Allow spatial dither to 10 bpc on all DCE
authorMario Kleiner <mario.kleiner.de@gmail.com>
Fri, 12 Feb 2021 22:29:54 +0000 (23:29 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Feb 2021 14:28:54 +0000 (09:28 -0500)
commitafdd1de0f9e71dc5115416a47224829ad55cc9a4
tree57e7ad6c66ce91da1e6cb36f832c0ded931d35a9
parentd7faf6f5347baec5cc774f3d46557f8782d87ee9
drm/amd/display: Allow spatial dither to 10 bpc on all DCE

Spatial dithering to 10 bpc depth was disabled for all DCE's.

Testing on DCE-8.3 and DCE-11.2 did not show any obvious ill
effects, but a measureable precision improvement (via colorimeter)
when displaying a fp16 framebuffer to a 10 bpc DP or HDMI connected
HDR-10 monitor.

v2: enable it for all DCEs (Alex)

Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Cc: Alex Deucher <alexdeucher@gmail.com>
Reviewed-by: Mario Kleiner <mario.kleiner.de@gmail.com> (v2)
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_opp.c