It's going to call bo_get_subdata method, but not bo_subdata
Signed-off-by: Yuanhan Liu <[email protected]>
---
intel/intel_bufmgr.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/intel/intel_bufmgr.c b/intel/intel_bufmgr.c
index ab57427..905556f 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)
--
1.7.3.1
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx