[Bug 76213] xfce4 panel is not rendered properly on radeon southern islands

2014-08-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=76213

--- Comment #7 from Michel Dänzer mic...@daenzer.net ---
Does this still happen with glamor from xserver 1.16.0 or later?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 68524] radeonsi with glamor has very poor performance with primitives drawing

2014-08-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=68524

Michel Dänzer mic...@daenzer.net changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #68 from Michel Dänzer mic...@daenzer.net ---
glamor from xserver 1.16.0 or particularly from current xserver Git master has
greatly improved performance. gtkperf completes in under 3 seconds for me.

Any remaining issues should be tracked in separate reports.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 63397] Screen corruption with LibreOffice/OpenOffice (with glamor enabled)

2014-08-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=63397

Michel Dänzer mic...@daenzer.net changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #16 from Michel Dänzer mic...@daenzer.net ---
I think this should be fixed, please reopen if it still happens with glamor
from xserver 1.16.0 or later.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 52407] [GLAMOR][Zaphod] xserver segfaults on startup (with backtrace).

2014-08-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=52407

--- Comment #5 from Michel Dänzer mic...@daenzer.net ---
Is this still an issue with xf86-video-ati 7.4.0 or later and glamor from
xserver 1.16.0 or later?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


[PATCH 1/4] radeon: drop redundant radeon_drm.h includes

2014-08-04 Thread Andreas Boll
Already included via radeon.h.

Signed-off-by: Andreas Boll andreas.boll@gmail.com
---
 src/cayman_accel.c| 1 -
 src/drmmode_display.c | 1 -
 src/evergreen_accel.c | 1 -
 src/r6xx_accel.c  | 1 -
 src/radeon_exa.c  | 1 -
 5 files changed, 5 deletions(-)

diff --git a/src/cayman_accel.c b/src/cayman_accel.c
index c1f74cb..a754610 100644
--- a/src/cayman_accel.c
+++ b/src/cayman_accel.c
@@ -36,7 +36,6 @@
 #include cayman_reg.h
 #include evergreen_state.h
 
-#include radeon_drm.h
 #include radeon_vbo.h
 #include radeon_exa_shared.h
 
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index c366203..ef5dfbe 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -36,7 +36,6 @@
 #include xf86cmap.h
 #include radeon.h
 #include radeon_reg.h
-#include radeon_drm.h
 #include sarea.h
 
 #include drmmode_display.h
diff --git a/src/evergreen_accel.c b/src/evergreen_accel.c
index 3a76a71..41ebc1a 100644
--- a/src/evergreen_accel.c
+++ b/src/evergreen_accel.c
@@ -37,7 +37,6 @@
 #include evergreen_reg.h
 #include evergreen_state.h
 
-#include radeon_drm.h
 #include radeon_vbo.h
 #include radeon_exa_shared.h
 
diff --git a/src/r6xx_accel.c b/src/r6xx_accel.c
index 6bbf663..a97c84b 100644
--- a/src/r6xx_accel.c
+++ b/src/r6xx_accel.c
@@ -37,7 +37,6 @@
 #include r600_reg.h
 #include r600_state.h
 
-#include radeon_drm.h
 #include radeon_vbo.h
 #include radeon_exa_shared.h
 
diff --git a/src/radeon_exa.c b/src/radeon_exa.c
index cf368d5..0d6cd24 100644
--- a/src/radeon_exa.c
+++ b/src/radeon_exa.c
@@ -36,7 +36,6 @@
 #include radeon.h
 #include radeon_reg.h
 #include r600_reg.h
-#include radeon_drm.h
 #include radeon_bo_helper.h
 #include radeon_probe.h
 #include radeon_version.h
-- 
2.0.1

___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


[PATCH 2/4] radeon: move RADEON_TILING_{MASK, LINEAR} from radeon_drm.h to radeon.h

2014-08-04 Thread Andreas Boll
This allows us to drop radeon_drm.h from xf86-video-ati and use instead
radeon_drm.h from libdrm.

Signed-off-by: Andreas Boll andreas.boll@gmail.com
---
 src/radeon.h | 2 ++
 src/radeon_drm.h | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/radeon.h b/src/radeon.h
