Commit dcd04a00 authored by David Eger's avatar David Eger Committed by Linus Torvalds

[PATCH] rivafb: fb accel capabilities

Here's the fb accel capabilities patch for rivafb.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 8aacba7b
......@@ -1665,7 +1665,12 @@ static int __devinit riva_set_fbinfo(struct fb_info *info)
{
unsigned int cmap_len;
info->flags = FBINFO_FLAG_DEFAULT;
info->flags = FBINFO_DEFAULT
| FBINFO_HWACCEL_XPAN
| FBINFO_HWACCEL_YPAN
| FBINFO_HWACCEL_COPYAREA
| FBINFO_HWACCEL_FILLRECT
| FBINFO_HWACCEL_IMAGEBLIT;
info->var = rivafb_default_var;
info->fix.visual = (info->var.bits_per_pixel == 8) ?
FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_DIRECTCOLOR;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment