diff options
author | Ken Wang <Qingqing.Wang@amd.com> | 2015-06-03 17:47:54 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-06-03 21:04:02 -0400 |
commit | a101a8995ab8072125d0bb4d95425c9fb37ff809 (patch) | |
tree | db745acda68a5b1d9f7c3f7207e72291659b5b7a /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | 32bf7106e072b59cade754062ed86023309f50d9 (diff) | |
download | lwn-a101a8995ab8072125d0bb4d95425c9fb37ff809.tar.gz lwn-a101a8995ab8072125d0bb4d95425c9fb37ff809.zip |
drm/amdgpu add ce_ram_size for interface query
Add a query for the CE ram size. User mode drivers
will want to use this to determine how much size
of the cache on the CE.
Signed-off-by: Ken Wang <Qingqing.Wang@amd.com>
Reviewd-by: Jammy Zhou <Jammy.Zhou@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 4300e3d4b1cd..6c99b7560a27 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -1136,6 +1136,8 @@ struct amdgpu_gfx { uint32_t gfx_current_status; /* sync signal for const engine */ unsigned ce_sync_offs; + /* ce ram size*/ + unsigned ce_ram_size; }; int amdgpu_ib_get(struct amdgpu_ring *ring, struct amdgpu_vm *vm, |