index eac6ed5..6123cc2 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -820,5 +820,7 @@ RADEONLog2(int val)
 #endif
 }
 
+#define RADEON_TILING_MASK 0xff
+#define RADEON_TILING_LINEAR   0x0
 
 #endif /* _RADEON_H_ */
diff --git a/src/radeon_drm.h b/src/radeon_drm.h
index 2bbd8fa..042e822 100644
--- a/src/radeon_drm.h
+++ b/src/radeon_drm.h
@@ -800,8 +800,6 @@ struct drm_radeon_gem_create {
uint32_tflags;
 };
 
-#define RADEON_TILING_MASK 0xff
-#define RADEON_TILING_LINEAR   0x0
 #define RADEON_TILING_MACRO0x1
 #define RADEON_TILING_MICRO0x2
 #define RADEON_TILING_SWAP_16BIT   0x4
-- 
2.0.1

___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


[PATCH 3/4] radeon: drop radeon_drm.h

2014-08-04 Thread Andreas Boll
Now we use libdrm's radeon_drm.h.

Signed-off-by: Andreas Boll andreas.boll@gmail.com
---
 src/Makefile.am  |   1 -
 src/radeon_drm.h | 918 ---
 2 files changed, 919 deletions(-)
 delete mode 100644 src/radeon_drm.h

diff --git a/src/Makefile.am b/src/Makefile.am
index e23dc1d..9ff1ffb 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -88,7 +88,6 @@ EXTRA_DIST = \
bicubic_table.h \
bicubic_table.py \
radeon_bo_helper.h \
-   radeon_drm.h \
radeon_exa_render.c \
radeon_exa_funcs.c \
radeon_exa_shared.h \
diff --git a/src/radeon_drm.h b/src/radeon_drm.h
deleted file mode 100644
index 042e822..000
--- a/src/radeon_drm.h
+++ /dev/null
@@ -1,918 +0,0 @@
-/* radeon_drm.h -- Public header for the radeon driver -*- linux-c -*-
- *
- * Copyright 2000 Precision Insight, Inc., Cedar Park, Texas.
- * Copyright 2000 VA Linux Systems, Inc., Fremont, California.
- * Copyright 2002 Tungsten Graphics, Inc., Cedar Park, Texas.
- * All rights reserved.
- *
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and associated documentation files (the Software),
- * to deal in the Software without restriction, including without limitation
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
- * and/or sell copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice (including the next
- * paragraph) shall be included in all copies or substantial portions of the
- * Software.
- *
- * THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
- * PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
- * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
- * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
- * DEALINGS IN THE SOFTWARE.
- *
- * Authors:
- *Kevin E. Martin mar...@valinux.com
- *Gareth Hughes gar...@valinux.com
- *Keith Whitwell ke...@tungstengraphics.com
- */
-
-#ifndef __RADEON_DRM_H__
-#define __RADEON_DRM_H__
-
-/* WARNING: If you change any of these defines, make sure to change the
- * defines in the X server file (radeon_sarea.h)
- */
-#ifndef __RADEON_SAREA_DEFINES__
-#define __RADEON_SAREA_DEFINES__
-
-/* Old style state flags, required for sarea interface (1.1 and 1.2
- * clears) and 1.2 drm_vertex2 ioctl.
- */
-#define RADEON_UPLOAD_CONTEXT  0x0001
-#define RADEON_UPLOAD_VERTFMT  0x0002
-#define RADEON_UPLOAD_LINE 0x0004
-#define RADEON_UPLOAD_BUMPMAP  0x0008
-#define RADEON_UPLOAD_MASKS0x0010
-#define RADEON_UPLOAD_VIEWPORT 0x0020
-#define RADEON_UPLOAD_SETUP0x0040
-#define RADEON_UPLOAD_TCL  0x0080
-#define RADEON_UPLOAD_MISC 0x0100
-#define RADEON_UPLOAD_TEX0 0x0200
-#define RADEON_UPLOAD_TEX1 0x0400
-#define RADEON_UPLOAD_TEX2 0x0800
-#define RADEON_UPLOAD_TEX0IMAGES   0x1000
-#define RADEON_UPLOAD_TEX1IMAGES   0x2000
-#define RADEON_UPLOAD_TEX2IMAGES   0x4000
-#define RADEON_UPLOAD_CLIPRECTS0x8000  /* handled 
client-side */
-#define RADEON_REQUIRE_QUIESCENCE  0x0001
-#define RADEON_UPLOAD_ZBIAS0x0002  /* version 1.2 and 
newer */
-#define RADEON_UPLOAD_ALL  0x003e
-#define RADEON_UPLOAD_CONTEXT_ALL   0x003e01ff
-
-/* New style per-packet identifiers for use in cmd_buffer ioctl with
- * the RADEON_EMIT_PACKET command.  Comments relate new packets to old
- * state bits and the packet size:
- */
-#define RADEON_EMIT_PP_MISC 0  /* context/7 */
-#define RADEON_EMIT_PP_CNTL 1  /* context/3 */
-#define RADEON_EMIT_RB3D_COLORPITCH 2  /* context/1 */
-#define RADEON_EMIT_RE_LINE_PATTERN 3  /* line/2 */
-#define RADEON_EMIT_SE_LINE_WIDTH   4  /* line/1 */
-#define RADEON_EMIT_PP_LUM_MATRIX   5  /* bumpmap/1 */
-#define RADEON_EMIT_PP_ROT_MATRIX_0 6  /* bumpmap/2 */
-#define RADEON_EMIT_RB3D_STENCILREFMASK 7  /* masks/3 */
-#define RADEON_EMIT_SE_VPORT_XSCALE 8  /* viewport/6 */
-#define RADEON_EMIT_SE_CNTL 9  /* setup/2 */
-#define RADEON_EMIT_SE_CNTL_STATUS  10 /* setup/1 */
-#define RADEON_EMIT_RE_MISC 11 /* misc/1 */
-#define RADEON_EMIT_PP_TXFILTER_0   12 /* tex0/6 */
-#define RADEON_EMIT_PP_BORDER_COLOR_0   13 /* tex0/1 */
-#define 

