summaryrefslogtreecommitdiff
path: root/intel
diff options
context:
space:
mode:
authorYuanhan Liu <yuanhan.liu@linux.intel.com>2011-07-20 16:08:51 +0800
committerEric Anholt <eric@anholt.net>2011-07-20 10:46:45 -0700
commitce317a6d09bb93cff73703b06e5a5bc3cc0b1c6a (patch)
treef5dbe3c179e35a8737798216b97f5a8987148fc4 /intel
parent8d055890d90c3d92647e3d8b98d32630ef87c2c8 (diff)
intel: fix the wrong method check for bo_get_subdata
It's going to call bo_get_subdata method, but not bo_subdata Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Diffstat (limited to 'intel')
-rw-r--r--intel/intel_bufmgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/intel/intel_bufmgr.c b/intel/intel_bufmgr.c
index ab574273..905556f6 100644
--- a/intel/intel_bufmgr.c
+++ b/intel/intel_bufmgr.c
@@ -104,7 +104,7 @@ drm_intel_bo_get_subdata(drm_intel_bo *bo, unsigned long offset,
unsigned long size, void *data)
{
int ret;
- if (bo->bufmgr->bo_subdata)
+ if (bo->bufmgr->bo_get_subdata)
return bo->bufmgr->bo_get_subdata(bo, offset, size, data);
if (size == 0 || data == NULL)