OSDN Git Service

drm/amdgpu: set MTYPE in PTE for GFXIP 9.4.3
authorRajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Wed, 7 Dec 2022 05:29:40 +0000 (00:29 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:50:13 +0000 (09:50 -0400)
commit753b999afe47900531282f86bf430aec250b4232
tree71800f57cc4bd60f0e3e9b40e3a6c659dcf3ae1b
parent7a1efad04c210594069c4ab9f9c25039cd6915e4
drm/amdgpu: set MTYPE in PTE for GFXIP 9.4.3

Apply the GFXIP 9.4.3 specific snoop and mtype settings for various
scenarios such as APU, APU in Carveout mode and dGPU mode.

Note: This is expected to change due to:
1 - NPS > 1 support in future
2 - Hardware bugs found during initial asic bringup.

Cc: Graham Sider <graham.sider@amd.com>
Cc: Hawking Zhang <hawking.zhang@amd.com>
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c