mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 05:50:12 +01:00
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>
This commit is contained in:
parent
8d055890d9
commit
ce317a6d09
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ drm_intel_bo_get_subdata(drm_intel_bo *bo, unsigned long offset,
|
||||||
unsigned long size, void *data)
|
unsigned long size, void *data)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
if (bo->bufmgr->bo_subdata)
|
if (bo->bufmgr->bo_get_subdata)
|
||||||
return bo->bufmgr->bo_get_subdata(bo, offset, size, data);
|
return bo->bufmgr->bo_get_subdata(bo, offset, size, data);
|
||||||
|
|
||||||
if (size == 0 || data == NULL)
|
if (size == 0 || data == NULL)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue