drm/cirrus: remove unused driver_private access
gem_bo->driver_private is never read by cirrus nor DRM core. No need to set it. Besides, drm core clears it during setup, anyway. Signed-off-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
7d2e968e2b
commit
23a9a2e075
1 changed files with 0 additions and 1 deletions
|
@ -326,7 +326,6 @@ int cirrus_bo_create(struct drm_device *dev, int size, int align,
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
cirrusbo->gem.driver_private = NULL;
|
|
||||||
cirrusbo->bo.bdev = &cirrus->ttm.bdev;
|
cirrusbo->bo.bdev = &cirrus->ttm.bdev;
|
||||||
|
|
||||||
cirrus_ttm_placement(cirrusbo, TTM_PL_FLAG_VRAM | TTM_PL_FLAG_SYSTEM);
|
cirrus_ttm_placement(cirrusbo, TTM_PL_FLAG_VRAM | TTM_PL_FLAG_SYSTEM);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue