]> git.baikalelectronics.ru Git - kernel.git/commit
radeon: insert 10ms sleep in dce5_crtc_load_lut
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 28 Jan 2020 16:09:52 +0000 (17:09 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Jan 2020 22:15:42 +0000 (17:15 -0500)
commit874375d31a83edf69dceb732853eb6be64483f5c
treebda401742d6eee66ea727d1fbb08869c3ac7c47c
parentabbcb4556c9c57ac59e25c2b2523ea4cd370e1e3
radeon: insert 10ms sleep in dce5_crtc_load_lut

Per at least one tester this is enough magic to recover the regression
introduced for some people (but not all) in

commit 046144a856af7551fc95f309a17cc07ec45803d2
Author: Peter Rosin <peda@axentia.se>
Date:   Tue Jul 4 12:36:57 2017 +0200

    drm/fb-helper: factor out pseudo-palette

which for radeon had the side-effect of refactoring out a seemingly
redudant writing of the color palette.

10ms in a fairly slow modeset path feels like an acceptable form of
duct-tape, so maybe worth a shot and see what sticks.

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Michel Dänzer <michel.daenzer@amd.com>
References: https://bugzilla.kernel.org/show_bug.cgi?id=198123
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_display.c