[Bug 44549] New: "Ring buffer test failed" on Radeon 5450

2012-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44549

 Bug #: 44549
   Summary: "Ring buffer test failed" on Radeon 5450
Classification: Unclassified
   Product: DRI
   Version: XOrg CVS
  Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: DRM/Radeon
AssignedTo: dri-devel@lists.freedesktop.org
ReportedBy: ebisch...@nerim.net


linux kernel : 3.2.0
libdrm-radeon1 : 2.4.29
xserver-xorg-video-radeon : 6.14.99
motherboard : ASUS M2A-VM HDMI (*no* VIA chipset)
Graphics card : msi R5450 with 1 Gb onboard
RAM memory size : 4 Gb

Description : when booting, the message "Ring buffer test failed" appears in
dmesg log. A a consequence, the software rasterizer is chosen, and after X is
started, there is no 3D acceleration.

Workaround : when I add "mem=3G" to the kernel parameters, the message
disappears, and I get 3D acceleration. Of course, 1 Gb of RAM memory is lost
for the applications.

(log files will get attached to this bug report)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 44549] "Ring buffer test failed" on Radeon 5450

2012-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44549

--- Comment #1 from Eric Bischoff  2012-01-07 03:45:18 PST 
---
It's very similar to the problem described in
http://lkml.indiana.edu/hypermail/linux/kernel/1105.2/03496.html

Nevertheless, it's not exactly the same hardware conditions, and the radeon
driver patch that did solve that problem does not work for me.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 44536] [r300g] bisected - performance regression on 0ad

2012-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44536

--- Comment #2 from Fabio Pedretti  2012-01-07 03:51:35 
PST ---
That's fair. But would be eventually possible to improve it to get max
performance on both games?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 44549] "Ring buffer test failed" on Radeon 5450

2012-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44549

--- Comment #2 from Eric Bischoff  2012-01-07 04:23:14 PST 
---
Created attachment 55245
  --> https://bugs.freedesktop.org/attachment.cgi?id=55245
cat /proc/cmdline

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 44549] "Ring buffer test failed" on Radeon 5450

2012-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44549

--- Comment #3 from Eric Bischoff  2012-01-07 04:24:01 PST 
---
Created attachment 55246
  --> https://bugs.freedesktop.org/attachment.cgi?id=55246
cat /proc/meminfo

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 44549] "Ring buffer test failed" on Radeon 5450

2012-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44549

--- Comment #4 from Eric Bischoff  2012-01-07 04:24:30 UTC 
---
Created attachment 55247
  --> https://bugs.freedesktop.org/attachment.cgi?id=55247
dmesg

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 44549] "Ring buffer test failed" on Radeon 5450

2012-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44549

--- Comment #5 from Eric Bischoff  2012-01-07 04:25:04 UTC 
---
Created attachment 55248
  --> https://bugs.freedesktop.org/attachment.cgi?id=55248
glxinfo

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 44549] "Ring buffer test failed" on Radeon 5450

2012-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44549

--- Comment #6 from Eric Bischoff  2012-01-07 04:25:29 UTC 
---
Created attachment 55249
  --> https://bugs.freedesktop.org/attachment.cgi?id=55249
lspci -v

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 44549] "Ring buffer test failed" on Radeon 5450

2012-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44549

--- Comment #7 from Eric Bischoff  2012-01-07 04:25:57 PST 
---
Created attachment 55250
  --> https://bugs.freedesktop.org/attachment.cgi?id=55250
uname -a

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 44549] "Ring buffer test failed" on Radeon 5450

2012-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44549

--- Comment #8 from Eric Bischoff  2012-01-07 04:45:33 PST 
---
Ouch, I just realized there was a "nomodeset" option left from an old test.
I'll see if that changes anything to the dmesg etc. Sorry.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 44549] "Ring buffer test failed" on Radeon 5450

2012-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44549

--- Comment #9 from Eric Bischoff  2012-01-07 04:57:32 PST 
---
Created attachment 55257
  --> https://bugs.freedesktop.org/attachment.cgi?id=55257
correct version of dmesg

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 44549] "Ring buffer test failed" on Radeon 5450

2012-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44549

--- Comment #10 from Eric Bischoff  2012-01-07 04:58:18 
PST ---
Created attachment 55258
  --> https://bugs.freedesktop.org/attachment.cgi?id=55258
correct version of cat /proc/cmdline

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 44549] "Ring buffer test failed" on Radeon 5450

2012-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44549

--- Comment #11 from Eric Bischoff  2012-01-07 05:00:16 
PST ---
Rebooted with correct kernel parameters and attached corresponding versions of
dmesg and cat /proc/cmdline. The other files do not change significantly. Sorry
for the mistake.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[PATCH] drm/omap: updates for DSS fifomerge API changes

2012-01-07 Thread Rob Clark
From: Rob Clark 

Signed-off-by: Rob Clark 
---
Greg, this patch updates omapdrm for fifomerge related API changes in
omapdss, and would be needed so that omapdrm still compiles after these
changes (which are in linux-next) hit Linus's tree.  This applies on
top of "drm/omap: multiplanar and YUV support" patch.

 drivers/staging/omapdrm/omap_crtc.c  |2 +-
 drivers/staging/omapdrm/omap_drv.h   |6 ++
 drivers/staging/omapdrm/omap_plane.c |   33 -
 3 files changed, 31 insertions(+), 10 deletions(-)

diff --git a/drivers/staging/omapdrm/omap_crtc.c 
b/drivers/staging/omapdrm/omap_crtc.c
index 3cee04e..17ca163 100644
--- a/drivers/staging/omapdrm/omap_crtc.c
+++ b/drivers/staging/omapdrm/omap_crtc.c
@@ -81,7 +81,7 @@ static int omap_crtc_mode_set(struct drm_crtc *crtc,
struct omap_crtc *omap_crtc = to_omap_crtc(crtc);
struct drm_plane *plane = omap_crtc->plane;
 
-   return plane->funcs->update_plane(plane, crtc, crtc->fb,
+   return omap_plane_mode_set(plane, crtc, crtc->fb,
0, 0, mode->hdisplay, mode->vdisplay,
x << 16, y << 16,
mode->hdisplay << 16, mode->vdisplay << 16);
diff --git a/drivers/staging/omapdrm/omap_drv.h 
b/drivers/staging/omapdrm/omap_drv.h
index 48f6fce..61fe022 100644
--- a/drivers/staging/omapdrm/omap_drv.h
+++ b/drivers/staging/omapdrm/omap_drv.h
@@ -69,6 +69,12 @@ struct drm_plane *omap_plane_init(struct drm_device *dev,
struct omap_overlay *ovl, unsigned int possible_crtcs,
bool priv);
 int omap_plane_dpms(struct drm_plane *plane, int mode);
+int omap_plane_mode_set(struct drm_plane *plane,
+   struct drm_crtc *crtc, struct drm_framebuffer *fb,
+   int crtc_x, int crtc_y,
+   unsigned int crtc_w, unsigned int crtc_h,
+   uint32_t src_x, uint32_t src_y,
+   uint32_t src_w, uint32_t src_h);
 
 struct drm_encoder *omap_encoder_init(struct drm_device *dev,
struct omap_overlay_manager *mgr);
diff --git a/drivers/staging/omapdrm/omap_plane.c 
b/drivers/staging/omapdrm/omap_plane.c
index 66eed75..9790912 100644
--- a/drivers/staging/omapdrm/omap_plane.c
+++ b/drivers/staging/omapdrm/omap_plane.c
@@ -85,7 +85,7 @@ static int commit(struct drm_plane *plane)
}
}
 
-   if (info->enabled) {
+   if (ovl->is_enabled(ovl)) {
omap_framebuffer_flush(plane->fb, info->pos_x, info->pos_y,
info->out_width, info->out_height);
}
@@ -115,7 +115,7 @@ static void update_manager(struct drm_plane *plane)
}
 
