]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2d1da584993bc5187e76563e34f4bd6dad32074c
tree849fd2cf24563eace23d9d41c9480f7a03daa2e8
parent76ea4d9bb5c59df95b89ea43030585f095f33d91
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