X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fvideo%2Faty%2Fradeon_accel.c;h=8da5e5ab8547edcc955e1c22658aa096ac0f8bc3;hb=f3179748a157c21d44d929fd3779421ebfbeaa93;hp=a547e5d4c8bfee248e1722a285237aee93b49cf1;hpb=f7a8db89c1f42e504bb12d2ae399cd96f755a7db;p=linux-2.6-omap-h63xx.git diff --git a/drivers/video/aty/radeon_accel.c b/drivers/video/aty/radeon_accel.c index a547e5d4c8b..8da5e5ab854 100644 --- a/drivers/video/aty/radeon_accel.c +++ b/drivers/video/aty/radeon_accel.c @@ -256,7 +256,8 @@ void radeonfb_imageblit(struct fb_info *info, const struct fb_image *image) return; /* We only do 1 bpp color expansion for now */ - if (info->flags & FBINFO_HWACCEL_DISABLED || image->depth != 1) + if (!accel_cexp || + (info->flags & FBINFO_HWACCEL_DISABLED) || image->depth != 1) goto fallback; /* Fallback if running out of the screen. We may do clipping