intel: fix the wrong method check for bo_get_subdata
PATCH 1/1 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 <[email protected]>
--- intel/intel_bufmgr.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
intel/intel_bufmgr.c +1 -1
@@ -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 )
Signature · 1 line
1.7.3.1
Eric Anholt
AppliedQuoted 3 lines · Yuanhan Liu
It's going to call
bo_get_subdatamethod, but notbo_subdataSigned-off-by Yuanhan Liu <[email protected]>
Applied. Thanks!
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx