projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d05589
)
intel: fix the wrong method check for bo_get_subdata
author
Yuanhan Liu
<yuanhan.liu@linux.intel.com>
Wed, 20 Jul 2011 08:08:51 +0000
(16:08 +0800)
committer
Eric Anholt
<eric@anholt.net>
Wed, 20 Jul 2011 17:46:45 +0000
(10:46 -0700)
It's going to call bo_get_subdata method, but not bo_subdata
Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
intel/intel_bufmgr.c
patch
|
blob
|
history
diff --git
a/intel/intel_bufmgr.c
b/intel/intel_bufmgr.c
index
ab57427
..
905556f
100644
(file)
--- 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)