From: Dave Airlie Date: Tue, 11 Nov 2008 07:56:16 +0000 (+1000) Subject: drm/radeon: map registers at load time X-Git-Tag: v2.6.28-rc5~87^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78538bf14995a136c2d9a22159ada49937359119;p=pandora-kernel.git 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 Signed-off-by: Dave Airlie --- Reading git-diff-tree failed