drm/amdgpu: Show current compute partition on VF
authorLijo Lazar <lijo.lazar@amd.com>
Tue, 17 Sep 2024 06:16:44 +0000 (11:46 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Oct 2024 15:20:32 +0000 (11:20 -0400)
commitf8588f051d8ce2ed1f76a3c1d32f0d17b68ee155
tree7ed3bcfaf5c5ef45e89bd4b8fe2cd05d8cfa6851
parentb3c687169256ec637172b661cf59518eb756db28
drm/amdgpu: Show current compute partition on VF

Enable sysfs node for current compute partition mode on VFs also.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Vignesh Chander <Vignesh.Chander@amd.com>
Tested-by: Vignesh Chander <Vignesh.Chander@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c