dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Convert VRAM helpers to GEM object functions
@ 2019-06-28 12:26 Thomas Zimmermann
  2019-06-28 12:26 ` [PATCH 1/4] drm/vram: Set GEM object functions for PRIME Thomas Zimmermann
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Thomas Zimmermann @ 2019-06-28 12:26 UTC (permalink / raw)
  To: kraxel, airlied, daniel, maarten.lankhorst, maxime.ripard, sean,
	sam, dri-devel, z.liuxinliang, zourongrong, kong.kongxinwei,
	puck.chen
  Cc: Thomas Zimmermann

The PRIME callback functions in struct drm_driver are deprecated in
favor of their counterparts in struct drm_gem_object_funcs.

This patch set introduces GEM object functions for VRAM helpers and
converts over the free and PRIME functions. Drivers affected by this
change, namely bochs and hibmc, are adapted accordingly.

Thomas Zimmermann (4):
  drm/vram: Set GEM object functions for PRIME
  drm/bochs: Remove PRIME helpers from driver structure
  drm/hibmc: Leave struct drm_driver.gem_free_object_unlocked to NULL
  drm/vram: Remove driver callback functions for PRIME

 Documentation/gpu/todo.rst                    |   4 +-
 drivers/gpu/drm/bochs/bochs_drv.c             |   1 -
 drivers/gpu/drm/drm_gem_vram_helper.c         | 188 +++++++-----------
 .../gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c   |   2 -
 include/drm/drm_gem_vram_helper.h             |  25 +--
 5 files changed, 73 insertions(+), 147 deletions(-)

--
2.21.0

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-07-02  8:03 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-28 12:26 [PATCH 0/4] Convert VRAM helpers to GEM object functions Thomas Zimmermann
2019-06-28 12:26 ` [PATCH 1/4] drm/vram: Set GEM object functions for PRIME Thomas Zimmermann
2019-07-01  6:32   ` Gerd Hoffmann
2019-07-01  7:28     ` Thomas Zimmermann
2019-07-01  8:48       ` Gerd Hoffmann
2019-07-01 14:45         ` Thomas Zimmermann
2019-07-02  5:44           ` Gerd Hoffmann
2019-06-28 12:26 ` [PATCH 2/4] drm/bochs: Remove PRIME helpers from driver structure Thomas Zimmermann
2019-06-28 12:26 ` [PATCH 3/4] drm/hibmc: Leave struct drm_driver.gem_free_object_unlocked to NULL Thomas Zimmermann
2019-06-28 16:55   ` Daniel Vetter
2019-07-02  8:03     ` Thomas Zimmermann
2019-06-28 12:26 ` [PATCH 4/4] drm/vram: Remove driver callback functions for PRIME Thomas Zimmermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox