xf86-video-amdgpu: Branch 'master' - 2 commits

Michel Dänzer daenzer at kemper.freedesktop.org
Tue Aug 23 02:49:27 UTC 2016


 src/amdgpu_dri2.c     |    2 +-
 src/drmmode_display.h |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 73c8dc000ad6b2b53ba3aa7155f5e8f6b55623b7
Author: Qiang Yu <Qiang.Yu at amd.com>
Date:   Mon Aug 22 19:13:26 2016 +0800

    DRI2: Fix amdgpu_dri2_exchange_buffers width/height copy'n'paste error
    
    Signed-off-by: Qiang Yu <Qiang.Yu at amd.com>
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>

diff --git a/src/amdgpu_dri2.c b/src/amdgpu_dri2.c
index bd04256..1cbf1eb 100644
--- a/src/amdgpu_dri2.c
+++ b/src/amdgpu_dri2.c
@@ -660,7 +660,7 @@ amdgpu_dri2_exchange_buffers(DrawablePtr draw, DRI2BufferPtr front,
 
 	region.extents.x1 = region.extents.y1 = 0;
 	region.extents.x2 = front_priv->pixmap->drawable.width;
-	region.extents.y2 = front_priv->pixmap->drawable.width;
+	region.extents.y2 = front_priv->pixmap->drawable.height;
 	region.data = NULL;
 	DamageRegionAppend(&front_priv->pixmap->drawable, &region);
 
commit 5a4d3267ac3823fe58b51b0b9075b82375d7180c
Author: Michel Dänzer <michel.daenzer at amd.com>
Date:   Wed Aug 17 18:57:01 2016 +0900

    Remove unused lut_r/g/b arrays from drmmode_crtc_private_rec
    
    Fixes: 1091f28e1fa2 ("Remove drmmode_load_palette")
    Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

diff --git a/src/drmmode_display.h b/src/drmmode_display.h
index 617f2bc..2e62a8c 100644
--- a/src/drmmode_display.h
+++ b/src/drmmode_display.h
@@ -92,7 +92,6 @@ typedef struct {
 	uint32_t dpms_last_seq;
 	int dpms_last_fps;
 	uint32_t interpolated_vblanks;
-	uint16_t lut_r[256], lut_g[256], lut_b[256];
 	int prime_pixmap_x;
 
 	/* Modeset needed for DPMS on */


More information about the xorg-commit mailing list