]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Allow truncation to 10 bits
authorMikita Lipski <mikita.lipski@amd.com>
Wed, 7 Mar 2018 15:49:23 +0000 (10:49 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Mar 2018 05:22:08 +0000 (00:22 -0500)
commit320e57e438e34355427fe932d8c1cdd232f413e7
tree906427dd972b55b6226d6971bc3a5864b3c2c801
parent169d6166a294cb0bff6faeed8d7237c28484ab6e
drm/amd/display: Allow truncation to 10 bits

The truncation isn't being programmed if the truncation
depth is set to 2, it causes an issue with dce11.2 asic
using 6bit eDP panel. It required to truncate 12:10 in order to
perform spatial dither 10:6.

This change will allow 12:10 truncation to be enabled.

Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_opp.c