if (ovl->manager != mgr) {
-   bool enabled = omap_plane->info.enabled;
+   bool enabled = ovl->is_enabled(ovl);
 
/* don't switch things around with enabled overlays: */
if (enabled)
@@ -168,7 +168,8 @@ static void update_scanout(struct drm_plane *plane)
if (ret) {
dev_err(plane->dev->dev,
"could not pin fb: %d\n", ret);
-   omap_plane->info.enabled = false;
+   omap_plane_dpms(plane, DRM_MODE_DPMS_OFF);
+   return;
}
 
omap_framebuffer_update_scanout(plane->fb,
@@ -180,7 +181,7 @@ static void update_scanout(struct drm_plane *plane)
info->screen_width);
 }
 
-static int omap_plane_update(struct drm_plane *plane,
+int omap_plane_mode_set(struct drm_plane *plane,
struct drm_crtc *crtc, struct drm_framebuffer *fb,
int crtc_x, int crtc_y,
unsigned int crtc_w, unsigned int crtc_h,
@@ -195,7 +196,6 @@ static int omap_plane_update(struct drm_plane *plane,
src_w = src_w >> 16;
src_h = src_h >> 16;
 
-   omap_plane->info.enabled = true;
omap_plane->info.pos_x = crtc_x;
omap_plane->info.pos_y = crtc_y;
omap_plane->info.out_width = crtc_w;
@@ -214,11 +214,22 @@ static int omap_plane_update(struct drm_plane *plane,
 
update_scanout(plane);
update_manager(plane);
-   commit(plane);
 
return 0;
 }
 
+static int omap_plane_update(struct drm_plane *plane,
+   struct drm_crtc *crtc, struct drm_framebuffer *fb,
+   int crtc_x, int crtc_y,
+   unsigned int crtc_w, unsigned int crtc_h,
+   uint32_t src_x, uint32_t src_y,
+   uint32_t src_w, uint32_t src_h)
+{
+   omap_plane_mode_set(plane, crtc, fb, crtc_x, crtc_y, crtc_w, crtc_h,
+   src_x, src_y, src_w, src_h);
+   return omap_plane_dpms(plane, DRM_MODE_DPMS_ON);
+}
+
 static int omap_plane_disable(struct drm_plane *plane)
 {
return omap_plane_dpms(plane, DRM_MODE_DPMS_OFF);
@@ -236,18 +247,22 @@ static void omap_plane_destroy(struct drm_plane *plane)
 int omap_plane_dpms(struct drm_plane *plane, int mode)
 {
struct omap_plane *omap_pl

Re: [ANNOUNCE] libdrm 2.4.30

2012-01-07 Thread Jeremy Huddleston
This new libdrm fails 'make check' on tinderbox:
http://tinderbox.x.org/builds/2012-01-07-0023/logs/libdrm/#check

On Jan 6, 2012, at 8:54 AM, Eric Anholt wrote:

> Here's a new release, featuring updated i915_drm.h for gen7 transform
> feedback, and intel_decode.c as a library API instead of being copied
> around between our various driver components.
> 
> Chris Wilson (2):
>  intel: Reset vma list upon purge
>  tests/gem_flink: Check for MASTER before proceeding
> 
> Eric Anholt (18):
>  intel: Import intel_decode.c from intel-gpu-tools.
>  intel: Make intel_chipset handle devid directly.
>  intel: intel: Add IS_GEN[567] macros.
>  intel: Reformat intel_decode.c from intel-gpu-tools using Lindent.
>  intel: Minor style tweaks after Lindent.
>  intel: Get intel_decode.c minimally building.
>  intel: Fix Wsigned-compare warnings (soon to be enabled).
>  intel: Fix a ton of signed vs unsigned and const char *warnings
>  intel: Add printflike warnings for instr_out.
>  intel: Fix printf format warnings for intel_decode.
>  intel: Remove c99ish variable declarations.
>  intel: Turn on normal warnings for intel_decode.c build.
>  intel: Disable unused decode_logic_op().
>  intel: Add an interface for setting the output file for decode.
>  intel: Add a regression test program for intel_decode.c.
>  intel: Add regression tests for batch decode.
>  intel: Update for new i915_drm.h defines.
>  configure: Bump version for 2.4.30
> 
> Jesse Barnes (1):
>  libdrm: update drm headers from kernel, including new overlay ioctls & 
> structs
> 
> Johannes Obermayr (1):
>  intel/intel_decode.c: Remove #include "intel_decode.h".
> 
> git tag: 2.4.30
> 
> http://dri.freedesktop.org/libdrm/libdrm-2.4.30.tar.bz2
> MD5:  9f57a68b2c0836b55ebcbc241f6ca175  libdrm-2.4.30.tar.bz2
> SHA1: 5ba36a0bcbacbe67e6a2e0d5318ed9455da59bbc  libdrm-2.4.30.tar.bz2
> SHA256: cacea9c157ec824ad278a06f4910659b2f3ae69686518ece8d6967843cddcd56  
> libdrm-2.4.30.tar.bz2
> 
> http://dri.freedesktop.org/libdrm/libdrm-2.4.30.tar.gz
> MD5:  cd790fb761a83125eceb64162d7d5ce5  libdrm-2.4.30.tar.gz
> SHA1: 148936f0c0f83d016c584245493b975d42bd359a  libdrm-2.4.30.tar.gz
> SHA256: a64e63a2af08bcab835e758048611cf61c7183dc7e829cad9dceba859245b4bc  
> libdrm-2.4.30.tar.gz
> 
> ___
> xorg-announce mailing list
> xorg-annou...@lists.x.org
> http://lists.x.org/mailman/listinfo/xorg-announce

___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 44523] nexuiz perf regression since u_vbuf: implement another upload codepath which unrolls indices

2012-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44523

Marek Olšák  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #1 from Marek Olšák  2012-01-07 12:31:30 PST ---
Fixed by 2bdf93449a0b00145fabdd3f7866acbafa18e734. Closing.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 44365] Textures aligned/move wrongly in planeshift game

2012-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44365

Mark  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |

--- Comment #5 from Mark  2012-01-07 15:59:37 PST 
---

I tested HEAD again to see if any performance enhancements were around, and
this problem was back, i did a few git bisects and found this commit.

e1ff84371c0e8c58297611f95ec1e2cb5d5acaa4

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [ANNOUNCE] libdrm 2.4.30

2012-01-07 Thread Eric Anholt
On Sat, 07 Jan 2012 11:22:52 -0800, Jeremy Huddleston  
wrote:
> This new libdrm fails 'make check' on tinderbox:
> http://tinderbox.x.org/builds/2012-01-07-0023/logs/libdrm/#check

It make checks fine here, on 32 and 64.  Not sure what's up.


pgpvxFc5HfvHt.pgp
Description: PGP signature
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 44568] New: Half-Life 1 engine has poor fps is large areas

2012-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44568

 Bug #: 44568
   Summary: Half-Life 1 engine has poor fps is large areas
Classification: Unclassified
   Product: Mesa
   Version: git
  Platform: Other
OS/Version: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: Drivers/Gallium/r600
AssignedTo: dri-devel@lists.freedesktop.org
ReportedBy: toni.sp...@iki.fi


Created attachment 55280
  --> https://bugs.freedesktop.org/attachment.cgi?id=55280
Slow GLTrace

I've been following the fps of this engine for a few years, pre-gallium and
lately gallium. There is a noticable fps drop in maps that contain water or a
lot of models.

Normally, a fps drop from 100 to ~15 happens in action situations with smoke,
other players, water etc.

Taken that the engine is over 10 years old, is using standard OpenGL and it
runs very fine at 100fps on windows, my guesstimate is that it is using some
unoptimized GL path.

Attached slow gltrace is from viewing an area where my fps in 800x600
resolution is around 56 with a lot of models on the screen and the fast trace
is from a map that doesn't have that drop at all when nothing is happening.

The traces are around from the same period of time but the fast trace went at
~25 fps and the slow at ~5 fps when it was logged. Both traces start and end
with the game menu but only briefly.

Would appreciate if someone could finally take a shot at fixing this.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 44568] Half-Life 1 engine has poor fps is large areas

2012-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44568

--- Comment #1 from Toni Spets  2012-01-07 23:56:10 PST ---
Created attachment 55281
  --> https://bugs.freedesktop.org/attachment.cgi?id=55281
Fast GLTrace

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 44549] New: "Ring buffer test failed" on Radeon 5450

