]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Do a reg update instead of set when writing ODM color format
authorNikola Cornij <nikola.cornij@amd.com>
Thu, 18 Apr 2019 19:15:58 +0000 (15:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 22 Jun 2019 14:34:11 +0000 (09:34 -0500)
commit54897d64a206001531231a0bc33095f5a96fb7ed
treec065cbd5213e4dbcdf46785148ca6cc2698896b3
parent286e98dcc4f5bb10d07ea1bca8fbd74c6ebeee0c
drm/amd/display: Do a reg update instead of set when writing ODM color format

[why]
If a set is done, DSC settings are zeroed out, leading to no DSC for the modes
that require ODM, such as 8k60.

This was a regression introduced by 5a4f26295176bbfc776c75aaf0f6dd8ccf806958.

Signed-off-by: Nikola Cornij <nikola.cornij@amd.com>
Reviewed-by: Eric Bernstein <Eric.Bernstein@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_optc.c