drm/amd/display: Update the register GRPH_SWAP_CNTL if surface pixel format changed.
authorDuke Du <Duke.Du@amd.com>
Thu, 4 Jan 2018 01:32:06 +0000 (09:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:18:33 +0000 (14:18 -0500)
commit3aa0caddf6997a62e08e19bbaf6f5d61067c1196
treef238b8d0b4b95b857d426a0c816d0b2f314280bc
parenta27267e01ffa377e854645548b0bb11a5051c36c
drm/amd/display: Update the register GRPH_SWAP_CNTL if surface pixel format changed.

Signed-off-by: Duke Du <Duke.Du@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/dc.h
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c