[Bug 57567] 3.7 radeonfb broken on efivga screens

2013-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57567 --- Comment #20 from Vladimir --- Created attachment 77406 --> https://bugs.freedesktop.org/attachment.cgi?id=77406&action=edit new dmesg with drm.debug=14 It's a little bit better now, framebuffer is always shifted. (previously framebuffer us

[Bug 57567] 3.7 radeonfb broken on efivga screens

2013-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57567 --- Comment #21 from Vladimir --- Created attachment 77407 --> https://bugs.freedesktop.org/attachment.cgi?id=77407&action=edit screenshot of 3.9 screenshot of what happens -- You are receiving this mail because: You are the assignee for the

Re: radeonsi tiling dilema

2013-04-04 Thread Michel Dänzer
On Mit, 2013-04-03 at 13:04 -0400, Jerome Glisse wrote: > On Wed, Apr 03, 2013 at 06:11:26PM +0200, Michel Dänzer wrote: > > On Mit, 2013-04-03 at 09:57 -0400, Jerome Glisse wrote: > > > On Wed, Apr 3, 2013 at 5:37 AM, Michel Dänzer > > > wrote: > > > > The information we loose is what

Re: [PATCH] radeon: add si tiling support

2013-04-04 Thread Michel Dänzer
On Mit, 2013-04-03 at 17:22 -0400, j.gli...@gmail.com wrote: > From: Jerome Glisse > > Signed-off-by: Jerome Glisse > --- > include/drm/radeon_drm.h | 61 + > radeon/radeon_surface.c | 663 > +++ > radeon/radeon_surface.h | 30 +++ > 3 files

Re: [PATCH] drm/radeon: add si tile mode array query

2013-04-04 Thread Michel Dänzer
On Mit, 2013-04-03 at 17:22 -0400, j.gli...@gmail.com wrote: > From: Jerome Glisse > > Allow userspace to query for the tile mode array so userspace can properly > compute surface pitch and alignment requirement depending on tiling. > > Signed-off-by: Jerome Glisse [...] > diff --git a/drive

Re: [PATCH] drm/radeon: UVD support for RV710-SI

2013-04-04 Thread Christian König
Am 03.04.2013 19:57, schrieb Andreas Boll: Could you bump drm minor version? Not necessary, submitting an UVD create messages while creating the driver object should just result in an error code when UVD is not available. When handled like this it doesn't matter if the kernel has no UVD sup

Re: radeonsi tiling dilema

2013-04-04 Thread Christian König
Am 03.04.2013 17:57, schrieb Alex Deucher: On Wed, Apr 3, 2013 at 11:48 AM, Christian König wrote: Am 03.04.2013 15:57, schrieb Jerome Glisse: On Wed, Apr 3, 2013 at 5:37 AM, Michel Dänzer wrote: On Die, 2013-04-02 at 14:13 -0400, Jerome Glisse wrote: So i am facing a dilema regarding tilin

Re: [PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Peter Zijlstra
I'm sorry, this email ended up quite a bit longer than I had hoped for; please bear with me. On Tue, 2013-04-02 at 18:59 +0200, Peter Zijlstra wrote: > struct ww_mutex; /* wound/wait */ > > int mutex_wound_lock(struct ww_mutex *); /* returns -EDEADLK */ > int mutex_wait_lock(struct ww_mute

Re: [PATCH] drm/radeon: UVD support for RV710-SI

2013-04-04 Thread Paul Menzel
Dear Christian, dear AMD developers, Am Mittwoch, den 03.04.2013, 01:18 +0200 schrieb Christian König: > the following patchset implements the kernel side of UVD support for the > radeon hardware generations RV710-SI. thank you very much for getting these patches out! > The R6xx and RS780/RS8

[Bug 57567] 3.7 radeonfb broken on efivga screens

2013-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57567 Alex Deucher changed: What|Removed |Added Attachment #77407|text/plain |image/jpeg mime type|

Re: [PATCH v4 04/21] modetest: Add a command line parameter to select the driver

2013-04-04 Thread Laurent Pinchart
Hi Ville, On Wednesday 03 April 2013 13:06:30 Ville Syrjälä wrote: > On Tue, Mar 19, 2013 at 03:55:45PM +0100, Laurent Pinchart wrote: > > If the -M parameter is specified, modetest will use the requested device > > name instead of trying its builtin list of device names. > > > > Signed-off-by: L

Re: [PATCH 02/10] drm/radeon: UVD bringup v7

2013-04-04 Thread Christian König
Am 03.04.2013 19:10, schrieb Jerome Glisse: On Wed, Apr 03, 2013 at 05:53:55PM +0200, Christian König wrote: Am 03.04.2013 16:53, schrieb Jerome Glisse: On Wed, Apr 03, 2013 at 01:18:31AM +0200, Christian König wrote: [SNIP] /* hardcode those limit for now */ #define RADEON_VA_IB_OFFSET

Re: [PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Daniel Vetter
On Thu, Apr 04, 2013 at 02:01:48PM +0200, Peter Zijlstra wrote: > > I'm sorry, this email ended up quite a bit longer than I had hoped for; > please bear with me. > > On Tue, 2013-04-02 at 18:59 +0200, Peter Zijlstra wrote: > > struct ww_mutex; /* wound/wait */ > > > > int mutex_wound_lock(s

[PATCH] radeon: add si tiling support v2

2013-04-04 Thread j . glisse
From: Jerome Glisse v2: Only writte tile index if flags for it is set Signed-off-by: Jerome Glisse --- include/drm/radeon_drm.h | 61 + radeon/radeon_surface.c | 664 +++ radeon/radeon_surface.h | 31 +++ 3 files changed, 711 insertions(+), 4

[RFC 0/3] drm/tegra: Add 3D support

2013-04-04 Thread Thierry Reding
This small series of patches adds support for the 3D engine found on NVIDIA Tegra SoCs. It builds on top of Terje's and Arto's host1x and gr2d patches. A couple of things still need to be done before this can be merged, though. Patch 1 is the central piece of the series. It adds support for using

[RFC 1/3] WIP: drm/tegra: Add 3D support

2013-04-04 Thread Thierry Reding
This is a preliminary patch that adds support for 3D support on top of Terje's and Arto's host1x and gr2d patches. There are a few things that still need to be resolved before this can be applied. I haven't been able to test Tegra30 support so it'd be good if somebody with hardware could give it a

[RFC 2/3] drm/tegra: Support the XBGR8888 pixelformat

2013-04-04 Thread Thierry Reding
While at it, also include the RGB565 pixelformat in the list of formats supported by overlays. Signed-off-by: Thierry Reding --- drivers/gpu/host1x/drm/dc.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/host1x/drm/dc.c b/drivers/gpu/host1x/drm/dc.c index edfe0ee..14a09a4 1

[RFC 3/3] drm/tegra: Add support for tiled buffer objects

2013-04-04 Thread Thierry Reding
The gr2d and gr3d engines work more efficiently on buffers with a tiled memory layout. Allow created buffers to be marked as tiled so that the display controller can scan them out properly. Signed-off-by: Thierry Reding --- drivers/gpu/host1x/drm/dc.c | 11 +++ drivers/gpu/host1x/drm/dc

UVD on RV770/RV790

2013-04-04 Thread Christian König
Hi everyone, Sorry to disappoint you but I've made a mistake in classifying the different UVD hardware generations. RV770 and RV790 have the same UVD block as on RS780 and RS880 and not the same as RV710, so it's currently NOT supported. It's may fault because of the strange chipset numberin

[Bug 63124] New: [r600g] HyperZ lockup on REDWOOD in Half Life 2 Deathmatch

2013-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=63124 Priority: medium Bug ID: 63124 Assignee: dri-devel@lists.freedesktop.org Summary: [r600g] HyperZ lockup on REDWOOD in Half Life 2 Deathmatch Severity: major Classificatio

Re: [RFC 0/3] drm/tegra: Add 3D support

2013-04-04 Thread Thierry Reding
On Thu, Apr 04, 2013 at 04:09:17PM +0200, Thierry Reding wrote: [...] > [0]: https://github.com/organizations/grate-driver This apparently redirects to github.com unless you're a member of the grate-driver organization. So the correct link should actually be: https://github.com/grate-driv

[Bug 63124] [r600g] HyperZ lockup on REDWOOD in Half Life 2 Deathmatch

2013-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=63124 --- Comment #1 from abortretryf...@gmail.com --- Silly me, i forgot to include versions! OpenGL renderer string: Gallium 0.4 on AMD REDWOOD OpenGL core profile version string: 3.1 (Core Profile) Mesa 9.2.0 (git-450950c) Linux Brimstone 3.8.5-1-A

[Bug 63124] [r600g] HyperZ lockup on REDWOOD in Half Life 2 Deathmatch

2013-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=63124 --- Comment #2 from abortretryf...@gmail.com --- Also silly me, I typo'd that bug. I meant to say this may be related to bug #62721 -- You are receiving this mail because: You are the assignee for the bug. ___

[Bug 62889] ColorTiling results in glitches on Radeon HD 7970 + Glamor

2013-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=62889 --- Comment #14 from Alexander von Gluck --- lol. http://www.phoronix.com/scan.php?page=news_item&px=MTM0Mjk It looks like Jerome Glisse is adding it :) -- You are receiving this mail because: You are the assignee for the bug. ___

Re: [PATCH v4 09/21] modetest: Allow specifying plane position

2013-04-04 Thread Laurent Pinchart
Hi Ville, On Wednesday 27 March 2013 19:15:31 Ville Syrjälä wrote: > On Wed, Mar 27, 2013 at 05:57:20PM +0200, Ville Syrjälä wrote: > > On Tue, Mar 19, 2013 at 03:55:50PM +0100, Laurent Pinchart wrote: > > > Extend the -P option to allow specifying the plane x and y offsets. The > > > position is

Re: [PATCH v3 1/4] drm: Add struct drm_rect and assorted utility functions

2013-04-04 Thread Laurent Pinchart
Hi Ville, Thanks for the patch. On Wednesday 27 March 2013 17:46:22 ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > struct drm_rect represents a simple rectangle. The utility > functions are there to help driver writers. > > v2: Moved the region stuff into its own file, made the

Re: [PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Peter Zijlstra
On Thu, 2013-04-04 at 15:31 +0200, Daniel Vetter wrote: > Hm, I guess your aim with the TASK_DEADLOCK wakeup is to bound the > wait > times of older task. No, imagine the following: struct ww_mutex A, B; struct mutex C; task-O task-Y task-X A B

Re: [PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Peter Zijlstra
On Thu, 2013-04-04 at 15:31 +0200, Daniel Vetter wrote: > The trick with the current code is that the oldest task > will never see an -EAGAIN ever and hence is guaranteed to make forward > progress. If the task is really unlucky though it might be forced to > wait > for a younger task for every ww_

Re: [PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Peter Zijlstra
On Thu, 2013-04-04 at 15:31 +0200, Daniel Vetter wrote: > The thing is now that you're not expected to hold these locks for a > long > time - if you need to synchronously stall while holding a lock > performance > will go down the gutters anyway. And since most current > gpus/co-processors > still

Re: [PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Peter Zijlstra
On Thu, 2013-04-04 at 15:31 +0200, Daniel Vetter wrote: > Another big reason for having a start/end marker like you've describe > is > lockdep support. Yeah, I saw how you did that.. but there's other ways of making it work too, you could for instance create a new validation state for this type of

Re: [PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Peter Zijlstra
On Thu, 2013-04-04 at 15:31 +0200, Daniel Vetter wrote: > I'm a bit confused about the different classes you're talking about. > Since > the ticket queue is currently a global counter there's only one class > of > ww_mutexes. Right, so that's not something that's going to fly.. we need to support

Re: [PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Peter Zijlstra
On Thu, 2013-04-04 at 15:31 +0200, Daniel Vetter wrote: > We've discussed this approach of using (rt-prio, age) instead of just > age > to determine the the "oldness" of a task for deadlock-breaking with > -EAGAIN. The problem is that through PI boosting or normal rt-prio > changes > while tasks ar

flushing uninitialized work item in radeon init failure path

2013-04-04 Thread Tejun Heo
Hello, The following happens on my test machine which has an on-board VGA which is not connected. The failure is expected but, in the failure path, it calls radeon_irq_kms_fini() which flushes @rdev->*_work when @rdev seemingly hasn't gone through radeon_irq_kms_init(), ending up trying to flush

Re: [PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Peter Zijlstra
On Thu, 2013-04-04 at 15:31 +0200, Daniel Vetter wrote: > Well, it was a good read and I'm rather happy that we agree on the > ww_ctx > thing (whatever it's called in the end), even though we have slightly > different reasons for it. Yeah, I tried various weirdness to get out from under it, but th

Re: [PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Daniel Vetter
On Thu, Apr 4, 2013 at 3:31 PM, Daniel Vetter wrote: >> In this case when O blocks Y isn't actually blocked, so our >> TASK_DEADLOCK wakeup doesn't actually achieve anything. >> >> This means we also have to track (task) state so that once Y tries to >> acquire A (creating the actual deadlock) we'

Re: [PATCH 02/10] drm/radeon: UVD bringup v7

2013-04-04 Thread Alex Deucher
On Tue, Apr 2, 2013 at 7:18 PM, Christian König wrote: > Just everything needed to decode videos using UVD. > > v6: just all the bugfixes and support for R7xx-SI merged in one patch > v7: UVD_CGC_GATE is a write only register, lockup detection fix > > Signed-off-by: Christian König > --- > dif

Re: [PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Daniel Vetter
On Thu, Apr 4, 2013 at 6:38 PM, Peter Zijlstra wrote: > On Thu, 2013-04-04 at 15:31 +0200, Daniel Vetter wrote: >> Hm, I guess your aim with the TASK_DEADLOCK wakeup is to bound the >> wait >> times of older task. > > No, imagine the following: > > struct ww_mutex A, B; > struct mutex C; > >

Re: [PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Peter Zijlstra
On Thu, 2013-04-04 at 15:31 +0200, Daniel Vetter wrote: > We do add some form of owner tracking by storing the reservation > ticket > of the current holder into every ww_mutex. So when task-Y in your > above > example tries to acquire lock A it notices that it's behind in the > global > queue and i

Re: [PATCH v2 03/20] x86, ACPI, mm: Kill max_low_pfn_mapped

2013-04-04 Thread Tejun Heo
Hello, On Sat, Mar 09, 2013 at 10:44:30PM -0800, Yinghai Lu wrote: > Now we have arch_pfn_mapped array, and max_low_pfn_mapped should not > be used anymore. > > User should use arch_pfn_mapped or just 1UL<<(32-PAGE_SHIFT) instead. > > Only user is ACPI_INITRD_TABLE_OVERRIDE, and it should not us

[Bug 62959] r600g (HD 6950 Cayman) fails piglit tests and hangs system

2013-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=62959 --- Comment #9 from Alexandre Demers --- I was able to run it as supposed. I was missing the "DISPLAY=:0". I think I have identified which test fails first. I'll double-check and I'll tell you more as soon as I have time in the next couple of day

[Bug 57567] 3.7 radeonfb broken on efivga screens

2013-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57567 --- Comment #22 from Vladimir --- I've just tested vanilla 3.9-rc5, to be sure that it's actually your patch that make things a little bit better, not 3.9 kernel itself. unpatched 3.9-rc5 - same ersult as 3.7/3.8 kernel, so yeah, it's definetly

[Bug 62959] r600g (HD 6950 Cayman) fails piglit tests and hangs system

2013-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=62959 --- Comment #10 from Marek Olšák --- These tests hang if virtual memory is enabled. Some of them may hang randomly: glean/polygonOffset glean/pointAtten security/initialized-texmemory security/initialized-fbo ARB_framebuffer_object/fbo-blit-stre

Re: [PATCH v2 03/20] x86, ACPI, mm: Kill max_low_pfn_mapped

2013-04-04 Thread Yinghai Lu
On Thu, Apr 4, 2013 at 10:36 AM, Tejun Heo wrote: > Hello, > > On Sat, Mar 09, 2013 at 10:44:30PM -0800, Yinghai Lu wrote: >> Now we have arch_pfn_mapped array, and max_low_pfn_mapped should not >> be used anymore. >> >> User should use arch_pfn_mapped or just 1UL<<(32-PAGE_SHIFT) instead. >> >> O

[Bug 62959] r600g (HD 6950 Cayman) fails piglit tests and hangs system

2013-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=62959 --- Comment #11 from Alexandre Demers --- (In reply to comment #10) > These tests hang if virtual memory is enabled. Some of them may hang > randomly: > > glean/polygonOffset > glean/pointAtten > security/initialized-texmemory > security/initial

[Bug 57567] 3.7 radeonfb broken on efivga screens

2013-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57567 --- Comment #23 from Alexandre Demers --- (In reply to comment #21) > Created attachment 77407 [details] > screenshot of 3.9 > > screenshot of what happens I don't have a picture as neat as yours. I also saw a change in the display, but my disp

[Bug 62959] r600g (HD 6950 Cayman) fails piglit tests and hangs system

2013-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=62959 --- Comment #12 from Marek Olšák --- No, I just made the list today by watching piglit logs over ssh. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing li

[Bug 57567] 3.7 radeonfb broken on efivga screens

2013-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57567 Alex Deucher changed: What|Removed |Added Attachment #77383|0 |1 is obsolete|

[Bug 43655] Latest radeon dri driver on HD6950 with GRUB set "GRUB_GFXPAYLOAD_LINUX=keep" put the display in a flickering state

2013-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43655 --- Comment #30 from Alex Deucher --- does attachment 77441 help? -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org h

[Bug 62976] UEFI + SUMO [6550D] freeze after loading radeon

2013-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=62976 --- Comment #6 from Alex Deucher --- Can you try attachment 77441 as well? -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesk

Re: [PATCH v3 1/4] drm: Add struct drm_rect and assorted utility functions

2013-04-04 Thread Ville Syrjälä
On Thu, Apr 04, 2013 at 06:38:15PM +0200, Laurent Pinchart wrote: > Hi Ville, > > Thanks for the patch. > > On Wednesday 27 March 2013 17:46:22 ville.syrj...@linux.intel.com wrote: > > From: Ville Syrjälä > > > > struct drm_rect represents a simple rectangle. The utility > > functions are there

[Bug 57567] 3.7 radeonfb broken on efivga screens

2013-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57567 --- Comment #25 from Vladimir --- I have strange results few notes first, 3.8-ati is 3.8.5 kernel + reverted 62444b7462a2b98bc78d68736c03a7c4e66ba7e2 3.9-rc5_patched is 3.9-rc5 with your latest patch 3.8 - ubuntu vanilla 3.8.5 so, here is al

[Bug 57567] 3.7 radeonfb broken on efivga screens

2013-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57567 --- Comment #26 from Vladimir --- Ah, and without patch it is always same as with 3.8. So patch matters. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing

Re: [PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Daniel Vetter
On Thu, Apr 4, 2013 at 6:49 PM, Peter Zijlstra wrote: > On Thu, 2013-04-04 at 15:31 +0200, Daniel Vetter wrote: >> We've discussed this approach of using (rt-prio, age) instead of just >> age >> to determine the the "oldness" of a task for deadlock-breaking with >> -EAGAIN. The problem is that thr

Re: BUG: kworker hangs the GPU on drm and i915 since 3.8.x under X11

2013-04-04 Thread Daniel Vetter
Two things: - Please always cc relevant mailing lists when reporting a bug. - With lockdep enabled (CONFIG_PROVE_LOCKING) you should get detailed backtraces and lists of held lock when the kworker gets stuck. Can you please reproduce with that option enabled and then attach the dmesg? Thanks, Dani

Re: [PATCH v3 1/4] drm: Add struct drm_rect and assorted utility functions

2013-04-04 Thread Laurent Pinchart
Hi Ville, On Thursday 04 April 2013 22:52:37 Ville Syrjälä wrote: > On Thu, Apr 04, 2013 at 06:38:15PM +0200, Laurent Pinchart wrote: > > On Wednesday 27 March 2013 17:46:22 ville.syrj...@linux.intel.com wrote: > > > From: Ville Syrjälä > > > > > > struct drm_rect represents a simple rectangle.

[Bug 43655] Latest radeon dri driver on HD6950 with GRUB set "GRUB_GFXPAYLOAD_LINUX=keep" put the display in a flickering state

2013-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43655 --- Comment #31 from Alexandre Demers --- (In reply to comment #30) > does attachment 77441 [details] [review] help? Still the same. 1 boot on 4 was OK, the three others were showing the same kind of corruptions as before. -- You are receiving

Re: [PATCHv2 0/5] videomode patches

2013-04-04 Thread Tomi Valkeinen
On 2013-03-27 08:58, Tomi Valkeinen wrote: > Hi, > > Here's a v2 of the videomode series. The changes compared to v1: > > * Dropped "videomode: rename fields", as it received only negative comments > * New patch: "videomode: videomode_from_timing work" > > Patches 1-4 are unchanged. > > Tomi >

UVD fails to init on rv790

2013-04-04 Thread Dieter Nützel
coding to PIX_FMT_NONE is not supported. [h264_vdpau @ 0x8b3db80]ff_MPV_common_init() failed. [h264_vdpau @ 0x8b3db80]decode_slice_header error [h264_vdpau @ 0x8b3db80]no frame! Error while decoding frame! Too many audio packets in the buffer: (4096 in 1401092 bytes). Maybe you are playing a non-interleaved stream/file or the codec failed? For AVI files, try to force non-interleaved mode with the -ni option. FATAL: Could not initialize video filters (-vf) or video output (-vo). Exiting... (End of file) => See log file Any further hint? -Dieter -- next part -- A non-text attachment was scrubbed... Name: mplayer.log.bz2 Type: application/x-bzip2 Size: 3647 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130404/840de867/attachment.bin>

[PATCH v3 0/2] dma-buf: Add support for debugfs

2013-04-04 Thread Sumit Semwal
The patch series adds a much-missed support for debugfs to dma-buf framework. Based on the feedback received on v1 of this patch series, support is also added to allow exporters to provide name-strings that will prove useful while debugging. Some more magic can be added for more advanced debuggin

[PATCH v3 1/2] dma-buf: replace dma_buf_export() with dma_buf_export_named()

2013-04-04 Thread Sumit Semwal
For debugging purposes, it is useful to have a name-string added while exporting buffers. Hence, dma_buf_export() is replaced with dma_buf_export_named(), which additionally takes 'exp_name' as a parameter. For backward compatibility, and for lazy exporters who don't wish to name themselves, a #de

[PATCH v3 2/2] dma-buf: Add debugfs support

2013-04-04 Thread Sumit Semwal
Add debugfs support to make it easier to print debug information about the dma-buf buffers. Cc: Dave Airlie [minor fixes on init and warning fix] Signed-off-by: Sumit Semwal --- changes since v2: (based on review comments from Laurent Pinchart) - reordered functions to avoid forward declaratio

[PATCHv9 0/9] Support Tegra 2D hardware

2013-04-04 Thread Terje Bergström
On 22.03.2013 16:54, Thierry Reding wrote: > On Fri, Mar 22, 2013 at 04:34:00PM +0200, Terje Bergstrom wrote: >> This set of patches adds support for Tegra20 and Tegra30 host1x and >> 2D. It is based on linux-next-20130322 with RTC fixes applied. (...) > For the series: > > Reviewed-by: Thierry Re

[Bug 57567] 3.7 radeonfb broken on efivga screens

2013-04-04 Thread bugzilla-dae...@freedesktop.org
crubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130404/d7b369aa/attachment.html>

[Bug 57567] 3.7 radeonfb broken on efivga screens

2013-04-04 Thread bugzilla-dae...@freedesktop.org
nee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130404/60433d19/attachment.html>

radeonsi tiling dilema

2013-04-04 Thread Michel Dänzer
On Mit, 2013-04-03 at 13:04 -0400, Jerome Glisse wrote: > On Wed, Apr 03, 2013 at 06:11:26PM +0200, Michel D?nzer wrote: > > On Mit, 2013-04-03 at 09:57 -0400, Jerome Glisse wrote: > > > On Wed, Apr 3, 2013 at 5:37 AM, Michel D?nzer > > > wrote: > > > > The information we loose is what

[PATCH] radeon: add si tiling support

2013-04-04 Thread Michel Dänzer
On Mit, 2013-04-03 at 17:22 -0400, j.glisse at gmail.com wrote: > From: Jerome Glisse > > Signed-off-by: Jerome Glisse > --- > include/drm/radeon_drm.h | 61 + > radeon/radeon_surface.c | 663 > +++ > radeon/radeon_surface.h | 30 +++ > 3 fi

[PATCH] drm/radeon: add si tile mode array query

2013-04-04 Thread Michel Dänzer
On Mit, 2013-04-03 at 17:22 -0400, j.glisse at gmail.com wrote: > From: Jerome Glisse > > Allow userspace to query for the tile mode array so userspace can properly > compute surface pitch and alignment requirement depending on tiling. > > Signed-off-by: Jerome Glisse [...] > diff --git a/dr

[PATCH] drm/radeon: UVD support for RV710-SI

2013-04-04 Thread Christian König
Am 03.04.2013 19:57, schrieb Andreas Boll: > Could you bump drm minor version? Not necessary, submitting an UVD create messages while creating the driver object should just result in an error code when UVD is not available. When handled like this it doesn't matter if the kernel has no UVD suppo

radeonsi tiling dilema

2013-04-04 Thread Christian König
Am 03.04.2013 17:57, schrieb Alex Deucher: > On Wed, Apr 3, 2013 at 11:48 AM, Christian K?nig > wrote: >> Am 03.04.2013 15:57, schrieb Jerome Glisse: >> >> On Wed, Apr 3, 2013 at 5:37 AM, Michel D?nzer wrote: >> >> On Die, 2013-04-02 at 14:13 -0400, Jerome Glisse wrote: >> >> So i am facing a dil

[PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Peter Zijlstra
I'm sorry, this email ended up quite a bit longer than I had hoped for; please bear with me. On Tue, 2013-04-02 at 18:59 +0200, Peter Zijlstra wrote: > struct ww_mutex; /* wound/wait */ > > int mutex_wound_lock(struct ww_mutex *); /* returns -EDEADLK */ > int mutex_wait_lock(struct ww_mute

[PATCH] drm/radeon: UVD support for RV710-SI

2013-04-04 Thread Paul Menzel
lists.freedesktop.org/archives/mesa-dev/2013-April/037049.html -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: <http://lists.freedesktop.org/archiv

[Bug 57567] 3.7 radeonfb broken on efivga screens

2013-04-04 Thread bugzilla-dae...@freedesktop.org
|| -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130404/9469a60f/attachment.html>

[PATCH v4 04/21] modetest: Add a command line parameter to select the driver

2013-04-04 Thread Laurent Pinchart
Hi Ville, On Wednesday 03 April 2013 13:06:30 Ville Syrj?l? wrote: > On Tue, Mar 19, 2013 at 03:55:45PM +0100, Laurent Pinchart wrote: > > If the -M parameter is specified, modetest will use the requested device > > name instead of trying its builtin list of device names. > > > > Signed-off-by: L

[PATCH 02/10] drm/radeon: UVD bringup v7

2013-04-04 Thread Christian König
Am 03.04.2013 19:10, schrieb Jerome Glisse: > On Wed, Apr 03, 2013 at 05:53:55PM +0200, Christian K?nig wrote: >> Am 03.04.2013 16:53, schrieb Jerome Glisse: >>> On Wed, Apr 03, 2013 at 01:18:31AM +0200, Christian K?nig wrote: [SNIP] /* hardcode those limit for now */ #defin

[PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Daniel Vetter
On Thu, Apr 04, 2013 at 02:01:48PM +0200, Peter Zijlstra wrote: > > I'm sorry, this email ended up quite a bit longer than I had hoped for; > please bear with me. > > On Tue, 2013-04-02 at 18:59 +0200, Peter Zijlstra wrote: > > struct ww_mutex; /* wound/wait */ > > > > int mutex_wound_lock(s

[PATCH] radeon: add si tiling support v2

2013-04-04 Thread j.gli...@gmail.com
From: Jerome Glisse v2: Only writte tile index if flags for it is set Signed-off-by: Jerome Glisse --- include/drm/radeon_drm.h | 61 + radeon/radeon_surface.c | 664 +++ radeon/radeon_surface.h | 31 +++ 3 files changed, 711 insertions(+), 4

[RFC 0/3] drm/tegra: Add 3D support

2013-04-04 Thread Thierry Reding
This small series of patches adds support for the 3D engine found on NVIDIA Tegra SoCs. It builds on top of Terje's and Arto's host1x and gr2d patches. A couple of things still need to be done before this can be merged, though. Patch 1 is the central piece of the series. It adds support for using

[RFC 1/3] WIP: drm/tegra: Add 3D support

2013-04-04 Thread Thierry Reding
This is a preliminary patch that adds support for 3D support on top of Terje's and Arto's host1x and gr2d patches. There are a few things that still need to be resolved before this can be applied. I haven't been able to test Tegra30 support so it'd be good if somebody with hardware could give it a

[RFC 2/3] drm/tegra: Support the XBGR8888 pixelformat

2013-04-04 Thread Thierry Reding
While at it, also include the RGB565 pixelformat in the list of formats supported by overlays. Signed-off-by: Thierry Reding --- drivers/gpu/host1x/drm/dc.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/host1x/drm/dc.c b/drivers/gpu/host1x/drm/dc.c index edfe0ee..14a09a4 1

[RFC 3/3] drm/tegra: Add support for tiled buffer objects

2013-04-04 Thread Thierry Reding
The gr2d and gr3d engines work more efficiently on buffers with a tiled memory layout. Allow created buffers to be marked as tiled so that the display controller can scan them out properly. Signed-off-by: Thierry Reding --- drivers/gpu/host1x/drm/dc.c | 11 +++ drivers/gpu/host1x/drm/dc

UVD on RV770/RV790

2013-04-04 Thread Christian König
Hi everyone, Sorry to disappoint you but I've made a mistake in classifying the different UVD hardware generations. RV770 and RV790 have the same UVD block as on RS780 and RS880 and not the same as RV710, so it's currently NOT supported. It's may fault because of the strange chipset numbering

[Bug 63124] New: [r600g] HyperZ lockup on REDWOOD in Half Life 2 Deathmatch

2013-04-04 Thread bugzilla-dae...@freedesktop.org
are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130404/9ef83b4d/attachment.html>

[RFC 0/3] drm/tegra: Add 3D support

2013-04-04 Thread Thierry Reding
om/grate-driver Thanks Rob for pointing this out! Thierry -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/201304

[Bug 63124] [r600g] HyperZ lockup on REDWOOD in Half Life 2 Deathmatch

2013-04-04 Thread bugzilla-dae...@freedesktop.org
-1-ARCH #1 SMP PREEMPT Fri Mar 29 19:18:14 CET 2013 x86_64 GNU/Linux -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130

[Bug 63124] [r600g] HyperZ lockup on REDWOOD in Half Life 2 Deathmatch

2013-04-04 Thread bugzilla-dae...@freedesktop.org
part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130404/6102bbb6/attachment.html>

[Bug 62889] ColorTiling results in glitches on Radeon HD 7970 + Glamor

2013-04-04 Thread bugzilla-dae...@freedesktop.org
bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130404/db8e8726/attachment.html>

[PATCH v4 09/21] modetest: Allow specifying plane position

2013-04-04 Thread Laurent Pinchart
Hi Ville, On Wednesday 27 March 2013 19:15:31 Ville Syrj?l? wrote: > On Wed, Mar 27, 2013 at 05:57:20PM +0200, Ville Syrj?l? wrote: > > On Tue, Mar 19, 2013 at 03:55:50PM +0100, Laurent Pinchart wrote: > > > Extend the -P option to allow specifying the plane x and y offsets. The > > > position is

[PATCH v3 1/4] drm: Add struct drm_rect and assorted utility functions

2013-04-04 Thread Laurent Pinchart
Hi Ville, Thanks for the patch. On Wednesday 27 March 2013 17:46:22 ville.syrjala at linux.intel.com wrote: > From: Ville Syrj?l? > > struct drm_rect represents a simple rectangle. The utility > functions are there to help driver writers. > > v2: Moved the region stuff into its own file, made

[PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Peter Zijlstra
On Thu, 2013-04-04 at 15:31 +0200, Daniel Vetter wrote: > Hm, I guess your aim with the TASK_DEADLOCK wakeup is to bound the > wait > times of older task. No, imagine the following: struct ww_mutex A, B; struct mutex C; task-O task-Y task-X A B

[PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Peter Zijlstra
On Thu, 2013-04-04 at 15:31 +0200, Daniel Vetter wrote: > The trick with the current code is that the oldest task > will never see an -EAGAIN ever and hence is guaranteed to make forward > progress. If the task is really unlucky though it might be forced to > wait > for a younger task for every ww_

[PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Peter Zijlstra
On Thu, 2013-04-04 at 15:31 +0200, Daniel Vetter wrote: > The thing is now that you're not expected to hold these locks for a > long > time - if you need to synchronously stall while holding a lock > performance > will go down the gutters anyway. And since most current > gpus/co-processors > still

[PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Peter Zijlstra
On Thu, 2013-04-04 at 15:31 +0200, Daniel Vetter wrote: > Another big reason for having a start/end marker like you've describe > is > lockdep support. Yeah, I saw how you did that.. but there's other ways of making it work too, you could for instance create a new validation state for this type of

[PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Peter Zijlstra
On Thu, 2013-04-04 at 15:31 +0200, Daniel Vetter wrote: > I'm a bit confused about the different classes you're talking about. > Since > the ticket queue is currently a global counter there's only one class > of > ww_mutexes. Right, so that's not something that's going to fly.. we need to support

[PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Peter Zijlstra
On Thu, 2013-04-04 at 15:31 +0200, Daniel Vetter wrote: > We've discussed this approach of using (rt-prio, age) instead of just > age > to determine the the "oldness" of a task for deadlock-breaking with > -EAGAIN. The problem is that through PI boosting or normal rt-prio > changes > while tasks ar

flushing uninitialized work item in radeon init failure path

2013-04-04 Thread Tejun Heo
Hello, The following happens on my test machine which has an on-board VGA which is not connected. The failure is expected but, in the failure path, it calls radeon_irq_kms_fini() which flushes @rdev->*_work when @rdev seemingly hasn't gone through radeon_irq_kms_init(), ending up trying to flush

[PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Peter Zijlstra
On Thu, 2013-04-04 at 15:31 +0200, Daniel Vetter wrote: > Well, it was a good read and I'm rather happy that we agree on the > ww_ctx > thing (whatever it's called in the end), even though we have slightly > different reasons for it. Yeah, I tried various weirdness to get out from under it, but th

[PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Daniel Vetter
On Thu, Apr 4, 2013 at 3:31 PM, Daniel Vetter wrote: >> In this case when O blocks Y isn't actually blocked, so our >> TASK_DEADLOCK wakeup doesn't actually achieve anything. >> >> This means we also have to track (task) state so that once Y tries to >> acquire A (creating the actual deadlock) we'

[PATCH 02/10] drm/radeon: UVD bringup v7

2013-04-04 Thread Alex Deucher
On Tue, Apr 2, 2013 at 7:18 PM, Christian K?nig wrote: > Just everything needed to decode videos using UVD. > > v6: just all the bugfixes and support for R7xx-SI merged in one patch > v7: UVD_CGC_GATE is a write only register, lockup detection fix > > Signed-off-by: Christian K?nig > --- > di

[PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Daniel Vetter
On Thu, Apr 4, 2013 at 6:38 PM, Peter Zijlstra wrote: > On Thu, 2013-04-04 at 15:31 +0200, Daniel Vetter wrote: >> Hm, I guess your aim with the TASK_DEADLOCK wakeup is to bound the >> wait >> times of older task. > > No, imagine the following: > > struct ww_mutex A, B; > struct mutex C; > >

[PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-04-04 Thread Peter Zijlstra
On Thu, 2013-04-04 at 15:31 +0200, Daniel Vetter wrote: > We do add some form of owner tracking by storing the reservation > ticket > of the current holder into every ww_mutex. So when task-Y in your > above > example tries to acquire lock A it notices that it's behind in the > global > queue and i

  1   2   >