[PATCH] drm fbdev mmio handling

2010-12-01 Thread James Simmons
This patch is against drm-core-next. In the fbdev api you can mmap the mmio register region only if fb_var_screeninfo accel_flags is not set. Because exposing the mmio region via the fbdev layer outside of the drm layer is a bad idea this patch disables this mmapping by setting var->accel_flag

[PATCH] drm fbdev mmio handling

2010-12-01 Thread James Simmons
This patch is against drm-core-next. In the fbdev api you can mmap the mmio register region only if fb_var_screeninfo accel_flags is not set. Because exposing the mmio region via the fbdev layer outside of the drm layer is a bad idea this patch disables this mmapping by setting var->accel_flag