alistair23-linux/drivers/gpu/drm/radeon
Dave Airlie 78538bf149 drm/radeon: map registers at load time
Now that the radeon driver has suspend/resume functions, it needs to map its
registers at load time or it will likely crash if a suspend operation occurs
before the driver has been initialized.

This patch moves the register mapping code from firstopen to load and makes
the mapping into a _DRM_DRIVER one so that the core won't remove it at
lastclose time.

Fixes (at least partially) kernel bz #11891.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Dave Airlie <airlied@linux.ie>
2008-11-11 17:56:16 +10:00
..
Makefile
r300_cmdbuf.c r300: Fix cliprect emit 2008-08-25 06:35:12 +10:00
r300_reg.h radeon: fix some hard lockups on r3/4/500s 2008-08-25 06:34:58 +10:00
radeon_cp.c drm/radeon: map registers at load time 2008-11-11 17:56:16 +10:00
radeon_drv.c drm: Rework vblank-wait handling to allow interrupt reduction. 2008-10-18 07:10:11 +10:00
radeon_drv.h drm/radeon: map registers at load time 2008-11-11 17:56:16 +10:00
radeon_ioc32.c
radeon_irq.c drm: Rework vblank-wait handling to allow interrupt reduction. 2008-10-18 07:10:11 +10:00
radeon_mem.c
radeon_microcode.h
radeon_state.c drm: kill drm_device->irq 2008-10-18 07:10:53 +10:00