diff options
author | Dave Airlie <airlied@linux.ie> | 2008-11-11 17:56:16 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2008-11-11 17:56:16 +1000 |
commit | 78538bf14995a136c2d9a22159ada49937359119 (patch) | |
tree | 027b2dfe181d7c1ea3e243ae79336e700756a975 /include/drm | |
parent | 5d8e6bb7a20b6206e1fe44565efc383a941b81fa (diff) | |
download | linux-78538bf14995a136c2d9a22159ada49937359119.tar.bz2 |
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>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions