xf86-video-modesetting: src/driver.c src/driver.h
Dave Airlie
airlied at kemper.freedesktop.org
Mon Oct 3 08:09:28 PDT 2011
src/driver.c | 2 +-
src/driver.h | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
New commits:
commit cab577dbb308c18929aecab24d1a1801eefcaf30
Author: Dave Airlie <airlied at redhat.com>
Date: Mon Oct 3 16:09:12 2011 +0100
fix fb_id for dirty reporting
diff --git a/src/driver.c b/src/driver.c
index bde690c..7df587e 100644
--- a/src/driver.c
+++ b/src/driver.c
@@ -327,7 +327,7 @@ static void dispatch_dirty(ScreenPtr pScreen)
}
/* TODO query connector property to see if this is needed */
- ret = drmModeDirtyFB(ms->fd, ms->fb_id, clip, num_cliprects);
+ ret = drmModeDirtyFB(ms->fd, ms->drmmode.fb_id, clip, num_cliprects);
if (ret) {
if (ret == -EINVAL) {
ms->dirty_enabled = FALSE;
diff --git a/src/driver.h b/src/driver.h
index 494ca0c..2e51089 100644
--- a/src/driver.h
+++ b/src/driver.h
@@ -46,7 +46,6 @@ typedef struct
typedef struct _modesettingRec
{
int fd;
- unsigned int fb_id;
EntPtr entityPrivate;
More information about the xorg-commit
mailing list