]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: Add flags to distinguish vf/pf/pt mode
authorAsad Kamal <asad.kamal@amd.com>
Mon, 27 May 2024 04:15:15 +0000 (12:15 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Feb 2025 02:04:08 +0000 (21:04 -0500)
commitaafe181f7dfbb726004c2ecb1d28297b84f3f34b
treef7006c29a0a22f70b7ec7313400aca4e1c13a511
parent759e764f7d587283b4e0b01ff930faca64370e59
drm/amdgpu: Add flags to distinguish vf/pf/pt mode

Add extra flag definition for ids_flag field to distinguish
between vf/pf/pt modes

v2: Updated kms driver minor version & removed pf check as default is 0
v3: Fix up version (Alex)
v4: rebase (Alex)

Proposed userspace:
https://github.com/ROCm/amdsmi/commit/e663bed7d6b3df79f5959e73981749b1f22ec698

Signed-off-by: Asad Kamal <asad.kamal@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
include/uapi/drm/amdgpu_drm.h