OSDN Git Service

drm/amd/display: clear underflow on optc unblank
authorJun Lei <Jun.Lei@amd.com>
Wed, 24 Oct 2018 15:39:55 +0000 (11:39 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Nov 2018 20:27:38 +0000 (15:27 -0500)
commit3ce224421b66c740bb2902e69f0dd1163373842a
treed154d70d7e4365fa40290dbe5791c18ea35e4143
parent6263f0fd0626740cb7d68fe1182f16a8b4eb6d37
drm/amd/display: clear underflow on optc unblank

[why]
Underflow is asserted due to some timing condition which does not
actually result in visible underflow (i.e. it occurs while blanked).

[how]
Force clear underflow occured bit whenver we unblank.

Signed-off-by: Jun Lei <Jun.Lei@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Aric Cyr <Aric.Cyr@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/dcn10/dcn10_optc.c