2012-01-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=44549

 Bug #: 44549
   Summary: "Ring buffer test failed" on Radeon 5450
Classification: Unclassified
   Product: DRI
   Version: XOrg CVS
  Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: DRM/Radeon
AssignedTo: dri-devel at lists.freedesktop.org
ReportedBy: ebischoff at nerim.net


linux kernel : 3.2.0
libdrm-radeon1 : 2.4.29
xserver-xorg-video-radeon : 6.14.99
motherboard : ASUS M2A-VM HDMI (*no* VIA chipset)
Graphics card : msi R5450 with 1 Gb onboard
RAM memory size : 4 Gb

Description : when booting, the message "Ring buffer test failed" appears in
dmesg log. A a consequence, the software rasterizer is chosen, and after X is
started, there is no 3D acceleration.

Workaround : when I add "mem=3G" to the kernel parameters, the message
disappears, and I get 3D acceleration. Of course, 1 Gb of RAM memory is lost
for the applications.

(log files will get attached to this bug report)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 44549] "Ring buffer test failed" on Radeon 5450

2012-01-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=44549

--- Comment #1 from Eric Bischoff  2012-01-07 03:45:18 
PST ---
It's very similar to the problem described in
http://lkml.indiana.edu/hypermail/linux/kernel/1105.2/03496.html

