[PATCH v3 0/3] drm/vram-helper: Various cleanups
Thomas Zimmermann
tzimmermann at suse.de
Mon Jan 6 10:36:43 UTC 2020
A number of cleanups that I wanted to apply for some time. The first
two patches simplify the public interface. The third patch adds support
for struct drm_driver.gem_create_object. All tested by running fbdev,
X11 and Weston on ast HW.
v3:
* drm_gem_vram_create(): test for allocation failure before
update
v2:
* make drm_gem_vram_create() still work if GEM object is not
first in struct
Thomas Zimmermann (3):
drm/vram-helper: Remove interruptible flag from public interface
drm/vram-helper: Remove BO device from public interface
drm/vram-helper: Support struct drm_driver.gem_create_object
drivers/gpu/drm/ast/ast_mode.c | 3 +-
drivers/gpu/drm/drm_gem_vram_helper.c | 47 +++++++++++----------
drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c | 2 +-
drivers/gpu/drm/mgag200/mgag200_cursor.c | 3 +-
drivers/gpu/drm/mgag200/mgag200_drv.c | 3 +-
include/drm/drm_gem_vram_helper.h | 6 +--
6 files changed, 29 insertions(+), 35 deletions(-)
--
2.24.1
More information about the dri-devel
mailing list