diff options
| author | Alex Deucher <[email protected]> | 2016-08-24 16:56:21 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2016-08-25 11:21:43 -0400 |
| commit | 75c65480ba7d56e2ee164057ce8ab879931a3978 (patch) | |
| tree | 206539d4b9cbd5495b699b069f098d0de212e1f5 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
| parent | 810ddc3ab52dd84f4cd28ee8673678aece457a59 (diff) | |
drm/amdgpu: track the number of vce rings
Rather than using a hardcoded value. This allows
different versions to expose more or less rings.
No functional change.
Reviewed-by: JimQu <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 849451432a3f..0cd1c9316974 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -1686,6 +1686,7 @@ struct amdgpu_vce { unsigned harvest_config; struct amd_sched_entity entity; uint32_t srbm_soft_reset; + unsigned num_rings; }; /* |