summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2018-10-17 11:39:27 -0500
committerAlex Deucher <alexander.deucher@amd.com>2018-11-05 14:20:58 -0500
commit2a85e816ccd7a8f696c70a109c98cc9a017d683f (patch)
tree6f8edc5ea6d97df05d49f1bf51a8db44efff7cba /drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h
parent161d0711b9e53afa6db7724f1f5a8e2dba34221e (diff)
drm/amdgpu/sdma4: APUs do not have a page queue
Don't use the paging queue on APUs. Tested-by: Tom St Denis <tom.stdenis@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h
index 556db42edaed..479a2459e558 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h
@@ -51,6 +51,7 @@ struct amdgpu_sdma {
struct amdgpu_irq_src illegal_inst_irq;
int num_instances;
uint32_t srbm_soft_reset;
+ bool has_page_queue;
};
/*