]> git.hungrycats.org Git - linux/commit
drm/amd/display: Allocate DCN32/1 dmub memory to GTT
authorFangzhi Zuo <Jerry.Zuo@amd.com>
Thu, 18 Jun 2026 19:02:13 +0000 (15:02 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 15 Jul 2026 13:15:39 +0000 (09:15 -0400)
commita637a140ab860310818a14fb4d37e39e51a06be4
treea14b3730376355a7efc65fb83fe9d817110541ff
parent1d8327353de6f1f34063840f362c208c84064f54
drm/amd/display: Allocate DCN32/1 dmub memory to GTT

[Why]
On DCN32/321  sometimes DMCUB takes a long time to flush.
This adds a delay before the data is available on the driver side even
after driver receives notification from DMCUB via inbox

[How]
Allocating DMUB memory to GTT gives much better latency. Limit this to
DCN32/1 for now; it will be made general to all other dGPUs later.

Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Reviewed-by: Sun peng (Leo) Li <sunpeng.li@amd.com>
Signed-off-by: Fangzhi Zuo <Jerry.Zuo@amd.com>
Signed-off-by: George Zhang <george.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_dmub.c