linux/drivers/gpu/drm/i810
Daniel Vetter 40c34d042d drm/i810: don't acces hw regs in lastclose
i810 uses a userspace provided mmio map using the drm core map
infrastructure. By the time we reach lastclose, this is all gone
and our mmio_map pointer points at freed memory. Depending upon
luck that still works, most often it just oopses.

Aside: drm maps aren't refcounted, so userspace can essentially oops
the kernel any time it wants to. Who cares.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-12-22 19:54:58 +01:00
..
i810_dma.c drm/i810: don't acces hw regs in lastclose 2011-12-22 19:54:58 +01:00
i810_drv.c drm/i810: cleanup reclaim_buffers 2011-12-22 19:54:43 +01:00
i810_drv.h drm/i810: cleanup reclaim_buffers 2011-12-22 19:54:43 +01:00
Makefile drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00