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>
This commit is contained in:
Ken Wang
2015-06-03 17:47:54 +08:00
committed by Alex Deucher
parent 32bf7106e0
commit a101a8995a
5 changed files with 9 additions and 0 deletions

View File

@@ -573,6 +573,8 @@ struct drm_amdgpu_info_device {
/** Page table entry - fragment size */
uint32_t pte_fragment_size;
uint32_t gart_page_size;
/** constant engine ram size*/
uint32_t ce_ram_size;
};
struct drm_amdgpu_info_hw_ip {