All of lore.kernel.org
 help / color / mirror / Atom feed
* (no subject)
@ 2019-07-22 20:35 Sam Ravnborg
  2019-07-22 20:35 ` [PATCH v3 1/4] drm/via: drop use of DRM(READ|WRITE) macros Sam Ravnborg
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Sam Ravnborg @ 2019-07-22 20:35 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

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.

v3:
- Use static inline functions for the read/write operations (Emil)
- Use dedicated *_mask_or() and *_mask_and() (Emil)
- Replace DRM_WAIT_ON in same path that introduces VIA_WAIT_ON (Emil)
- Collected r-b's
- Changelog adjustments
- Rebased on top of drm-misc-next

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: copy DRM_WAIT_ON as VIA_WAIT_ON and use it
      drm/via: make via_drv.h self-contained
      drm/via: drop use of drmP.h

 drivers/gpu/drm/via/via_dma.c      | 43 +++++++++++---------
 drivers/gpu/drm/via/via_dmablit.c  | 41 ++++++++++---------
 drivers/gpu/drm/via/via_drv.c      |  7 +++-
 drivers/gpu/drm/via/via_drv.h      | 83 +++++++++++++++++++++++++++++++++++---
 drivers/gpu/drm/via/via_irq.c      | 54 +++++++++++++------------
 drivers/gpu/drm/via/via_map.c      |  6 ++-
 drivers/gpu/drm/via/via_mm.c       |  7 +++-
 drivers/gpu/drm/via/via_verifier.c | 22 +++++-----
 drivers/gpu/drm/via/via_video.c    |  5 ++-
 9 files changed, 182 insertions(+), 86 deletions(-)


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

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

end of thread, other threads:[~2019-07-22 20:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-22 20:35 (no subject) Sam Ravnborg
2019-07-22 20:35 ` [PATCH v3 1/4] drm/via: drop use of DRM(READ|WRITE) macros Sam Ravnborg
2019-07-22 20:35 ` [PATCH v3 2/4] drm/via: copy DRM_WAIT_ON as VIA_WAIT_ON and use it Sam Ravnborg
2019-07-22 20:35 ` [PATCH v3 3/4] drm/via: make via_drv.h self-contained Sam Ravnborg
2019-07-22 20:35 ` [PATCH v3 4/4] drm/via: drop use of drmP.h Sam Ravnborg
2019-07-22 20:38 ` [PATCH v3 0/4] drm/via: drop use of deprecated headers drmP.h and drm_os_linux.h Sam Ravnborg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.