[PATCH 4/4] radeon: remove definitions already present in radeon_drm.h

2014-08-04 Thread Andreas Boll
Signed-off-by: Andreas Boll andreas.boll@gmail.com
---
 src/radeon_kms.c | 17 -
 1 file changed, 17 deletions(-)

diff --git a/src/radeon_kms.c b/src/radeon_kms.c
index b92ae90..171d919 100644
--- a/src/radeon_kms.c
+++ b/src/radeon_kms.c
@@ -333,9 +333,6 @@ static Bool RADEONIsFastFBWorking(ScrnInfoPtr pScrn)
 int r;
 uint32_t tmp = 0;
 
-#ifndef RADEON_INFO_FASTFB_WORKING
-#define RADEON_INFO_FASTFB_WORKING 0x14
-#endif
 memset(ginfo, 0, sizeof(ginfo));
 ginfo.request = RADEON_INFO_FASTFB_WORKING;
 ginfo.value = (uintptr_t)tmp;
@@ -355,9 +352,6 @@ static Bool RADEONIsFusionGARTWorking(ScrnInfoPtr pScrn)
 int r;
 uint32_t tmp;
 
-#ifndef RADEON_INFO_FUSION_GART_WORKING
-#define RADEON_INFO_FUSION_GART_WORKING 0x0c
-#endif
 memset(ginfo, 0, sizeof(ginfo));
 ginfo.request = RADEON_INFO_FUSION_GART_WORKING;
 ginfo.value = (uintptr_t)tmp;
@@ -377,13 +371,6 @@ static Bool RADEONIsAccelWorking(ScrnInfoPtr pScrn)
 int r;
 uint32_t tmp;
 
-#ifndef RADEON_INFO_ACCEL_WORKING
-#define RADEON_INFO_ACCEL_WORKING 0x03
-#endif
-#ifndef RADEON_INFO_ACCEL_WORKING2
-#define RADEON_INFO_ACCEL_WORKING2 0x05
-#endif
-
 memset(ginfo, 0, sizeof(ginfo));
 if (info-dri2.pKernelDRMVersion-version_minor = 5)
