summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2020-04-09 15:56:05 -0400
committerAlex Deucher <alexander.deucher@amd.com>2020-04-13 12:02:19 -0400
commitcb3d1085019da94cf2b7d721600b4e5df93b4ef8 (patch)
tree8a831c48c270828c2ed7bf2a8e019882a6732bc3 /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
parente8663832b088fb37ad6558f62dcaf3ae0116bb8d (diff)
downloadlinux-cb3d1085019da94cf2b7d721600b4e5df93b4ef8.tar.gz
linux-cb3d1085019da94cf2b7d721600b4e5df93b4ef8.tar.bz2
linux-cb3d1085019da94cf2b7d721600b4e5df93b4ef8.zip
drm/amdgpu/ring: add no_scheduler flag
This allows IPs to flag whether a specific ring requires a GPU scheduler or not. E.g., sometimes instances of an IP are asymmetric and have different capabilities. Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
index 057e169b953f..5254396e84dc 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
@@ -223,6 +223,7 @@ struct amdgpu_ring {
unsigned vm_inv_eng;
struct dma_fence *vmid_wait;
bool has_compute_vm_bug;
+ bool no_scheduler;
atomic_t num_jobs[DRM_SCHED_PRIORITY_MAX];
struct mutex priority_mutex;