OSDN Git Service

drm/amd/display: fix default dithering
authorTony Cheng <tony.cheng@amd.com>
Fri, 1 Sep 2017 20:14:01 +0000 (16:14 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:17:31 +0000 (18:17 -0400)
commit603767f903bf5bf301728b197dcde63cf880fe2e
tree0667241d66305f006e8d77f6989ebcae1a6a2b20
parent61a44fc6265dd3bb86c35bcdfb62a225891ada59
drm/amd/display: fix default dithering

bug: default is mapped to no dithering.

default to spatial dithering based on color depth

Signed-off-by: Tony Cheng <tony.cheng@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@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/core/dc.c
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c