ginfo.request = RADEON_INFO_ACCEL_WORKING2;
@@ -683,10 +670,6 @@ static Bool r600_get_tile_config(ScrnInfoPtr pScrn)
 if (info-ChipFamily  CHIP_FAMILY_R600)
return FALSE;
 
-#ifndef RADEON_INFO_TILING_CONFIG
-#define RADEON_INFO_TILING_CONFIG 0x6
-#endif
-
 memset(ginfo, 0, sizeof(ginfo));
 ginfo.request = RADEON_INFO_TILING_CONFIG;
 ginfo.value = (uintptr_t)tmp;
-- 
2.0.1

___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


[PATCH 0/4] radeon_drm.h cleanup

2014-08-04 Thread Andreas Boll
Hi,

while working with RADEON_INFO_ACCEL_WORKING2 I noticed that we use another
outdated copy of radeon_drm.h in xf86-video-ati.
Let's use radeon_drm.h from libdrm and drop this one.

Andreas.

Andreas Boll (4):
  radeon: drop redundant radeon_drm.h includes
  radeon: move RADEON_TILING_{MASK,LINEAR} from radeon_drm.h to radeon.h
  radeon: drop radeon_drm.h
  radeon: remove definitions already present in radeon_drm.h

 src/Makefile.am   |   1 -
 src/cayman_accel.c|   1 -
 src/drmmode_display.c |   1 -
 src/evergreen_accel.c |   1 -
 src/r6xx_accel.c  |   1 -
 src/radeon.h  |   2 +
 src/radeon_drm.h  | 920 --
 src/radeon_exa.c  |   1 -
 src/radeon_kms.c  |  17 -
 9 files changed, 2 insertions(+), 943 deletions(-)
 delete mode 100644 src/radeon_drm.h

-- 
2.0.1

___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 82140] New: Glamor: Extremely slow display of Xfce logout dialog

2014-08-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=82140

  Priority: medium
Bug ID: 82140
  Assignee: xorg-driver-ati@lists.x.org
   Summary: Glamor: Extremely slow display of Xfce logout dialog
QA Contact: xorg-t...@lists.x.org
  Severity: normal
Classification: Unclassified
OS: Linux (All)
  Reporter: i...@noctus.net
  Hardware: x86-64 (AMD64)
Status: NEW
   Version: 7.4 (2008.09)
 Component: Driver/Radeon
   Product: xorg

Trying to open the Xfce logout dialog takes 39

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 82140] Glamor: extremely slow display of Xfce logout dialog

2014-08-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=82140

Mathias Brodala i...@noctus.net changed:

   What|Removed |Added

Summary|Glamor: Extremely slow  |Glamor: extremely slow
   |display of Xfce logout  |display of Xfce logout
   |dialog  |dialog

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 82140] Glamor: extremely slow display of Xfce logout dialog

2014-08-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=82140

Mathias Brodala i...@noctus.net changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |INVALID

--- Comment #1 from Mathias Brodala i...@noctus.net ---
I hit the return key while editing the subject. :-/ I'll add a new report.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 76213] xfce4 panel is not rendered properly on radeon southern islands

2014-08-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=76213

--- Comment #8 from Sylvain BERTRAND sylvain.bertr...@gmail.com ---
up-to-date fedora rawhide with Xorg server 1.16.0 and linux kernel 3.16.0
(recent mesa and llvm)

Still wrongly rendered.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


Re: [PATCH 0/4] radeon_drm.h cleanup

2014-08-04 Thread Alex Deucher
On Mon, Aug 4, 2014 at 10:23 AM, Andreas Boll
andreas.boll@gmail.com wrote:
 Hi,

 while working with RADEON_INFO_ACCEL_WORKING2 I noticed that we use another
 outdated copy of radeon_drm.h in xf86-video-ati.
 Let's use radeon_drm.h from libdrm and drop this one.

Series is:

