All of lore.kernel.org
 help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@eu.citrix.com>
To: xen-devel@lists.xensource.com
Subject: Re: [PATCH 2/2] fbif: Add offset in resize event
Date: Wed, 26 Mar 2008 11:10:51 +0000	[thread overview]
Message-ID: <20080326111051.GC5636@implementation.uk.xensource.com> (raw)
In-Reply-To: <20080326110940.GA5636@implementation.uk.xensource.com>

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

  parent reply	other threads:[~2008-03-26 11:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-26 11:09 [PATCH 0/2] fbif: Add offset in resize event Samuel Thibault
2008-03-26 11:10 ` Samuel Thibault
2008-03-26 11:11   ` [PATCH 1/2] " Samuel Thibault
2008-03-26 13:21   ` Re: [PATCH 0/2] " Markus Armbruster
2008-03-26 13:29     ` Pat Campbell
2008-03-26 11:10 ` Samuel Thibault [this message]
2008-03-26 11:12   ` [PATCH 2/2] " Samuel Thibault
2008-03-26 13:22     ` Markus Armbruster
2008-03-26 11:16 ` [PATCH 0/2] " Keir Fraser
2008-03-26 11:24   ` Samuel Thibault
2008-03-26 11:26     ` Keir Fraser
2008-03-26 13:25   ` Markus Armbruster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080326111051.GC5636@implementation.uk.xensource.com \
    --to=samuel.thibault@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.