Nevertheless, it's not exactly the same hardware conditions, and the radeon
driver patch that did solve that problem does not work for me.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 44536] [r300g] bisected - performance regression on 0ad

2012-01-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=44536

--- Comment #2 from Fabio Pedretti  2012-01-07 03:51:35 
PST ---
That's fair. But would be eventually possible to improve it to get max
performance on both games?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 44549] "Ring buffer test failed" on Radeon 5450

2012-01-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=44549

--- Comment #2 from Eric Bischoff  2012-01-07 04:23:14 
PST ---
Created attachment 55245
  --> https://bugs.freedesktop.org/attachment.cgi?id=55245
cat /proc/cmdline

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 44549] "Ring buffer test failed" on Radeon 5450

2012-01-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=44549

--- Comment #3 from Eric Bischoff  2012-01-07 04:24:01 
PST ---
Created attachment 55246
  --> https://bugs.freedesktop.org/attachment.cgi?id=55246
cat /proc/meminfo

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 44549] "Ring buffer test failed" on Radeon 5450

2012-01-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=44549

--- Comment #4 from Eric Bischoff  2012-01-07 04:24:30 
UTC ---
Created attachment 55247
  --> https://bugs.freedesktop.org/attachment.cgi?id=55247
dmesg

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 44549] "Ring buffer test failed" on Radeon 5450

2012-01-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=44549

--- Comment #5 from Eric Bischoff  2012-01-07 04:25:04 
UTC ---
Created attachment 55248
  --> https://bugs.freedesktop.org/attachment.cgi?id=55248
glxinfo

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 44549] "Ring buffer test failed" on Radeon 5450

2012-01-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=44549

--- Comment #6 from Eric Bischoff  2012-01-07 04:25:29 
UTC ---
Created attachment 55249
  --> https://bugs.freedesktop.org/attachment.cgi?id=55249
lspci -v

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 44549] "Ring buffer test failed" on Radeon 5450

2012-01-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=44549

--- Comment #7 from Eric Bischoff  2012-01-07 04:25:57 
PST ---
Created attachment 55250
  --> https://bugs.freedesktop.org/attachment.cgi?id=55250
uname -a

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 44549] "Ring buffer test failed" on Radeon 5450

2012-01-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=44549

--- Comment #8 from Eric Bischoff  2012-01-07 04:45:33 
PST ---
Ouch, I just realized there was a "nomodeset" option left from an old test.
I'll see if that changes anything to the dmesg etc. Sorry.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 44549] "Ring buffer test failed" on Radeon 5450

2012-01-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=44549

--- Comment #9 from Eric Bischoff  2012-01-07 04:57:32 
PST ---
Created attachment 55257
  --> https://bugs.freedesktop.org/attachment.cgi?id=55257
correct version of dmesg

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 44549] "Ring buffer test failed" on Radeon 5450

2012-01-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=44549

--- Comment #10 from Eric Bischoff  2012-01-07 04:58:18 
PST ---
Created attachment 55258
  --> https://bugs.freedesktop.org/attachment.cgi?id=55258
correct version of cat /proc/cmdline

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 44549] "Ring buffer test failed" on Radeon 5450

2012-01-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=44549

--- Comment #11 from Eric Bischoff  2012-01-07 05:00:16 
PST ---
Rebooted with correct kernel parameters and attached corresponding versions of
dmesg and cat /proc/cmdline. The other files do not change significantly. Sorry
for the mistake.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[PATCH] drm/omap: updates for DSS fifomerge API changes

2012-01-07 Thread Rob Clark
From: Rob Clark 

Signed-off-by: Rob Clark 
---
Greg, this patch updates omapdrm for fifomerge related API changes in
omapdss, and would be needed so that omapdrm still compiles after these
changes (which are in linux-next) hit Linus's tree.  This applies on
top of "drm/omap: multiplanar and YUV support" patch.

 drivers/staging/omapdrm/omap_crtc.c  |2 +-
 drivers/staging/omapdrm/omap_drv.h   |6 ++
 drivers/staging/omapdrm/omap_plane.c |   33 -
 3 files changed, 31 insertions(+), 10 deletions(-)

diff --git a/drivers/staging/omapdrm/omap_crtc.c 
b/drivers/staging/omapdrm/omap_crtc.c
index 3cee04e..17ca163 100644
--- a/drivers/staging/omapdrm/omap_crtc.c
+++ b/drivers/staging/omapdrm/omap_crtc.c
@@ -81,7 +81,7 @@ static int omap_crtc_mode_set(struct drm_crtc *crtc,
struct omap_crtc *omap_crtc = to_omap_crtc(crtc);
struct drm_plane *plane = omap_crtc->plane;

-   return plane->funcs->update_plane(plane, crtc, crtc->fb,
+   return omap_plane_mode_set(plane, crtc, crtc->fb,
0, 0, mode->hdisplay, mode->vdisplay,
x << 16, y << 16,
mode->hdisplay << 16, mode->vdisplay << 16);
diff --git a/drivers/staging/omapdrm/omap_drv.h 
b/drivers/staging/omapdrm/omap_drv.h
index 48f6fce..61fe022 100644
--- a/drivers/staging/omapdrm/omap_drv.h
+++ b/drivers/staging/omapdrm/omap_drv.h
@@ -69,6 +69,12 @@ struct drm_plane *omap_plane_init(struct drm_device *dev,
struct omap_overlay *ovl, unsigned int possible_crtcs,
bool priv);
 int omap_plane_dpms(struct drm_plane *plane, int mode);
+int omap_plane_mode_set(struct drm_plane *plane,
+   struct drm_crtc *crtc, struct drm_framebuffer *fb,
+   int crtc_x, int crtc_y,
+   unsigned int crtc_w, unsigned int crtc_h,
+   uint32_t src_x, uint32_t src_y,
+   uint32_t src_w, uint32_t src_h);

 struct drm_encoder *omap_encoder_init(struct drm_device *dev,
struct omap_overlay_manager *mgr);
diff --git a/drivers/staging/omapdrm/omap_plane.c 
b/drivers/staging/omapdrm/omap_plane.c
index 66eed75..9790912 100644
--- a/drivers/staging/omapdrm/omap_plane.c
+++ b/drivers/staging/omapdrm/omap_plane.c
@@ -85,7 +85,7 @@ static int commit(struct drm_plane *plane)
}
}

