Message ID | 20220713170202.1798216-1-sam@ravnborg.org (mailing list archive) |
---|---|
Headers | show |
Series | drm/via: Make via a single file driver | expand |
Hi Sam, Acked-by: Thomas Zimmermann <tzimmermann@suse.de> for the new changes. Best regards Thomas Am 13.07.22 um 19:01 schrieb Sam Ravnborg: > We have an upcoming openchrome driver for VIA where some > of the files conflicts with the existing via driver. > > It is not acceptable to just delete the existing DRI1 > based driver as there are most likely users out there, > so a different approach was required. > > It was disccussed what to do and the least invasive > solution was to keep the DRI1 driver in the current > directory as a single file. > > Thomas Zimmermann already posted a patch to do the > same but it attemped to have a single driver > for the DRI1 and the upcoming new driver. > > This patchset embeds the files one by one to make the > diffs remotely readable and end up with an independent > DRI1 driver. > > The driver was built tested for each step. > > v2: > - Drop the rename of the driver - keep the name via. > We can name the new driver viakms or openchrome so > there is no confusion in userspace if the old or > the new driver is used. > - Add a few patches to make via_3d_reg more readable, > which has the nice side-effect that it is now checkpatch > clean. > - Added Kevin as cc: on all patches > > This set of patches should make it simpler to add the new > openchrome driver, and I am happy to assist if there are > open questions how to do it. > > Note: The patches has seen zero run-time testing - I only > know they builds in my setup (for several archs). > > Sam > > Sam Ravnborg (13): > drm/via: Rename via_drv to via_dri1 > drm/via: Embed via_dma in via_dri1 > drm/via: Embed via_map in via_dri1 > drm/via: Embed via_mm in via_dri1 > drm/via: Embed via_video in via_dri1 > drm/via: Embed via_irq in via_dri1 > drm/via: Embed via_dmablit in via_dri1 > drm/via: Embed via_verifier in via_dri1 > drm/via: Embed via_drv.h in via_dri1 > drm/via: Update to the latest via_3d_reg header > drm/via: Use SPDX tag for MIT license in via_3d_reg header > drm/via: Make macros readable in the via_3d_reg header > drm/via: Fix style issues in via_3d_reg header > > drivers/gpu/drm/via/Makefile | 2 +- > drivers/gpu/drm/via/via_3d_reg.h | 349 ++-- > drivers/gpu/drm/via/via_dma.c | 744 -------- > drivers/gpu/drm/via/via_dmablit.c | 807 -------- > drivers/gpu/drm/via/via_dmablit.h | 140 -- > drivers/gpu/drm/via/via_dri1.c | 3630 ++++++++++++++++++++++++++++++++++++ > drivers/gpu/drm/via/via_drv.c | 124 -- > drivers/gpu/drm/via/via_drv.h | 229 --- > drivers/gpu/drm/via/via_irq.c | 388 ---- > drivers/gpu/drm/via/via_map.c | 132 -- > drivers/gpu/drm/via/via_mm.c | 241 --- > drivers/gpu/drm/via/via_verifier.c | 1110 ----------- > drivers/gpu/drm/via/via_verifier.h | 62 - > drivers/gpu/drm/via/via_video.c | 94 - > 14 files changed, 3866 insertions(+), 4186 deletions(-) > >