linux_dsm_epyc7002/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 drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
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 drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
radeon_irq.c drm: Rework vblank-wait handling to allow interrupt reduction. 2008-10-18 07:10:11 +10:00
radeon_mem.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
radeon_microcode.h drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
radeon_state.c drm: kill drm_device->irq 2008-10-18 07:10:53 +10:00