dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] drm/via: drop use of deprecated headers drmP.h and drm_os_linux.h
@ 2019-07-20  8:45 Sam Ravnborg
  2019-07-20  8:45 ` [PATCH v2 1/4] drm/via: drop use of DRM(READ|WRITE) macros Sam Ravnborg
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Sam Ravnborg @ 2019-07-20  8:45 UTC (permalink / raw)
  To: dri-devel, openchrome-devel
  Cc: Thomas Hellstrom, Gustavo A. R. Silva, David Airlie,
	Daniel Vetter, Michel Dänzer, Kevin Brace, Mike Marshall,
	Ira Weiny, Emil Velikov

This is some janitorial updates to the via driver
that is required to get rid of deprecated headers
in the drm subsystem.

The first three patches prepare for the removal of drmP.h.
The last patch remove use of drmP.h and replace with necessary
include files to fix build.

Build tested with various configs and various architectures.

I had preferred that the via driver was replaced by the
openchrome driver, but until we have it then we need
to deal with the legacy via driver when removing old cruft
in the drm subsystem.

v2:
- Add a copy of DRM_WAIT_ON to the via driver, keeping
  the changes to this legacy driver to a minimum.
  This also gives much more confidence that the
  driver continues to work as there is no changes
  in logic. Therefore dropped "RFT".
- Added Cc: Michel Dänzer <michel@daenzer.net> to all
  patches, as Michael have commented on the series.

	Sam

Sam Ravnborg (4):
      drm/via: drop use of DRM(READ|WRITE) macros
      drm/via: add VIA_WAIT_ON()
      drm/via: make via_drv.h self-contained
      drm/via: drop use of drmP.h

 drivers/gpu/drm/via/via_dma.c      |  9 +++++-
 drivers/gpu/drm/via/via_dmablit.c  | 17 +++++++-----
 drivers/gpu/drm/via/via_drv.c      |  7 +++--
 drivers/gpu/drm/via/via_drv.h      | 57 ++++++++++++++++++++++++++++++++++----
 drivers/gpu/drm/via/via_irq.c      |  8 ++++--
 drivers/gpu/drm/via/via_map.c      |  6 +++-
 drivers/gpu/drm/via/via_mm.c       |  7 ++++-
 drivers/gpu/drm/via/via_verifier.c | 10 +++----
 drivers/gpu/drm/via/via_video.c    |  5 ++--
 9 files changed, 99 insertions(+), 27 deletions(-)


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

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

end of thread, other threads:[~2019-07-23 19:01 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-20  8:45 [PATCH v2 0/6] drm/via: drop use of deprecated headers drmP.h and drm_os_linux.h Sam Ravnborg
2019-07-20  8:45 ` [PATCH v2 1/4] drm/via: drop use of DRM(READ|WRITE) macros Sam Ravnborg
2019-07-22 15:38   ` Emil Velikov
2019-07-22 16:17     ` Sam Ravnborg
2019-07-22 16:27       ` Emil Velikov
2019-07-22 18:27         ` Sam Ravnborg
2019-07-23 11:49           ` Emil Velikov
2019-07-23 19:01             ` Sam Ravnborg
2019-07-20  8:45 ` [PATCH v2 2/4] drm/via: add VIA_WAIT_ON() Sam Ravnborg
2019-07-22 15:46   ` Emil Velikov
2019-07-22 16:18     ` Sam Ravnborg
2019-07-20  8:45 ` [PATCH v2 3/4] drm/via: make via_drv.h self-contained Sam Ravnborg
2019-07-22 16:21   ` Emil Velikov
2019-07-20  8:45 ` [PATCH v2 4/4] drm/via: drop use of drmP.h Sam Ravnborg
2019-07-22 16:22   ` Emil Velikov

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