]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Support CW4 for DMUB ringbuffer inbox
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Thu, 7 May 2020 17:35:41 +0000 (13:35 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 May 2020 18:00:48 +0000 (14:00 -0400)
commite2a84726d5046f361265976e72759df8ee1220f5
tree8ff2f9ac82b04e3c589d162bb8e517e0ff58a555
parent22cd4e5a1cff989eb8daf0a9d687f7059e305c64
drm/amd/display: Support CW4 for DMUB ringbuffer inbox

[Why]
Region 4 is non cacheable and slower than using cache window 4.

[How]
Check the firmware version to determine how we should program the
base address and memory windows.

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