-   if (info->enabled) {
+   if (ovl->is_enabled(ovl)) {
omap_framebuffer_flush(plane->fb, info->pos_x, info->pos_y,
info->out_width, info->out_height);
}
@@ -115,7 +115,7 @@ static void update_manager(struct drm_plane *plane)
}

if (ovl->manager != mgr) {
-   bool enabled = omap_plane->info.enabled;
+   bool enabled = ovl->is_enabled(ovl);

/* don't switch things around with enabled overlays: */
if (enabled)
@@ -168,7 +168,8 @@ static void update_scanout(struct drm_plane *plane)
if (ret) {
dev_err(plane->dev->dev,
"could not pin fb: %d\n", ret);
-   omap_plane->info.enabled = false;
+   omap_plane_dpms(plane, DRM_MODE_DPMS_OFF);
+   return;
}

omap_framebuffer_update_scanout(plane->fb,
@@ -180,7 +181,7 @@ static void update_scanout(struct drm_plane *plane)
info->screen_width);
 }

-static int omap_plane_update(struct drm_plane *plane,
+int omap_plane_mode_set(struct drm_plane *plane,
struct drm_crtc *crtc, struct drm_framebuffer *fb,
int crtc_x, int crtc_y,
unsigned int crtc_w, unsigned int crtc_h,
@@ -195,7 +196,6 @@ static int omap_plane_update(struct drm_plane *plane,
src_w = src_w >> 16;
src_h = src_h >> 16;

-   omap_plane->info.enabled = true;
omap_plane->info.pos_x = crtc_x;
omap_plane->info.pos_y = crtc_y;
omap_plane->info.out_width = crtc_w;
@@ -214,11 +214,22 @@ static int omap_plane_update(struct drm_plane *plane,

update_scanout(plane);
update_manager(plane);
-   commit(plane);

return 0;
 }

+static int omap_plane_update(struct drm_plane *plane,
+   struct drm_crtc *crtc, struct drm_framebuffer *fb,
+   int crtc_x, int crtc_y,
+   unsigned int crtc_w, unsigned int crtc_h,
+   uint32_t src_x, uint32_t src_y,
+   uint32_t src_w, uint32_t src_h)
+{
+   omap_plane_mode_set(plane, crtc, fb, crtc_x, crtc_y, crtc_w, crtc_h,
+   src_x, src_y, src_w, src_h);
+   return omap_plane_dpms(plane, DRM_MODE_DPMS_ON);
+}
+
 static int omap_plane_disable(struct drm_plane *plane)
 {
return omap_plane_dpms(plane, DRM_MODE_DPMS_OFF);
@@ -236,18 +247,22 @@ static void omap_plane_destroy(struct drm_plane *plane)
 int omap_plane_dpms(struct drm_plane *plane, int mode)
 {
struct omap_plane *omap_plane = to_om

[ANNOUNCE] libdrm 2.4.30

2012-01-07 Thread Jeremy Huddleston
This new libdrm fails 'make check' on tinderbox:
http://tinderbox.x.org/builds/2012-01-07-0023/logs/libdrm/#check

On Jan 6, 2012, at 8:54 AM, Eric Anholt wrote:

> Here's a new release, featuring updated i915_drm.h for gen7 transform
> feedback, and intel_decode.c as a library API instead of being copied
> around between our various driver components.
> 
> Chris Wilson (2):
>  intel: Reset vma list upon purge
>  tests/gem_flink: Check for MASTER before proceeding
> 
> Eric Anholt (18):
>  intel: Import intel_decode.c from intel-gpu-tools.
>  intel: Make intel_chipset handle devid directly.
>  intel: intel: Add IS_GEN[567] macros.
>  intel: Reformat intel_decode.c from intel-gpu-tools using Lindent.
>  intel: Minor style tweaks after Lindent.
>  intel: Get intel_decode.c minimally building.
>  intel: Fix Wsigned-compare warnings (soon to be enabled).
>  intel: Fix a ton of signed vs unsigned and const char *warnings
>  intel: Add printflike warnings for instr_out.
>  intel: Fix printf format warnings for intel_decode.
>  intel: Remove c99ish variable declarations.
>  intel: Turn on normal warnings for intel_decode.c build.
>  intel: Disable unused decode_logic_op().
>  intel: Add an interface for setting the output file for decode.
>  intel: Add a regression test program for intel_decode.c.
>  intel: Add regression tests for batch decode.
>  intel: Update for new i915_drm.h defines.
>  configure: Bump version for 2.4.30
> 
> Jesse Barnes (1):
>  libdrm: update drm headers from kernel, including new overlay ioctls & 
> structs
> 
> Johannes Obermayr (1):
>  intel/intel_decode.c: Remove #include "intel_decode.h".
> 
> git tag: 2.4.30
> 
> http://dri.freedesktop.org/libdrm/libdrm-2.4.30.tar.bz2
> MD5:  9f57a68b2c0836b55ebcbc241f6ca175  libdrm-2.4.30.tar.bz2
> SHA1: 5ba36a0bcbacbe67e6a2e0d5318ed9455da59bbc  libdrm-2.4.30.tar.bz2
> SHA256: cacea9c157ec824ad278a06f4910659b2f3ae69686518ece8d6967843cddcd56  
> libdrm-2.4.30.tar.bz2
> 
> http://dri.freedesktop.org/libdrm/libdrm-2.4.30.tar.gz
> MD5:  cd790fb761a83125eceb64162d7d5ce5  libdrm-2.4.30.tar.gz
> SHA1: 148936f0c0f83d016c584245493b975d42bd359a  libdrm-2.4.30.tar.gz
> SHA256: a64e63a2af08bcab835e758048611cf61c7183dc7e829cad9dceba859245b4bc  
> libdrm-2.4.30.tar.gz
> 
> ___
> xorg-announce mailing list
> xorg-announce at lists.x.org
> http://lists.x.org/mailman/listinfo/xorg-announce



[Bug 44523] nexuiz perf regression since u_vbuf: implement another upload codepath which unrolls indices

2012-01-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=44523

Marek Ol??k  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #1 from Marek Ol??k  2012-01-07 12:31:30 PST 
---
Fixed by 2bdf93449a0b00145fabdd3f7866acbafa18e734. Closing.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 44365] Textures aligned/move wrongly in planeshift game

2012-01-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=44365

Mark  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |

--- Comment #5 from Mark  2012-01-07 15:59:37 
PST ---

I tested HEAD again to see if any performance enhancements were around, and
this problem was back, i did a few git bisects and found this commit.

e1ff84371c0e8c58297611f95ec1e2cb5d5acaa4

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[ANNOUNCE] libdrm 2.4.30

2012-01-07 Thread Eric Anholt
On Sat, 07 Jan 2012 11:22:52 -0800, Jeremy Huddleston  
wrote:
> This new libdrm fails 'make check' on tinderbox:
> http://tinderbox.x.org/builds/2012-01-07-0023/logs/libdrm/#check

It make checks fine here, on 32 and 64.  Not sure what's up.
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: 
<http://lists.freedesktop.org/archives/dri-devel/attachments/20120107/20aa9733/attachment.pgp>