Return EBUSY when attempting to addmap a DRM_SHM area with a lock in it if
authorEric Anholt <anholt@freebsd.org>
Thu, 6 Nov 2003 04:48:06 +0000 (04:48 +0000)
committerEric Anholt <anholt@freebsd.org>
Thu, 6 Nov 2003 04:48:06 +0000 (04:48 +0000)
commit1f7598245af7e73b34130a44fbaac230e29d7aad
tree050abd77d041309e17a37649ed41e2e3cc2d03ae
parent2c1172a31794e20f7ba1a2ab234d4dab2f84005b
Return EBUSY when attempting to addmap a DRM_SHM area with a lock in it if
    dev->lock.hw_lock is already set. This fixes the case of two X Servers
    running on the same head on different VTs with interface 1.1, by making
    the 2nd head fail to inizialize like before.
bsd-core/drm_bufs.c
bsd/drm_bufs.h
linux-core/drm_bufs.c
linux/drm_bufs.h