]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Reset inbox rptr/wptr when resetting DMCUB
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Mon, 13 Jan 2020 13:58:00 +0000 (08:58 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Jan 2020 21:55:28 +0000 (16:55 -0500)
commit9485ac11b791ef42b3c480862849c2df1519e2aa
treea60f36842534f71fe01413ea8d37db6a7971e1a2
parentbd624661b64fd3b093434798f0e6fa02606d7c50
drm/amd/display: Reset inbox rptr/wptr when resetting DMCUB

[Why]
These logically make sense more to be set after the DMCUB has been
reset rather than when we setup the inbox.

[How]
Move them into the reset callback.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn20.c