[PULL] vidmem cleanup series (was Re: [PATCH 09/12] xfree86: Remove leaky /dev/mem checks from xf86OSInitVidMem)

Adam Jackson ajax at redhat.com
Wed Sep 17 07:58:54 PDT 2014


On Thu, 2014-09-11 at 18:34 -0700, Keith Packard wrote:
> Adam Jackson <ajax at redhat.com> writes:
> 
> > This is mostly a no-op, the checks didn't have much effect since
> > pciaccess didn't end up using the fd we opened.  Except for OpenBSD,
> > where you have to pass that in from above, which is sort of a weird API
> > decision.  So this will break there until libpciaccess is made less
> > dumb.
> 
> I'm probably missing something, but what's the status of this series?

I'll get back to the last four of this series at some point, but in the
meantime:

The following changes since commit d3427717f2c6a473dc3d20631dff653e4e37228e:

  xwayland: Snap damage reports to the bounding box (2014-09-11 23:40:30 -0600)

are available in the git repository at:

  ssh://people.freedesktop.org/~ajax/xserver.git vidmem-cleanup

for you to fetch changes up to 30dcc10f6c9c4bacbc0e3652917c298ca9fb3898:

  xfree86: Clean up some more alpha awareness (2014-09-16 11:58:53 -0400)

----------------------------------------------------------------
Adam Jackson (8):
      xfree86: Remove xf86{Map,Unmap}VidMem
      xfree86: Remove {set,undo}WC from VidMemInfo
      xfree86: Remove xf86LinearVidMem
      int10: Port off xf86ReadBIOS
      xfree86: Remove xf86ReadBIOS
      xfree86: Remove xf86CheckMTRR
      xfree86: Remove the memory of MTRR awareness
      xfree86: Clean up some more alpha awareness

 configure.ac                              |  23 --
 hw/xfree86/doc/README.DRIcomp             |   3 -
 hw/xfree86/doc/Registry                   |   1 -
 hw/xfree86/int10/generic.c                |  16 +-
 hw/xfree86/man/xorg.conf.man              |   6 -
 hw/xfree86/os-support/bsd/Makefile.am     |   4 +-
 hw/xfree86/os-support/bsd/alpha_video.c   | 434 -----------------------------
 hw/xfree86/os-support/bsd/arm_video.c     | 284 -------------------
 hw/xfree86/os-support/bsd/bsd_axp.c       |  71 -----
 hw/xfree86/os-support/bsd/i386_video.c    | 562 +------------------------------------
 hw/xfree86/os-support/bsd/ppc_video.c     |  56 ----
 hw/xfree86/os-support/bsd/sparc64_video.c |  40 ---
 hw/xfree86/os-support/hurd/Makefile.am    |   2 +-
 hw/xfree86/os-support/hurd/hurd_mmap.c    |  94 -------
 hw/xfree86/os-support/hurd/hurd_video.c   |  65 -----
 hw/xfree86/os-support/linux/Makefile.am   |  10 +-
 hw/xfree86/os-support/linux/int10/linux.c |  19 +-
 hw/xfree86/os-support/linux/lnx_axp.c     | 103 -------
 hw/xfree86/os-support/linux/lnx_video.c   | 676 ---------------------------------------------
 hw/xfree86/os-support/shared/bios_mmap.c  | 135 ---------
 hw/xfree86/os-support/shared/vidmem.c     | 205 --------------
 hw/xfree86/os-support/shared/xf86Axp.c    |  60 ----
 hw/xfree86/os-support/shared/xf86Axp.h    |  33 ---
 hw/xfree86/os-support/solaris/sun_vid.c   | 140 ----------
 hw/xfree86/os-support/stub/Makefile.am    |   1 -
 hw/xfree86/os-support/stub/stub_bios.c    |  12 -
 hw/xfree86/os-support/xf86OSpriv.h        |  11 -
 hw/xfree86/os-support/xf86_OSproc.h       |  26 --
 include/dix-config.h.in                   |   3 -
 include/xorg-config.h.in                  |   6 -
 30 files changed, 37 insertions(+), 3064 deletions(-)
 delete mode 100644 hw/xfree86/os-support/bsd/bsd_axp.c
 delete mode 100644 hw/xfree86/os-support/hurd/hurd_mmap.c
 delete mode 100644 hw/xfree86/os-support/linux/lnx_axp.c
 delete mode 100644 hw/xfree86/os-support/shared/bios_mmap.c
 delete mode 100644 hw/xfree86/os-support/shared/xf86Axp.c
 delete mode 100644 hw/xfree86/os-support/shared/xf86Axp.h
 delete mode 100644 hw/xfree86/os-support/stub/stub_bios.c

- ajax



More information about the xorg-devel mailing list