Reviewed-by: Alex Deucher alexander.deuc...@amd.com


 Andreas.

 Andreas Boll (4):
   radeon: drop redundant radeon_drm.h includes
   radeon: move RADEON_TILING_{MASK,LINEAR} from radeon_drm.h to radeon.h
   radeon: drop radeon_drm.h
   radeon: remove definitions already present in radeon_drm.h

  src/Makefile.am   |   1 -
  src/cayman_accel.c|   1 -
  src/drmmode_display.c |   1 -
  src/evergreen_accel.c |   1 -
  src/r6xx_accel.c  |   1 -
  src/radeon.h  |   2 +
  src/radeon_drm.h  | 920 
 --
  src/radeon_exa.c  |   1 -
  src/radeon_kms.c  |  17 -
  9 files changed, 2 insertions(+), 943 deletions(-)
  delete mode 100644 src/radeon_drm.h

 --
 2.0.1

 ___
 xorg-driver-ati mailing list
 xorg-driver-ati@lists.x.org
 http://lists.x.org/mailman/listinfo/xorg-driver-ati
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


[PATCH r128] Improve handling of monitor and output types

2014-08-04 Thread Connor Behan
Checking for OUTPUT_DVI is not the same as checking for MT_DFP. There
might be r128 cards with a DVI-I connector. These have the capability of
driving an MT_CRT so we now check the monitor type before programming
DAC or TMDS registers.

This patch also removes R128ConnectorType and R128BIOSConnector because
they were not doing much. These data structures are more useful for the
radeon driver where there is a much wider range of cards.

Signed-off-by: Connor Behan connor.be...@gmail.com
---
 src/r128.h|   1 -
 src/r128_driver.c |   2 +-
 src/r128_output.c | 160 --
 src/r128_probe.h  |  16 --
 4 files changed, 60 insertions(+), 119 deletions(-)

