|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: [PATCH 2/2] fbif: Add offset in resize event
fbfront: Add offset in resize event
diff -r 1327b9dcc63a drivers/xen/fbfront/xenfb.c
--- a/drivers/xen/fbfront/xenfb.c Wed Mar 26 09:07:52 2008 +0000
+++ b/drivers/xen/fbfront/xenfb.c Wed Mar 26 11:08:36 2008 +0000
@@ -504,6 +504,7 @@ static int xenfb_set_par(struct fb_info
xenfb_info->resize.height = info->var.yres;
xenfb_info->resize.stride = info->fix.line_length;
xenfb_info->resize.depth = info->var.bits_per_pixel;
+ xenfb_info->resize.offset = 0;
xenfb_info->resize_dpy = 1;
spin_unlock_irqrestore(&xenfb_info->resize_lock, flags);
return 0;
diff -r 1327b9dcc63a include/xen/interface/io/fbif.h
--- a/include/xen/interface/io/fbif.h Wed Mar 26 09:07:52 2008 +0000
+++ b/include/xen/interface/io/fbif.h Wed Mar 26 11:08:36 2008 +0000
@@ -63,6 +63,7 @@ struct xenfb_resize
int32_t height; /* height in pixels */
int32_t stride; /* stride in bytes */
int32_t depth; /* depth in bits */
+ int32_t offset; /* offset of the framebuffer in bytes */
};
#define XENFB_OUT_EVENT_SIZE 40
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|