drm/amdgpu: Make CPX mode auto default in NPS4
authorRajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Wed, 22 May 2024 19:04:29 +0000 (15:04 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 29 May 2024 18:48:30 +0000 (14:48 -0400)
commitef5c0f897ec91e43b1d719dec170279e4c68382c
tree37db2baccd5e5e19457d26965e65b32b55c4898e
parent2e216b1e6ba218afc873f4cdaf383e8d18403d74
drm/amdgpu: Make CPX mode auto default in NPS4

On GFXIP9.4.3, make CPX mode as the default compute mode if the node is
setup in NPS4 memory partition mode. This change is only applicable for
dGPU, for APU, continue to use TPX mode.

Reviewed-by: Felix Kuehling <felix.kuehling@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/aqua_vanjaram.c