drm/amd/display: Change the DMCUB mailbox memory location from FB to inbox
[WHY] Flush command sent to DMCUB spends more time for execution on a dGPU than on an APU. This causes cursor lag when using high refresh rate mouses. [HOW] 1. Change the DMCUB mailbox memory location from FB to inbox. 2. Only change windows memory to inbox. Cc: Mario Limonciello <mario.limonciello@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org Reviewed-by:Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Acked-by:
Alex Hung <alex.hung@amd.com> Signed-off-by:
Lewis Huang <lewis.huang@amd.com> Tested-by:
Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
Showing
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 7 additions, 6 deletionsdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
- drivers/gpu/drm/amd/display/dmub/dmub_srv.h 14 additions, 8 deletionsdrivers/gpu/drm/amd/display/dmub/dmub_srv.h
- drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c 24 additions, 8 deletionsdrivers/gpu/drm/amd/display/dmub/src/dmub_srv.c
Loading
Please register or sign in to comment