[PATCH] drm/radeon: Add support for userspace fence waits

2012-01-31 Thread Marek Olšák
2012/1/31 Jerome Glisse : > On Tue, Jan 31, 2012 at 06:56:01PM +0100, Michel D?nzer wrote: >> On Die, 2012-01-31 at 16:59 +, Simon Farnsworth wrote: >> > Userspace currently busywaits for fences to complete; on my workload, this >> > busywait consumes 10% of the available CPU time. >> > >> >

radeon issues on MacBook Pro 8,2

2012-01-31 Thread Seth Forshee
On Fri, Jan 20, 2012 at 05:08:31PM -0600, Seth Forshee wrote: > > Can you track down who is calling the connector->detect() callbacks > > during suspend and resume? > > I got two different stack traces, see below. > > And to slightly amend my statement above, I'm only seeing the wrong > status

[PATCH] drm/radeon: Add support for userspace fence waits

2012-01-31 Thread Michel Dänzer
On Die, 2012-01-31 at 16:59 +, Simon Farnsworth wrote: > Userspace currently busywaits for fences to complete; on my workload, this > busywait consumes 10% of the available CPU time. > > Provide an ioctl so that userspace can wait for an EOP interrupt that > corresponds to a previous

[Bug 28905] [RADEON:KMS:R600C] missing scene triangle in scorched3d

2012-01-31 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=28905 aceman changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 31423] Stars in Celestia misrendered

2012-01-31 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=31423 --- Comment #2 from aceman 2012-01-31 10:17:34 PST --- On R600g, Mesa 8.0rc2 the stars seem to have proper colors. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Bug 30502] [RADEON:R600C] atmospheres of planets get transparent when going away from planets in celestia

2012-01-31 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30502 aceman changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[PATCH] drm/radeon: Add support for userspace fence waits

2012-01-31 Thread Simon Farnsworth
Userspace currently busywaits for fences to complete; on my workload, this busywait consumes 10% of the available CPU time. Provide an ioctl so that userspace can wait for an EOP interrupt that corresponds to a previous EVENT_WRITE_EOP. Signed-off-by: Simon Farnsworth --- I've been working on

r600g: Trying to remove the busywait for fence completion, but hitting inexplicable behaviour

2012-01-31 Thread Simon Farnsworth
Farnsworth Software Engineer ONELAN Limited http://www.onelan.com/ -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part. URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120131/17f2538e/attachment.pgp>

r600g: Trying to remove the busywait for fence completion, but hitting inexplicable behaviour

2012-01-31 Thread Alan Swanson
On Tue, 2012-01-31 at 13:16 +, Simon Farnsworth wrote: > Hello, > > When profiling my workload on an AMD E-350 (PALM GPU) to see why it still > wasn't performing well with Jerome's WIP macrotiling patches, I noticed that > r600_fence_finish was taking 10% of my CPU time. I determined

[PATCH 1/1] drm/radeon/kms: disable output polling when suspended

2012-01-31 Thread Seth Forshee
Polling the outputs when the device is suspended can result in erroneous status updates. Disable output polling during suspend to prevent this from happening. Signed-off-by: Seth Forshee --- drivers/gpu/drm/radeon/radeon_device.c |4 1 files changed, 4 insertions(+), 0 deletions(-)

[PATCH] drm/radeon: Add support for userspace fence waits

2012-01-31 Thread Simon Farnsworth
+ radeon_bo_kunmap(robj); > +unpin: > + radeon_bo_unpin(robj); > +unreserve: > + radeon_bo_unreserve(robj); > +unreference: > + drm_gem_object_unreference_unlocked(gobj); > + > + return r; > +} -- Simon Farnsworth Software Engineer ONELAN Limited http://www.onelan.com/ -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part. URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120131/a6c775b9/attachment-0001.pgp>

[PATCH] drm/radeon: Add support for userspace fence waits

2012-01-31 Thread Jerome Glisse
On Tue, Jan 31, 2012 at 02:13:00PM -0500, Alex Deucher wrote: > On Tue, Jan 31, 2012 at 2:07 PM, Jerome Glisse wrote: > > On Tue, Jan 31, 2012 at 01:55:43PM -0500, David Airlie wrote: > >> > >> > >> Some comments below. > >> > >> > + ? struct radeon_device *rdev = dev->dev_private; > >> > + ?

[PATCH] drm/radeon: Add support for userspace fence waits

2012-01-31 Thread Alex Deucher
On Tue, Jan 31, 2012 at 2:07 PM, Jerome Glisse wrote: > On Tue, Jan 31, 2012 at 01:55:43PM -0500, David Airlie wrote: >> >> >> Some comments below. >> >> > + ? struct radeon_device *rdev = dev->dev_private; >> > + ? struct drm_gem_object *gobj; >> > + ? struct radeon_bo *robj; >> > + ? void

[PATCH] drm/radeon: Add support for userspace fence waits

2012-01-31 Thread Jerome Glisse
On Tue, Jan 31, 2012 at 01:55:43PM -0500, David Airlie wrote: > > > Some comments below. > > > + struct radeon_device *rdev = dev->dev_private; > > + struct drm_gem_object *gobj; > > + struct radeon_bo *robj; > > + void *buffer_data; > > + uint32_t *fence_data; > > + int r = 0; > >

[PATCH] drm/radeon: Add support for userspace fence waits

2012-01-31 Thread Jerome Glisse
On Tue, Jan 31, 2012 at 06:56:01PM +0100, Michel D?nzer wrote: > On Die, 2012-01-31 at 16:59 +, Simon Farnsworth wrote: > > Userspace currently busywaits for fences to complete; on my workload, this > > busywait consumes 10% of the available CPU time. > > > > Provide an ioctl so that

[PATCH] drm/radeon: Add support for userspace fence waits

2012-01-31 Thread David Airlie
Some comments below. > + struct radeon_device *rdev = dev->dev_private; > + struct drm_gem_object *gobj; > + struct radeon_bo *robj; > + void *buffer_data; > + uint32_t *fence_data; > + int r = 0; > + long timeout; > + int ring = RADEON_RING_TYPE_GFX_INDEX; > + >

[PATCH] drm/radeon: Add support for userspace fence waits

2012-01-31 Thread Simon Farnsworth
Userspace currently busywaits for fences to complete; on my workload, this busywait consumes 10% of the available CPU time. Provide an ioctl so that userspace can wait for an EOP interrupt that corresponds to a previous EVENT_WRITE_EOP. This currently doesn't work, hence the debug code piled in.

[PATCH] [r600g] Use new kernel interface to wait for fences

