]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Allow DP register double buffer
authorEric Bernstein <eric.bernstein@amd.com>
Fri, 25 May 2018 15:57:26 +0000 (11:57 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Jun 2018 17:24:50 +0000 (12:24 -0500)
commit5a57ccfcde76dc71c3fa13167bc26b6f7d689bfb
tree9efa99cbfe97f6b9c0848d93693de1f5c979108f
parent71c51a03c0468c814ca6da5eb9be67b6d446c307
drm/amd/display: Allow DP register double buffer

Remove setting DP_DB_DISABLE to avoid issues when changing
bit depth after vbios take over.
Refactor code to perform single register update for both
pixel encoding and component depth fields.

Signed-off-by: Eric Bernstein <eric.bernstein@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/dce/dce_stream_encoder.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c