drm/radeon: deal with errors from framebuffer init path.
authorDave Airlie <airlied@redhat.com>
Tue, 6 Mar 2012 10:44:40 +0000 (10:44 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 7 Mar 2012 14:07:40 +0000 (14:07 +0000)
commitaaefcd4284a5399641ed02ac3e696b5e50ce185e
tree849fd2cf24563eace23d9d41c9480f7a03daa2e8
parent0be70439f2dcf4a2048e4b02f23f2c239b35a110
drm/radeon: deal with errors from framebuffer init path.

We've been getting occasional oops running a 32-bit kernel on a certain
system in our RHEL test hw. It appears that we fail to get sufficent ioremap
space for the framebuffer, and this leads to an oops.

This patch should fix the oops and leave a message in the logs we can
check for.

A future fix would probably to resize the console to a size that we can
ioremap.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_display.c
drivers/gpu/drm/radeon/radeon_fb.c
drivers/gpu/drm/radeon/radeon_mode.h