drm/amdgpu: Change nbio v7.9 xcp status definition
authorLijo Lazar <lijo.lazar@amd.com>
Tue, 13 Jun 2023 07:20:02 +0000 (12:50 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Jun 2023 15:06:59 +0000 (11:06 -0400)
commitfe381726c96d9a7c2bd6eafa30f22e968f532cd1
tree4904c7c3e4105b5153468ba7c305d83dd87e3e31
parentca0b954a4315ca2228001c439ae1062561c81989
drm/amdgpu: Change nbio v7.9 xcp status definition

PARTITION_MODE field in PARTITION_COMPUTE_STATUS register is defined as
below by firmware.

SPX = 0, DPX = 1, TPX = 2, QPX = 3, CPX = 4

Change driver definition accordingly.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Le Ma <le.ma@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nbio_v7_9.c