]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdkfd: Move gfx9.4.3 and gfx 9.5 MQD to HBM
authorPhilip Yang <Philip.Yang@amd.com>
Thu, 20 Nov 2025 21:43:04 +0000 (16:43 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 20 Jan 2026 22:15:46 +0000 (17:15 -0500)
commitd4a814f400d4f3bd1e52f9b82e7d1f11b2721cf8
treeeadc1b0fba32649b077215fe79db6b44db8eb0fd
parentd62dec8c70934c428f80889c49e09a9d1d93c126
drm/amdkfd: Move gfx9.4.3 and gfx 9.5 MQD to HBM

To reduce queue switch latency further, move MQD to VRAM domain, CP
access MQD and control stack via FB aperture, this requires contiguous
pages.

After MQD is initialized, updated or restored, flush HDP to guarantee
the data is written to HBM and GPU cache is invalidated, then CP will
read the new MQD.

Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c