]> 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)
commit19a2c608a7d4e81e7f5a84efa4a398cdcea398fc
tree849fd2cf24563eace23d9d41c9480f7a03daa2e8
parentfcd482c7f584e7fd5f754df9d2672661b9a097e7
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