[PATCH v1 2/2] drm/r128: drop use of drmP.h

Sam Ravnborg sam at ravnborg.org
Wed Jun 5 18:45:53 UTC 2019


On Wed, Jun 05, 2019 at 06:47:44PM +0200, Daniel Vetter wrote:
> On Wed, Jun 05, 2019 at 04:13:21PM +0200, Sam Ravnborg wrote:
> > Drop use of the deprecated drmP.h header file.
> > Replace it with relevant include files.
> > Sort include files in files touched.
> > 
> > Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
> > Cc: David Airlie <airlied at linux.ie>
> > Cc: Daniel Vetter <daniel at ffwll.ch>
> 
> On both patches:
> 
> Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Thanks,
pushed to drm-misc-next.


Still a long way to go:
$ cd drivers/gpu/drm
$ git grep drmP | wc -l
492

So who is it that today uses drmP - list the 15 largest users:
(There are likely smarter ways to count it, but this works for me)
$ git grep drmP | cut -d '/' -f 1 | uniq -c | sort -n | tail -n 15
      8 arm
      8 via
      8 xen
      9 udl
     10 virtio
     11 meson
     12 mediatek
     13 vmwgfx
     15 rockchip
     16 sti
     18 sun4i
     24 exynos
     27 nouveau
    103 radeon
    110 amd

nouveau is already done, pending merge from their tree.
sti and exynos awaits review feedback. So this is another 67 uses gone.

When insanity hits me again I will try to focus on the unmaintained
parts. Assuming someone else care about the maintained parts and will
follow the example.

	Sam


More information about the dri-devel mailing list