drm/amdgpu add ce_ram_size for interface query
authorKen Wang <Qingqing.Wang@amd.com>
Wed, 3 Jun 2015 09:47:54 +0000 (17:47 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 4 Jun 2015 01:04:02 +0000 (21:04 -0400)
commita101a8995ab8072125d0bb4d95425c9fb37ff809
treedb745acda68a5b1d9f7c3f7207e72291659b5b7a
parent32bf7106e072b59cade754062ed86023309f50d9
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>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
include/uapi/drm/amdgpu_drm.h