2012-01-31 Thread Simon Farnsworth
Instead of busywaiting for the GPU to finish a fence, use the new kernel interface to wait for fence completion. This code needs completion - in particular, we should fall back to busywaiting (using the nokernel function that's in radeon_drm_bo.c) if the kernel doesn't support the new interface.

r600g: Trying to remove the busywait for fence completion, but hitting inexplicable behaviour

2012-01-31 Thread Simon Farnsworth
Hello, When profiling my workload on an AMD E-350 (PALM GPU) to see why it still wasn't performing well with Jerome's WIP macrotiling patches, I noticed that r600_fence_finish was taking 10% of my CPU time. I determined experimentally that changing from sched_yield() to os_time_sleep(10) fixed

[PATCH] Don't build Intel DRM if $CHOST is not i?86-* or x86_64-*

2012-01-31 Thread Eric Anholt
ation on these variables before mailing last time. :( -- 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/20120131/c047449b/attachment.pgp>

[PATCH] dma-buf: add dma_data_direction to unmap dma_buf_op

2012-01-31 Thread Daniel Vetter
On Tue, Jan 31, 2012 at 10:42:59AM +0100, Laurent Pinchart wrote: > Hi Sumit, > > > On Friday 27 January 2012 10:43:28 Sumit Semwal wrote: > > [snip] > > > static inline void dma_buf_unmap_attachment(struct dma_buf_attachment > > *attach, > > -struct

[PATCH] dma-buf: add dma_data_direction to unmap dma_buf_op

2012-01-31 Thread Semwal, Sumit
gt; > static inline void dma_buf_unmap_attachment(struct dma_buf_attachment > > *attach, -struct sg_table *sg) > > + struct sg_table *sg, enum dma_data_direction write) > > s/write/dir/ (or direction) ? > :-) sure. > > { > > return; > > } > > -- > Regards, > > Laurent Pinchart Best regards, -Sumit. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120131/399047b5/attachment-0001.html>

[PATCH] dma-buf: add dma_data_direction to unmap dma_buf_op

2012-01-31 Thread Laurent Pinchart
Hi Sumit, > On Friday 27 January 2012 10:43:28 Sumit Semwal wrote: [snip] > static inline void dma_buf_unmap_attachment(struct dma_buf_attachment > *attach, > -struct sg_table *sg) > + struct sg_table *sg, enum dma_data_direction

[PATCH] Don't build Intel DRM if $CHOST is not i?86-* or x86_64-*

2012-01-31 Thread Jeremy Huddleston
On Jan 31, 2012, at 8:59 AM, Eric Anholt wrote: > On Mon, 30 Jan 2012 15:25:20 -0800, Jeremy Huddleston freedesktop.org> wrote: >> This fixes a failure in 'make check' found by the tinderbox when trying to >> build this code on Linux/ppc. This code is only designed to run on >> Intel

[Bug 45432] memory errors on cayman with VM support + nexuiz

2012-01-31 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45432 Dave Airlie changed: What|Removed |Added Keywords||regression -- Configure bugmail:

[Bug 45432] New: memory errors on cayman with VM support + nexuiz

2012-01-31 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45432 Bug #: 45432 Summary: memory errors on cayman with VM support + nexuiz Classification: Unclassified Product: Mesa Version: git Platform: Other OS/Version: All Status:

[PATCH] drm/radeon/kms: Fix device tree linkage of DP i2c buses too

2012-01-31 Thread Jean Delvare
Properly set the parent device of DP i2c buses before registering them too. Signed-off-by: Jean Delvare Cc: Dave Airlie Cc: Alex Deucher --- I'm sorry, my previous patch missed the fact that DP i2c buses are handled separately so they need the same fix. drivers/gpu/drm/radeon/radeon_i2c.c |

[PATCH v3] drm/radeon/kms: remove benchmarks shorter than one page

2012-01-31 Thread Ilija Hadzic
copy_blit operation works only on integral number of pages so benchmarks shorter than one page size (4K) do not make sense v2: use RADEON_GPU_PAGE_SIZE instead of "magic" 1024 number and sweep sizes between 1 * to 16K * doubling the size in each iteration; we get the same coverage, as

[PATCH v2] drm/radeon/kms: remove benchmarks shorter than one page

2012-01-31 Thread Alex Deucher
On Tue, Jan 31, 2012 at 9:27 AM, Ilija Hadzic wrote: > > > On Tue, 31 Jan 2012, Alex Deucher wrote: > >>> >>> Signed-off-by: Ilija Hadzic >> >> >> Reviewed-by: Alex Deucher >> > > Thanks. There will be a v3, though to address one tirvial comment > (whitespace between binary '*' operator) that I

[PATCH v2] drm/radeon/kms: remove benchmarks shorter than one page

2012-01-31 Thread Alex Deucher
On Mon, Jan 30, 2012 at 11:10 PM, Ilija Hadzic wrote: > copy_blit operation works only on integral number of pages > so benchmarks shorter than one page size (4K) do not make sense > > v2: use RADEON_GPU_PAGE_SIZE instead of "magic" 1024 number and > ? ?sweep sizes between 1x to 16x doubling > ?

[PATCH] drm/radeon/kms: Fix device tree linkage of DP i2c buses too

2012-01-31 Thread Alex Deucher
On Tue, Jan 31, 2012 at 3:55 AM, Jean Delvare wrote: > Properly set the parent device of DP i2c buses before registering them > too. > > Signed-off-by: Jean Delvare > Cc: Dave Airlie > Cc: Alex Deucher Reviewed-by: Alex Deucher > --- > I'm sorry, my previous patch missed the fact that DP

[PATCH] Don't build Intel DRM if $CHOST is not i?86-* or x86_64-*

2012-01-31 Thread Eric Anholt
available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120131/f3b9dc7d/attachment.pgp>

[PATCH v2] drm/radeon/kms: remove benchmarks shorter than one page

2012-01-31 Thread Ilija Hadzic
On Tue, 31 Jan 2012, Alex Deucher wrote: >> >> Signed-off-by: Ilija Hadzic > > Reviewed-by: Alex Deucher > Thanks. There will be a v3, though to address one tirvial comment (whitespace between binary '*' operator) that I received in E-mail sent directly to me. I guess the diff v2/v3 will

[PATCH] drm/radeon/kms: Fix device tree linkage of DP i2c buses too

2012-01-31 Thread Jean Delvare
Properly set the parent device of DP i2c buses before registering them too. Signed-off-by: Jean Delvare jdelv...@suse.de Cc: Dave Airlie airl...@gmail.com Cc: Alex Deucher alexdeuc...@gmail.com --- I'm sorry, my previous patch missed the fact that DP i2c buses are handled separately so they need

Re: [PATCH] dma-buf: add dma_data_direction to unmap dma_buf_op

2012-01-31 Thread Laurent Pinchart
Hi Sumit, On Friday 27 January 2012 10:43:28 Sumit Semwal wrote: [snip] static inline void dma_buf_unmap_attachment(struct dma_buf_attachment *attach, -struct sg_table *sg) + struct sg_table *sg, enum dma_data_direction

[Bug 45432] New: memory errors on cayman with VM support + nexuiz

2012-01-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45432 Bug #: 45432 Summary: memory errors on cayman with VM support + nexuiz Classification: Unclassified Product: Mesa Version: git Platform: Other OS/Version: All Status:

[Bug 45432] memory errors on cayman with VM support + nexuiz

2012-01-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45432 Dave Airlie airl...@freedesktop.org changed: What|Removed |Added Keywords||regression --

Re: [PATCH] dma-buf: add dma_data_direction to unmap dma_buf_op

2012-01-31 Thread Daniel Vetter
On Tue, Jan 31, 2012 at 10:42:59AM +0100, Laurent Pinchart wrote: Hi Sumit, On Friday 27 January 2012 10:43:28 Sumit Semwal wrote: [snip] static inline void dma_buf_unmap_attachment(struct dma_buf_attachment *attach, -struct sg_table

r600g: Trying to remove the busywait for fence completion, but hitting inexplicable behaviour

2012-01-31 Thread Simon Farnsworth
Hello, When profiling my workload on an AMD E-350 (PALM GPU) to see why it still wasn't performing well with Jerome's WIP macrotiling patches, I noticed that r600_fence_finish was taking 10% of my CPU time. I determined experimentally that changing from sched_yield() to os_time_sleep(10) fixed

Re: [PATCH] drm/radeon/kms: Fix device tree linkage of DP i2c buses too

2012-01-31 Thread Alex Deucher
On Tue, Jan 31, 2012 at 3:55 AM, Jean Delvare jdelv...@suse.de wrote: Properly set the parent device of DP i2c buses before registering them too. Signed-off-by: Jean Delvare jdelv...@suse.de Cc: Dave Airlie airl...@gmail.com Cc: Alex Deucher alexdeuc...@gmail.com Reviewed-by: Alex Deucher

Re: [PATCH v2] drm/radeon/kms: remove benchmarks shorter than one page

2012-01-31 Thread Alex Deucher
On Mon, Jan 30, 2012 at 11:10 PM, Ilija Hadzic ihad...@research.bell-labs.com wrote: copy_blit operation works only on integral number of pages so benchmarks shorter than one page size (4K) do not make sense v2: use RADEON_GPU_PAGE_SIZE instead of magic 1024 number and    sweep sizes between

[PATCH] [r600g] Use new kernel interface to wait for fences

2012-01-31 Thread Simon Farnsworth
Instead of busywaiting for the GPU to finish a fence, use the new kernel interface to wait for fence completion. This code needs completion - in particular, we should fall back to busywaiting (using the nokernel function that's in radeon_drm_bo.c) if the kernel doesn't support the new interface.

Re: [PATCH v2] drm/radeon/kms: remove benchmarks shorter than one page

2012-01-31 Thread Ilija Hadzic
On Tue, 31 Jan 2012, Alex Deucher wrote: Signed-off-by: Ilija Hadzic ihad...@research.bell-labs.com Reviewed-by: Alex Deucher alexander.deuc...@amd.com Thanks. There will be a v3, though to address one tirvial comment (whitespace between binary '*' operator) that I received in E-mail

Re: [PATCH v2] drm/radeon/kms: remove benchmarks shorter than one page

2012-01-31 Thread Alex Deucher
On Tue, Jan 31, 2012 at 9:27 AM, Ilija Hadzic ihad...@research.bell-labs.com wrote: On Tue, 31 Jan 2012, Alex Deucher wrote: Signed-off-by: Ilija Hadzic ihad...@research.bell-labs.com Reviewed-by: Alex Deucher alexander.deuc...@amd.com Thanks. There will be a v3, though to address one

[PATCH] drm/radeon: Add support for userspace fence waits

2012-01-31 Thread Simon Farnsworth
Userspace currently busywaits for fences to complete; on my workload, this busywait consumes 10% of the available CPU time. Provide an ioctl so that userspace can wait for an EOP interrupt that corresponds to a previous EVENT_WRITE_EOP. This currently doesn't work, hence the debug code piled in.

[PATCH v3] drm/radeon/kms: remove benchmarks shorter than one page

2012-01-31 Thread Ilija Hadzic
copy_blit operation works only on integral number of pages so benchmarks shorter than one page size (4K) do not make sense v2: use RADEON_GPU_PAGE_SIZE instead of magic 1024 number and sweep sizes between 1 * page_size to 16K * page_size doubling the size in each iteration; we get the

Re: [PATCH] drm/radeon: Add support for userspace fence waits

2012-01-31 Thread Simon Farnsworth
Alex Deucher pointed out an error on IRC; I'm not using radeon_irq_kms_sw_irq_get and put to manage the IRQ enablement. I've fixed this up (as per the partial hunk below), and my bug goes away. I will be cleaning these patches up for proper submission. Simon On Tuesday 31 January 2012, Simon

Re: r600g: Trying to remove the busywait for fence completion, but hitting inexplicable behaviour

2012-01-31 Thread Simon Farnsworth
On Tuesday 31 January 2012, Alan Swanson swan...@ukfsn.org wrote: On Tue, 2012-01-31 at 13:16 +, Simon Farnsworth wrote: Hello, When profiling my workload on an AMD E-350 (PALM GPU) to see why it still wasn't performing well with Jerome's WIP macrotiling patches, I noticed that

Re: r600g: Trying to remove the busywait for fence completion, but hitting inexplicable behaviour

2012-01-31 Thread Alan Swanson
On Tue, 2012-01-31 at 13:16 +, Simon Farnsworth wrote: Hello, When profiling my workload on an AMD E-350 (PALM GPU) to see why it still wasn't performing well with Jerome's WIP macrotiling patches, I noticed that r600_fence_finish was taking 10% of my CPU time. I determined

Re: [PATCH] Don't build Intel DRM if $CHOST is not i?86-* or x86_64-*

2012-01-31 Thread Eric Anholt
On Mon, 30 Jan 2012 15:25:20 -0800, Jeremy Huddleston jerem...@freedesktop.org wrote: This fixes a failure in 'make check' found by the tinderbox when trying to build this code on Linux/ppc. This code is only designed to run on Intel platforms, so don't even bother building it if we're not in

[PATCH] drm/radeon: Add support for userspace fence waits

2012-01-31 Thread Simon Farnsworth
Userspace currently busywaits for fences to complete; on my workload, this busywait consumes 10% of the available CPU time. Provide an ioctl so that userspace can wait for an EOP interrupt that corresponds to a previous EVENT_WRITE_EOP. Signed-off-by: Simon Farnsworth

Re: [PATCH] drm/radeon: Add support for userspace fence waits

2012-01-31 Thread Michel Dänzer
On Die, 2012-01-31 at 16:59 +, Simon Farnsworth wrote: Userspace currently busywaits for fences to complete; on my workload, this busywait consumes 10% of the available CPU time. Provide an ioctl so that userspace can wait for an EOP interrupt that corresponds to a previous

[Bug 30502] [RADEON:R600C] atmospheres of planets get transparent when going away from planets in celestia

2012-01-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30502 aceman aceli...@atlas.sk changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 31423] Stars in Celestia misrendered

2012-01-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=31423 --- Comment #2 from aceman aceli...@atlas.sk 2012-01-31 10:17:34 PST --- On R600g, Mesa 8.0rc2 the stars seem to have proper colors. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail

[Bug 28905] [RADEON:KMS:R600C] missing scene triangle in scorched3d

2012-01-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28905 aceman aceli...@atlas.sk changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [PATCH] drm/radeon: Add support for userspace fence waits

2012-01-31 Thread David Airlie
Some comments below. + struct radeon_device *rdev = dev-dev_private; + struct drm_gem_object *gobj; + struct radeon_bo *robj; + void *buffer_data; + uint32_t *fence_data; + int r = 0; + long timeout; + int ring = RADEON_RING_TYPE_GFX_INDEX; + + /*

Re: [PATCH] drm/radeon: Add support for userspace fence waits

2012-01-31 Thread Jerome Glisse
On Tue, Jan 31, 2012 at 06:56:01PM +0100, Michel Dänzer wrote: On Die, 2012-01-31 at 16:59 +, Simon Farnsworth wrote: Userspace currently busywaits for fences to complete; on my workload, this busywait consumes 10% of the available CPU time. Provide an ioctl so that userspace can

Re: [PATCH] drm/radeon: Add support for userspace fence waits

2012-01-31 Thread Jerome Glisse
On Tue, Jan 31, 2012 at 01:55:43PM -0500, David Airlie wrote: Some comments below. + struct radeon_device *rdev = dev-dev_private; + struct drm_gem_object *gobj; + struct radeon_bo *robj; + void *buffer_data; + uint32_t *fence_data; + int r = 0; + long timeout;

Re: [PATCH] drm/radeon: Add support for userspace fence waits

2012-01-31 Thread Alex Deucher
On Tue, Jan 31, 2012 at 2:07 PM, Jerome Glisse j.gli...@gmail.com wrote: On Tue, Jan 31, 2012 at 01:55:43PM -0500, David Airlie wrote: Some comments below. +   struct radeon_device *rdev = dev-dev_private; +   struct drm_gem_object *gobj; +   struct radeon_bo *robj; +   void

Re: [PATCH] drm/radeon: Add support for userspace fence waits

2012-01-31 Thread Jerome Glisse
On Tue, Jan 31, 2012 at 02:13:00PM -0500, Alex Deucher wrote: On Tue, Jan 31, 2012 at 2:07 PM, Jerome Glisse j.gli...@gmail.com wrote: On Tue, Jan 31, 2012 at 01:55:43PM -0500, David Airlie wrote: Some comments below. +   struct radeon_device *rdev = dev-dev_private; +   struct

Re: [PATCH] drm/radeon: Add support for userspace fence waits

2012-01-31 Thread Marek Olšák
2012/1/31 Jerome Glisse j.gli...@gmail.com: On Tue, Jan 31, 2012 at 06:56:01PM +0100, Michel Dänzer wrote: On Die, 2012-01-31 at 16:59 +, Simon Farnsworth wrote: Userspace currently busywaits for fences to complete; on my workload, this busywait consumes 10% of the available CPU time.

Re: [PATCH] Don't build Intel DRM if $CHOST is not i?86-* or x86_64-*

2012-01-31 Thread Eric Anholt
On Tue, 31 Jan 2012 10:34:38 -0800, Jeremy Huddleston jerem...@freedesktop.org wrote: On Jan 31, 2012, at 8:59 AM, Eric Anholt wrote: On Mon, 30 Jan 2012 15:25:20 -0800, Jeremy Huddleston jerem...@freedesktop.org wrote: This fixes a failure in 'make check' found by the tinderbox when

Re: Re: [PATCH] drm/radeon: Add support for userspace fence waits

2012-01-31 Thread Christian König
On -10.01.-28163 20:59, Jerome Glisse wrote: On Tue, Jan 31, 2012 at 02:13:00PM -0500, Alex Deucher wrote: On Tue, Jan 31, 2012 at 2:07 PM, Jerome Glissej.gli...@gmail.com wrote: On Tue, Jan 31, 2012 at 01:55:43PM -0500, David Airlie wrote: Some comments below. + struct radeon_device

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-01-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #11 from Alexandre Demers alexandre.f.dem...@gmail.com 2012-01-31 16:35:53 PST --- (In reply to comment #10) (In reply to comment #9) The bugs is not visible under kernel 3.2, [...] 3.2 lacks Radeon virtual address space

[Bug 45473] New: vdpau-r300 requires softpipe

2012-01-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45473 Bug #: 45473 Summary: vdpau-r300 requires softpipe Classification: Unclassified Product: Mesa Version: git Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW

[Bug 45290] [bisected r200] fdo23670-drawpix_stencil fails and crashes

2012-01-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45290 --- Comment #4 from Ian Romanick i...@freedesktop.org 2012-01-31 22:25:22 PST --- (In reply to comment #2) Can you upgrade to a DDX from -git? I think the fix is in there, it was allocating too small depth buffers. I can, but it won't be

Re: [PATCH] Don't build Intel DRM if $CHOST is not i?86-* or x86_64-*

2012-01-31 Thread Jeremy Huddleston
On Jan 31, 2012, at 8:59 AM, Eric Anholt wrote: On Mon, 30 Jan 2012 15:25:20 -0800, Jeremy Huddleston jerem...@freedesktop.org wrote: This fixes a failure in 'make check' found by the tinderbox when trying to build this code on Linux/ppc. This code is only designed to run on Intel

Re: radeon issues on MacBook Pro 8,2

2012-01-31 Thread Seth Forshee
On Fri, Jan 20, 2012 at 05:08:31PM -0600, Seth Forshee wrote: Can you track down who is calling the connector-detect() callbacks during suspend and resume? I got two different stack traces, see below. And to slightly amend my statement above, I'm only seeing the wrong status returned on