summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/intel/drm
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2014-03-08 17:22:45 +0800
committerChia-I Wu <[email protected]>2014-03-10 16:42:42 +0800
commit76713ed5d64028a434c15f4eb6572b01e5acacca (patch)
tree87fb7dbe2b98295e76093b717334a802bd7599e2 /src/gallium/winsys/intel/drm
parent790c32ec75c1310a03aecc797fd2a2f703cda66a (diff)
ilo: remove intel_bo_get_size()
Commit bfa8d21759c5f2b5b0885c696842167bd4c64fee uses it to work around a hardware limitation. But there are other ways to do it without the need for intel_bo_get_size().
Diffstat (limited to 'src/gallium/winsys/intel/drm')
-rw-r--r--src/gallium/winsys/intel/drm/intel_drm_winsys.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/winsys/intel/drm/intel_drm_winsys.c b/src/gallium/winsys/intel/drm/intel_drm_winsys.c
index e68fd45ec62..12ae4aae8e2 100644
--- a/src/gallium/winsys/intel/drm/intel_drm_winsys.c
+++ b/src/gallium/winsys/intel/drm/intel_drm_winsys.c
@@ -405,12 +405,6 @@ intel_bo_unreference(struct intel_bo *bo)
drm_intel_bo_unreference(gem_bo(bo));
}
-unsigned long
-intel_bo_get_size(const struct intel_bo *bo)
-{
- return gem_bo(bo)->size;
-}
-
void *
intel_bo_map(struct intel_bo *bo, bool write_enable)
{