summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.h
diff options
context:
space:
mode:
authorJames Zhu <James.Zhu@amd.com>2022-08-15 23:55:02 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-06-09 16:59:20 +0300
commit2c1c7ba457d4ecf475c0e220ac5359971355c6eb (patch)
treea339a5833704ecf13bccecd9e80db801c2738e11 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.h
parentb9cbd51000ad3541351ca832b00600870ac08e5c (diff)
downloadlinux-2c1c7ba457d4ecf475c0e220ac5359971355c6eb.tar.xz
drm/amdgpu: support partition drm devices
Support partition drm devices on GC_HWIP IP_VERSION(9, 4, 3). This is a temporary solution and will be superceded. Signed-off-by: Christian König <christian.koenig@amd.com> Signed-off-by: James Zhu <James.Zhu@amd.com> Reviewed-and-tested-by: Philip Yang<Philip.Yang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_drv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.h
index 8178323e4bef..5bc2cb661af7 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.h
@@ -42,6 +42,8 @@
#define DRIVER_DESC "AMD GPU"
#define DRIVER_DATE "20150101"
+extern const struct drm_driver amdgpu_partition_driver;
+
long amdgpu_drm_ioctl(struct file *filp,
unsigned int cmd, unsigned long arg);