Re: xf86-video-ati: Branch 'master' - 8 commits

2012-09-03 Thread Michel Dänzer
On Son, 2012-09-02 at 20:10 -0700, Dave Airlie wrote: 
 
 commit ca8b61e916998458203dfa4b9d0c997fa7d90ba9
 Author: Dave Airlie airl...@redhat.com
 Date:   Mon Sep 3 13:08:37 2012 +1000
 
 radeon: allocated shared pixmaps as untiled gtt.
 
 Signed-off-by: Dave Airlie airl...@redhat.com
 
 diff --git a/src/radeon_bo_helper.c b/src/radeon_bo_helper.c
 index ccdf7eb..593c690 100644
 --- a/src/radeon_bo_helper.c
 +++ b/src/radeon_bo_helper.c
 @@ -73,7 +73,7 @@ radeon_alloc_pixmap_bo(ScrnInfoPtr pScrn, int width, int 
 height, int depth,
  uint32_t tiling = 0;
  struct radeon_surface surface;
  struct radeon_bo *bo;
 -
 +int domain = RADEON_GEM_DOMAIN_VRAM;
  if (usage_hint) {
   if (info-allowColorTiling) {
   if (usage_hint  RADEON_CREATE_PIXMAP_TILING_MACRO)
 @@ -84,6 +84,12 @@ radeon_alloc_pixmap_bo(ScrnInfoPtr pScrn, int width, int 
 height, int depth,
   if (usage_hint  RADEON_CREATE_PIXMAP_DEPTH)
   tiling |= RADEON_TILING_MACRO | RADEON_TILING_MICRO;
  
 +#ifdef CREATE_PIXMAP_USAGE_SHARED
 + if ((usage_hint  0x) == CREATE_PIXMAP_USAGE_SHARED) {
 + tiling = 0;
 + domain = RADEON_GEM_DOMAIN_GTT;
 + }
 +#endif
  }
  
  /* Small pixmaps must not be macrotiled on R300, hw cannot sample them
 @@ -166,7 +172,7 @@ radeon_alloc_pixmap_bo(ScrnInfoPtr pScrn, int width, int 
 height, int depth,
   }
  
  bo = radeon_bo_open(info-bufmgr, 0, size, base_align,
 - RADEON_GEM_DOMAIN_VRAM, 0);
 + domain, 0);
  
  if (bo  tiling  radeon_bo_set_tiling(bo, tiling, pitch) == 0)
   *new_tiling = tiling;

I think you also need to prevent the acceleration code from using
RADEON_GEM_DOMAIN_VRAM when these are used for the destination, or they
will be migrated into VRAM anyway?


-- 
Earthling Michel Dänzer   |   http://www.amd.com
Libre software enthusiast |  Debian, X and DRI developer
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


Re: xf86-video-ati: Branch 'master' - 8 commits

2012-09-03 Thread Dave Airlie

 I think you also need to prevent the acceleration code from using
 RADEON_GEM_DOMAIN_VRAM when these are used for the destination, or they
 will be migrated into VRAM anyway?

Yeah probably should for completeness, we should never be rendering to
a slave pixmap anyways, just copying, maybe I should just block every
op except copy to them.

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


[Bug 54433] New: Function `DRI2UpdatePrime' implicitly converted to pointer at ../../src/radeon_dri2.c:582

2012-09-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54433

 Bug #: 54433
   Summary: Function `DRI2UpdatePrime' implicitly converted to
pointer at ../../src/radeon_dri2.c:582
Classification: Unclassified
   Product: xorg
   Version: git
  Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: Driver/Radeon
AssignedTo: xorg-driver-ati@lists.x.org
ReportedBy: fabio@libero.it
 QAContact: xorg-t...@lists.x.org


When building debian package for current git ati I get this:
Function `DRI2UpdatePrime' implicitly converted to pointer at
../../src/radeon_dri2.c:582

This is considered an error by the debian build system:

Our automated build log filter detected the problem(s) above that will
likely cause your package to segfault on architectures where the size of
a pointer is greater than the size of an integer, such as ia64 and amd64.
This is often due to a missing function prototype definition.
Since use of implicitly converted pointers is always fatal to the application
on ia64, they are errors.  Please correct them for your next upload.
More information can be found at:
http://wiki.debian.org/ImplicitPointerConversions

Full log at:
https://launchpadlibrarian.net/114656107/buildlog_ubuntu-precise-amd64.xserver-xorg-video-ati_1%3A6.99.99%2Bgit1209031354.75c1f6~gd~p_FAILEDTOBUILD.txt.gz

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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#683796: No 3D acceleration in iBook radeon 9200

2012-09-03 Thread Michel Dänzer
On Fre, 2012-08-31 at 17:52 +0200, Claudio Zumbo wrote: 
 I had the same problem and following the instructions found here I
 booted with the video=radeonfb:off parameter, I don't get a black
 screen and hardware acceleration now works the problem is that all the
 colors are messed up.

Please elaborate what 'all the colors are messed up' means exactly.
E.g.: Does this affect all applications, or only some of them, e.g.
those using OpenGL? Is the problem captured in a screenshot? If not, can
you provide a photograph showing the problem? ... 

-- 
Earthling Michel Dänzer   |   http://www.amd.com
Libre software enthusiast |  Debian, X and DRI developer

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


[Bug 54471] New: one of three monitors will not light up post-kms on radeon 5770

2012-09-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54471

 Bug #: 54471
   Summary: one of three monitors will not light up post-kms on
radeon 5770
Classification: Unclassified
   Product: xorg
   Version: unspecified
  Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: Driver/Radeon
AssignedTo: xorg-driver-ati@lists.x.org
ReportedBy: gso...@gmail.com
 QAContact: xorg-t...@lists.x.org


Created attachment 66584
  -- https://bugs.freedesktop.org/attachment.cgi?id=66584
dmesg output

I have the MacPro5,1 version of Radeon 5770 (see
http://www.amazon.com/gp/product/B003Z6QH6M), and have three Dell U2412M
monitors connected to it (two via miniDP-to-DP cables, the third one using the
DVI cable included with the monitor).

X11 sees all three monitors (DisplayPort-0, DisplayPort-1, and DVI-0), but
immediately after KMS during boot, DisplayPort-1 goes into powersave and cannot
be woken up. DisplayPort1 is the first screen that lights up when the
machine is powered on. Once grub kicks in, both DisplayPort-0 and DisplayPort-1
are mirrored, with DVI-0 being off. After KMS, DVI-0 lights up, and
DisplayPort-1 goes to sleep.

Tinkering with the Gnome display settings and/or xrandr will sometimes wake up
DisplayPort-1, but always at the expense of turning off either DisplayPort-0 or
DVI-0 instead. I could never get all three of them to light up under Linux.

I'm using up-to-date stock F16 (3.4.9-2.fc16.x86_64), but have also tried
3.6-rc4 with the same results.

I'm attaching my dmesg output and Xorg.0.log.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 54471] one of three monitors will not light up post-kms on radeon 5770

2012-09-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54471

--- Comment #1 from Gabriel Somlo gso...@gmail.com 2012-09-04 00:43:36 UTC ---
Created attachment 66585
  -- https://bugs.freedesktop.org/attachment.cgi?id=66585
xorg log

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 54471] one of three monitors will not light up post-kms on radeon 5770

2012-09-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54471

Alex Deucher ag...@yahoo.com changed:

   What|Removed |Added

  Attachment #66584|application/octet-stream|text/plain
  mime type||

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 54471] one of three monitors will not light up post-kms on radeon 5770

2012-09-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54471

--- Comment #2 from Alex Deucher ag...@yahoo.com 2012-09-04 01:05:14 UTC ---
Please try the latest 3.6.0 kernels or my 3.6 fixes tree:
http://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-fixes-3.6
There are a number of modesetting fixes that may help.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 54471] one of three monitors will not light up post-kms on radeon 5770

2012-09-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54471

Alex Deucher ag...@yahoo.com changed:

   What|Removed |Added

  Attachment #66585|text/x-log  |text/plain
  mime type||

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 54471] one of three monitors will not light up post-kms on radeon 5770

2012-09-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54471

--- Comment #3 from Alex Deucher ag...@yahoo.com 2012-09-04 01:09:48 UTC ---
You might also try this patch:
http://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-next-3.7-wipid=c1857e07e8abac2c19fda9b1da96ac461ec55827

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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