]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Clear underflow status for debug purposes
authorNikola Cornij <nikola.cornij@amd.com>
Fri, 27 Apr 2018 21:26:25 +0000 (17:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 18 May 2018 21:08:29 +0000 (16:08 -0500)
commitb823c1e18d7ea8cc93cfc12650f454a97eec383c
tree14a841a8b00235c833ef2342b7d5c184f3d26617
parent2f70a0c7abe1be624432d85472ec6d98614cc7d3
drm/amd/display: Clear underflow status for debug purposes

We want to keep underflow sticky bit on for the longevity tests outside
of test environment. For debug purposes it is, however, useful to clear
underflow status after the test that caused it so that the following
tests are not affected. This change fullfils both requirements by clearing
the underflow only from within Windows or Diags test environment.

Signed-off-by: Nikola Cornij <nikola.cornij@amd.com>
Reviewed-by: Nikola Cornij <Nikola.Cornij@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/dcn10/dcn10_hw_sequencer.c