diff --git a/src/r128.h b/src/r128.h
index 6df1b51..d8748b7 100644
--- a/src/r128.h
+++ b/src/r128.h
@@ -504,7 +504,6 @@ typedef struct {
 Bool  DDC;
 
 Bool  VGAAccess;
-R128BIOSConnector BiosConnector[R128_MAX_BIOS_CONNECTOR];
 
 /** Added for dualhead support ***/
 BOOL  IsSecondary;  /* second Screen */
diff --git a/src/r128_driver.c b/src/r128_driver.c
index c541bfa..ce38b4e 100644
--- a/src/r128_driver.c
+++ b/src/r128_driver.c
@@ -3225,7 +3225,7 @@ void R128InitRMXRegisters(R128SavePtr orig, R128SavePtr 
save,
 save-fp_h_sync_strt_wid   = save-crtc_h_sync_strt_wid;
 save-fp_v_sync_strt_wid   = save-crtc_v_sync_strt_wid;
 
-if (r128_output-type != OUTPUT_DVI  r128_output-type != OUTPUT_LVDS)
+if (r128_output-MonType != MT_DFP  r128_output-MonType != MT_LCD)
 return;
 
 if (r128_output-PanelXRes == 0 || r128_output-PanelYRes == 0) {
diff --git a/src/r128_output.c b/src/r128_output.c
index 7bb2e2a..757ef9b 100644
--- a/src/r128_output.c
+++ b/src/r128_output.c
@@ -90,21 +90,21 @@ static void r128_mode_set(xf86OutputPtr output, 
DisplayModePtr mode, DisplayMode
 if (r128_crtc-crtc_id == 0)
 R128InitRMXRegisters(info-SavedReg, info-ModeReg, output, 
adjusted_mode);
 
-if (r128_output-type == OUTPUT_DVI)
+if (r128_output-MonType == MT_DFP)
 R128InitFPRegisters(info-SavedReg, info-ModeReg, output);
-else if (r128_output-type == OUTPUT_LVDS)
+else if (r128_output-MonType == MT_LCD)
 R128InitLVDSRegisters(info-SavedReg, info-ModeReg, output);
-else if (r128_output-type == OUTPUT_VGA)
+else if (r128_output-MonType == MT_CRT)
 R128InitDACRegisters(info-SavedReg, info-ModeReg, output);
 
 if (r128_crtc-crtc_id == 0)
 R128RestoreRMXRegisters(pScrn, info-ModeReg);
 
-if (r128_output-type == OUTPUT_DVI)
+if (r128_output-MonType == MT_DFP)
 R128RestoreFPRegisters(pScrn, info-ModeReg);
-else if (r128_output-type == OUTPUT_LVDS)
+else if (r128_output-MonType == MT_LCD)
 R128RestoreLVDSRegisters(pScrn, info-ModeReg);
-else if (r128_output-type == OUTPUT_VGA)
+else if (r128_output-MonType == MT_CRT)
 R128RestoreDACRegisters(pScrn, info-ModeReg);
 }
 
@@ -375,133 +375,91 @@ static Bool R128I2CInit(xf86OutputPtr output, I2CBusPtr 
*bus_ptr, char *name)
 return TRUE;
 }
 
-void R128SetOutputType(ScrnInfoPtr pScrn, R128OutputPrivatePtr r128_output)
-{
-R128OutputType output = OUTPUT_NONE;
-
-switch (r128_output-ConnectorType) {
-case CONNECTOR_VGA:
-output = OUTPUT_VGA;
-break;
-case CONNECTOR_LVDS:
-output = OUTPUT_LVDS;
-break;
-case CONNECTOR_DVI_D:
-case CONNECTOR_DVI_I:
-case CONNECTOR_DVI_A:
-output = OUTPUT_DVI;
-break;
-default:
-output = OUTPUT_NONE;
-}
-
-r128_output-type = output;
-}
-
-void R128SetupGenericConnectors(ScrnInfoPtr pScrn)
+void R128SetupGenericConnectors(ScrnInfoPtr pScrn, R128OutputType *otypes)
 {
 R128InfoPtr info= R128PTR(pScrn);
 R128EntPtr pR128Ent = R128EntPriv(pScrn);
 
 if (!pR128Ent-HasCRTC2  !info-isDFP) {
-info-BiosConnector[0].ConnectorType = CONNECTOR_VGA;
-info-BiosConnector[0].valid = TRUE;
+otypes[0] = OUTPUT_VGA;
 return;
 } else if (!pR128Ent-HasCRTC2) {
-info-BiosConnector[0].ConnectorType = CONNECTOR_DVI_D;
-   info-BiosConnector[0].valid = TRUE;
+otypes[0] = OUTPUT_DVI;
return;
 }
 
-info-BiosConnector[0].ConnectorType = CONNECTOR_LVDS;
-info-BiosConnector[0].valid = TRUE;
-
-info-BiosConnector[1].ConnectorType = CONNECTOR_VGA;
-info-BiosConnector[1].valid = TRUE;
+otypes[0] = OUTPUT_LVDS;
+otypes[1] = OUTPUT_VGA;
 }
 
 Bool R128SetupConnectors(ScrnInfoPtr pScrn)
 {
 R128InfoPtr info= R128PTR(pScrn);
 R128EntPtr pR128Ent = R128EntPriv(pScrn);
-xf86OutputPtr output;
+
+R128OutputType otypes[R128_MAX_BIOS_CONNECTOR];
+xf86OutputPtr  output;
 int num_vga = 0;
 int num_dvi = 0;
 int i;
 
-for (i = 0; i  R128_MAX_BIOS_CONNECTOR; i++) {
-info-BiosConnector[i].valid = FALSE;
-

Bug#756848: xserver-xorg-video-radeon: Random segfaults with glamor enabled on Southern Islands card

2014-08-04 Thread Jeff Bradberry
Package: xserver-xorg-video-radeon
Version: 1:7.4.0-2
Severity: important



-- Package-specific info:
X server symlink status:

lrwxrwxrwx 1 root root 13 Jul 19  2013 /etc/X11/X - /usr/bin/Xorg
-rwxr-xr-x 1 root root 2356320 Jul 17 18:25 /usr/bin/Xorg

Diversions concerning libGL are in place

diversion of /usr/lib/arm-linux-gnueabihf/libGL.so.1.2 to 
/usr/lib/mesa-diverted/arm-linux-gnueabihf/libGL.so.1.2 by glx-diversions
diversion of /usr/lib/libGL.so to /usr/lib/mesa-diverted/libGL.so by 
glx-diversions
diversion of /usr/lib/libGL.so.1 to /usr/lib/mesa-diverted/libGL.so.1 by 
glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGL.so.1 to 
/usr/lib/mesa-diverted/arm-linux-gnueabihf/libGL.so.1 by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to 
/usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2.0 to 
/usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2.0 by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2 to 
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2 by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGL.so to 
/usr/lib/mesa-diverted/i386-linux-gnu/libGL.so by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2 to 
/usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2 by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGL.so.1.2.0 to 
/usr/lib/mesa-diverted/arm-linux-gnueabihf/libGL.so.1.2.0 by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to 
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2.0 to 
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2.0 by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGL.so to 
/usr/lib/mesa-diverted/arm-linux-gnueabihf/libGL.so by glx-diversions
diversion of /usr/lib/libGL.so.1.2 to /usr/lib/mesa-diverted/libGL.so.1.2 by 
glx-diversions
diversion of /usr/lib/libGL.so.1.2.0 to /usr/lib/mesa-diverted/libGL.so.1.2.0 
by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGL.so to 
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so by glx-diversions

VGA-compatible devices on PCI bus:
--
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] Pitcairn PRO [Radeon HD 7850] [1002:6819]

/etc/X11/xorg.conf does not exist.

/etc/X11/xorg.conf.d does not exist.

KMS configuration files:

/etc/modprobe.d/radeon-kms.conf:
  options radeon modeset=1

Kernel version (/proc/version):
---
Linux version 3.14-1-amd64 (debian-ker...@lists.debian.org) (gcc version 4.8.2 
(Debian 4.8.2-21) ) #1 SMP Debian 3.14.2-1 (2014-04-28)

Xorg X server log files on system:
--
-rw-r--r-- 1 root root 55494 Aug  2 09:01 /var/log/Xorg.0.log

Contents of previous Xorg X server log file (/var/log/Xorg.0.log.old):
-
[ 37166.444] 
X.Org X Server 1.16.0
Release Date: 2014-07-16
[ 37166.444] X Protocol Version 11, Revision 0
[ 37166.444] Build Operating System: Linux 3.14-1-amd64 x86_64 Debian
[ 37166.444] Current Operating System: Linux nebula 3.14-1-amd64 #1 SMP Debian 
3.14.2-1 (2014-04-28) x86_64
[ 37166.444] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.14-1-amd64 
root=UUID=10f3f61b-ebec-461b-8c72-94ba1cbcc165 ro quiet
[ 37166.444] Build Date: 17 July 2014  10:22:36PM
[ 37166.444] xorg-server 2:1.16.0-1 (http://www.debian.org/support) 
[ 37166.444] Current version of pixman: 0.32.4
[ 37166.444]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 37166.444] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 37166.444] (==) Log file: /var/log/Xorg.0.log, Time: Sat Aug  2 09:00:49 
2014
[ 37166.445] (==) Using system config directory /usr/share/X11/xorg.conf.d
[ 37166.445] (==) No Layout section.  Using the first Screen section.
[ 37166.445] (==) No screen section available. Using defaults.
[ 37166.445] (**) |--Screen Default Screen Section (0)
[ 37166.445] (**) |   |--Monitor default monitor
[ 37166.445] (==) No monitor specified for screen Default Screen Section.
Using a default monitor configuration.
[ 37166.445] (==) Automatically adding devices
[ 37166.445] (==) Automatically enabling devices
[ 37166.445] (==) Automatically adding GPU devices
[ 37166.445] (WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
[ 37166.445]Entry deleted from font path.
[ 37166.445] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,

[Bug 82141] Glamor: extremely slow display of Xfce logout dialog

2014-08-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=82141

Michel Dänzer mic...@daenzer.net changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #1 from Michel Dänzer mic...@daenzer.net ---


*** This bug has been marked as a duplicate of bug 76285 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati