Re: psb_gfx removal

2012-06-05 Thread Greg KH
On Tue, Jun 05, 2012 at 03:01:06PM +0200, Jan Engelhardt wrote: > [fixed up gregkh's address] > > Hi, > > > I have here a "Wortmann AG terra Pad 1051", which has a GMA500-like > device (PCI ID 8086:4102). Using Linux 3.1.x (openSUSE 12.1's default), > loading psb_gfx.ko crashed the machine. I

[PATCH v2] DRM: add drm gem cma helper

2012-06-05 Thread InKi Dae
2012/6/5 Sascha Hauer : > On Fri, Jun 01, 2012 at 12:29:47AM +0900, InKi Dae wrote: >> Hi Sascha, >> >> >> +struct drm_gem_cma_object *drm_gem_cma_create(struct drm_device *drm, >> >> + ? ? ? ? ? ? unsigned int size) >> >> +{ >> >> + ? ? struct drm_gem_cma_object *cma_obj; >> >> + ? ? struct drm_ge

[PULL] drm-intel-fixes

2012-06-05 Thread Daniel Vetter
Meh, I've forgotten to cc the appropriate set of lists. -Daniel On Tue, Jun 5, 2012 at 9:18 PM, Daniel Vetter wrote: > Hi Dave > > A few fixes for 3.5. Most of them make corner-cases a bit more robust > (hotplug for b0rked kvm switches, driver init/reset/resume), almost all of > them are cc stabl

Re: [Linaro-mm-sig] [PATCHv6 00/13] Integration of videobuf2 with dmabuf

2012-06-05 Thread Laurent Pinchart
Hi Rebecca, On Monday 04 June 2012 12:34:23 Rebecca Schultz Zavin wrote: > I have a system where the data is planar, but the kernel drivers > expect to get one allocation with offsets for the planes. I can't > figure out how to do that with the current dma_buf implementation. I > thought I could

[Bug 36602] Hierarchical Z support for R600

2012-06-05 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36602 --- Comment #43 from darkbasic 2012-06-05 13:27:06 PDT --- Nice :) -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.

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

2012-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #60 from Alexandre Demers 2012-06-05 19:20:47 PDT --- Created attachment 62619 --> https://bugs.freedesktop.org/attachment.cgi?id=62619 snippet when gnome-shell is able to fall bak on its feet snippet when gnome-shell is able to f

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

2012-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #59 from Alexandre Demers 2012-06-05 19:19:18 PDT --- Created attachment 62618 --> https://bugs.freedesktop.org/attachment.cgi?id=62618 dmesg related to the xsession-error file This dmesg happened with the next attachment: xsessio

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

2012-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #58 from Alexandre Demers 2012-06-05 19:18:10 UTC --- I noticed a different clue that could help track down the bug: when X doesn't completly freezes, there is a backtrace under .xsession-error. So I'm attaching both dmesg and the xs

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

2012-06-05 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #58 from Alexandre Demers 2012-06-05 19:18:10 UTC --- I noticed a different clue that could help track down the bug: when X doesn't completly freezes, there is a backtrace under .xsession-error. So I'm attaching both dmesg and the xs

[Bug 36602] Hierarchical Z support for R600

2012-06-05 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36602 --- Comment #42 from Jerome Glisse 2012-06-05 11:44:25 PDT --- http://people.freedesktop.org/~glisse/0001-r600g-add-htile-support-v4.patch Is updated patch, this one actually improve performance -- Configure bugmail: https://bugs.freedesktop.

[Bug 50616] glClear occasionally taking >60ms

2012-06-05 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=50616 --- Comment #5 from Lauri Kasanen 2012-06-05 11:42:35 PDT --- OK, with swapbufferswait off, vblank_mode=0, and added glFinish, most of the time is indeed spent in glFinish, up to 60ms. glClear takes on average 110 us, with the highest being 2.6

[PATCH] drm: Skip too big EDID extensions

2012-06-05 Thread Takashi Iwai
When the number of extension blocks in EDID is too big, it's more likely a broken data, thus better to skip them. We've got a bug report that a machine spews "invalid block EDID" errors at boot for 400 times which delays the boot very much, and this patch fixes it. Certainly it's a hardware-speci

psb_gfx removal

2012-06-05 Thread Alan Cox
On Tue, 5 Jun 2012 14:51:54 +0200 (CEST) Jan Engelhardt wrote: > Hi, > > > I have here a "Wortmann AG terra Pad 1051", which has a GMA500-like > device (PCI ID 8086:4102). Using Linux 3.1.x (openSUSE 12.1's default), > loading psb_gfx.ko crashed the machine. I therefore tried Linux 3.4.0, > w

Re: [Mesa-dev] [PATCH 00/25] i915 HW context support

2012-06-05 Thread Kenneth Graunke
On 06/04/2012 02:42 PM, Ben Widawsky wrote: > Setting myself up for a late night crying session once again. Most of the > people reading this probably know the history and reasons for the patches. If > not, you can search the intel-gfx mailing list to try to learn more. I won't > recap the whole th

[Mesa-dev] [PATCH 00/25] i915 HW context support

2012-06-05 Thread Kenneth Graunke
On 06/04/2012 02:42 PM, Ben Widawsky wrote: > Setting myself up for a late night crying session once again. Most of the > people reading this probably know the history and reasons for the patches. If > not, you can search the intel-gfx mailing list to try to learn more. I won't > recap the whole th

[PATCH] drm/i2c/ch7006: Convert to dev_pm_ops

2012-06-05 Thread Mark Brown
The I2C specific suspend and resume functions have been deprecated and printing a warning on boot for over a year, dev_pm_ops should be used instead so convert to that. Also remove the suspend function since all it does is log. Signed-off-by: Mark Brown Acked-by: Francisco Jerez --- drivers/gp

[Bug 50655] ATI RV670 [Radeon HD 3870] Ioquake games causes GPU lockup (waiting for 0x00003039 last fence id 0x00003030)

2012-06-05 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=50655 Michel D?nzer changed: What|Removed |Added Component|Drivers/DRI/R600|Drivers/Gallium/r600 --- Comment #8 from

[PATCH 3/3] intel: wait render timeout implementation

2012-06-05 Thread Ben Widawsky
int drm_intel_gem_bo_wait(drm_intel_bo *bo, uint64_t timeout_ns) This should bump the libdrm version. We're waiting for context support so we can do both features in one bump. v2: don't return remaining timeout amount use get param and fallback for older kernels v3: only doing getparam at init p

[PATCH 2/3] intel: wait render header updates

2012-06-05 Thread Ben Widawsky
make headers_install in kernel. Copy to here. v2: signed ns_timeout Cc: Chris Wilson Signed-off-by: Ben Widawsky --- include/drm/i915_drm.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h index 725a8de..4931107 100644 --- a/inc

[PATCH 3/3] intel: wait render timeout implementation

2012-06-05 Thread Ben Widawsky
int drm_intel_gem_bo_wait(drm_intel_bo *bo, uint64_t timeout_ns) This should bump the libdrm version. We're waiting for context support so we can do both features in one bump. v2: don't return remaining timeout amount use get param and fallback for older kernels v3: only doing getparam at init p

[PATCH 2/3] intel: wait render header updates

2012-06-05 Thread Ben Widawsky
make headers_install in kernel. Copy to here. v2: signed ns_timeout Cc: Chris Wilson Signed-off-by: Ben Widawsky --- include/drm/i915_drm.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h index 725a8de..4931107 100644 --- a/inc

[PATCH 3/3] intel: wait render timeout implementation

2012-06-05 Thread Ben Widawsky
int drm_intel_gem_bo_wait(drm_intel_bo *bo, uint64_t timeout_ns) This should bump the libdrm version. We're waiting for context support so we can do both features in one bump. v2: don't return remaining timeout amount use get param and fallback for older kernels v3: only doing getparam at init

[git pull] drm radeon fixes + new pci ids.

2012-06-05 Thread Dave Airlie
Hi Linus, this is just radeon fixes and a bunch of new PCI ids. The fixes are for a deadlock, an audio regression, and a couple of audio fixes. Dave. The following changes since commit 99becf1328d8d71dd6f4480e3591d7dcdb389e57: Pull 'for-linus' branches of git://git.kernel.org/pub/scm/linux

[PATCH 3/3] intel: wait render timeout implementation

2012-06-05 Thread Ben Widawsky
int drm_intel_gem_bo_wait(drm_intel_bo *bo, uint64_t timeout_ns) This should bump the libdrm version. We're waiting for context support so we can do both features in one bump. v2: don't return remaining timeout amount use get param and fallback for older kernels v3: only doing getparam at init

psb_gfx removal

2012-06-05 Thread Jan Engelhardt
Hi, I have here a "Wortmann AG terra Pad 1051", which has a GMA500-like device (PCI ID 8086:4102). Using Linux 3.1.x (openSUSE 12.1's default), loading psb_gfx.ko crashed the machine. I therefore tried Linux 3.4.0, where this crash does not occur thankfully. According to your commit b7cdd9e632

[GIT PULL] updated exynos-drm-fixes

2012-06-05 Thread Inki Dae
Hi Dave, Please pull from git://git.infradead.org/users/kmpark/linux-samsung exynos-drm-fixes this branch is based on git repository below: git://people.freedesktop.org/~airlied/linux.git drm-fixes commit-id: 47819ba234d41465b76f179ba674ff549255a5d2 this patch set had bee

[Bug 36602] Hierarchical Z support for R600

2012-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36602 --- Comment #43 from darkbasic 2012-06-05 13:27:06 PDT --- Nice :) -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. __

[PATCH] radeon: Make PM info available to all, not just debug users

2012-06-05 Thread Lauri Kasanen
On Mon, 4 Jun 2012 13:05:46 -0400 Jerome Glisse wrote: > My dream here is to talk with the gnome folks to have them make some > kind GPU module we could write and that would show in control center. > I just need to corner some of my gnome coworker to work something out. > So if you were using nou

[PATCH libdrm 8/8] proptest: support plane properties

2012-06-05 Thread Rob Clark
From: Rob Clark Add support to display plane properties. Signed-off-by: Rob Clark --- tests/proptest/proptest.c | 32 1 file changed, 32 insertions(+) diff --git a/tests/proptest/proptest.c b/tests/proptest/proptest.c index fa34a48..aac6b8f 100644 --- a/test

[PATCH libdrm 7/8] proptest: support bitmask properties

2012-06-05 Thread Rob Clark
From: Rob Clark Add support to display bitmask properties. Signed-off-by: Rob Clark --- tests/proptest/proptest.c |8 1 file changed, 8 insertions(+) diff --git a/tests/proptest/proptest.c b/tests/proptest/proptest.c index 52896fe..fa34a48 100644 --- a/tests/proptest/proptest.c +

[PATCH libdrm 6/8] modetest: support plane properties

2012-06-05 Thread Rob Clark
From: Rob Clark Add support to display plane properties. Signed-off-by: Rob Clark Reviewed-by: Paulo Zanoni --- tests/modetest/modetest.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c index dea271a..dc84cf3 100644 -

[PATCH libdrm 5/8] modetest: support bitmask properties

2012-06-05 Thread Rob Clark
From: Rob Clark Add support to display bitmask properties. Signed-off-by: Rob Clark Reviewed-by: Paulo Zanoni --- tests/modetest/modetest.c |8 1 file changed, 8 insertions(+) diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c index ce57e65..dea271a 100644 --- a/

[PATCH libdrm 4/8] Add support for bitmask properties

2012-06-05 Thread Rob Clark
From: Rob Clark A bitmask property is similar to an enum. The enum value is a bit position (0-63), and valid property values consist of a mask of zero or more of (1 << enum_val[n]). Signed-off-by: Rob Clark Reviewed-by: Paulo Zanoni --- include/drm/drm_mode.h |1 + xf86drmMode.c

[PATCH libdrm 3/8] tests: add proptest

2012-06-05 Thread Rob Clark
From: Paulo Zanoni A small program that allows us to see and modify properties. Reviewed-by: Rob Clark Signed-off-by: Paulo Zanoni --- configure.ac |1 + tests/Makefile.am |2 +- tests/proptest/Makefile.am | 11 ++ tests/proptest/proptest.c | 317 +++

[PATCH libdrm 2/8] modetest: print CRTC properties

2012-06-05 Thread Rob Clark
From: Paulo Zanoni Reviewed-by: Eugeni Dodonov Reviewed-by: Rob Clark Signed-off-by: Paulo Zanoni --- tests/modetest/modetest.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c index 8012ecc..ce57e65 100644 --- a/test

[PATCH libdrm 1/8] Add support for generic object properties IOCTLs

2012-06-05 Thread Rob Clark
From: Paulo Zanoni New library calls: - drmModeObjectGetProperties - drmModeFreeObjectProperties - drmModeObjectSetProperties Reviewed-by: Eugeni Dodonov Reviewed-by: Rob Clark Signed-off-by: Paulo Zanoni --- include/drm/drm.h |2 ++ include/drm/drm_mode.h | 24 ++ xf8

[PATCH libdrm 0/8] Latest properties patches

2012-06-05 Thread Rob Clark
From: Rob Clark The first 6 patches are a re-send of what has already been sent by Paulo and myself, and the last two add bitmask and plane properties support to proptest as suggested by Paulo. I can push these to libdrm git tree if ok. Paulo Zanoni (3): Add support for generic object propert

Re: [PULL] drm-intel-fixes

2012-06-05 Thread Daniel Vetter
Meh, I've forgotten to cc the appropriate set of lists. -Daniel On Tue, Jun 5, 2012 at 9:18 PM, Daniel Vetter wrote: > Hi Dave > > A few fixes for 3.5. Most of them make corner-cases a bit more robust > (hotplug for b0rked kvm switches, driver init/reset/resume), almost all of > them are cc stabl

[FIX][STABLE 3.3+][PATCH] drm/radeon/audio: don't hardcode CRTC id

2012-06-05 Thread Rafał Miłecki
2012/6/5 Christian K?nig : > On 04.06.2012 18:49, Alex Deucher wrote: >> >> On Mon, Jun 4, 2012 at 12:36 PM, Rafa? Mi?ecki ?wrote: >>> >>> This is based on info released by AMD, should allow using audio in much >>> more cases. >>> >>> Signed-off-by: Rafa? Mi?ecki >>> Cc: >> >> Reviewed-by: Alex Deu

[PATCH 3/3] intel: wait render timeout implementation

2012-06-05 Thread Ben Widawsky
int drm_intel_gem_bo_wait(drm_intel_bo *bo, uint64_t timeout_ns) This should bump the libdrm version. We're waiting for context support so we can do both features in one bump. v2: don't return remaining timeout amount use get param and fallback for older kernels Signed-off-by: Ben Widawsky ---

[PATCH 2/3] intel: wait render header updates

2012-06-05 Thread Ben Widawsky
make headers_install in kernel. Copy to here. Signed-off-by: Ben Widawsky --- include/drm/i915_drm.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h index 725a8de..1881f8a 100644 --- a/include/drm/i915_drm.h +++ b/include/drm/i91

[PATCH] drm/radeon: make audio_init consistent across asics

2012-06-05 Thread Christian König
On 04.06.2012 23:18, alexdeucher at gmail.com wrote: > From: Alex Deucher > > Call it in the asic startup callback on all asics. > Previously r600 and rv770 called it in the startup > and resume callbacks while all the other asics called > it in the startup callback. > > Signed-off-by: Alex Deucher

[PATCH 1/3] intel: sanitize i915_drm.h

2012-06-05 Thread Ben Widawsky
run make headers_isntall on d-i-n, copy to here Signed-off-by: Ben Widawsky --- include/drm/i915_drm.h |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h index af3ce17..725a8de 100644 --- a/include/drm/i915_drm.h +++ b/includ

[PATCH 3/3] intel: wait render timeout implementation

2012-06-05 Thread Ben Widawsky
int drm_intel_gem_bo_wait(drm_intel_bo *bo, uint64_t timeout_ns) This should bump the libdrm version. We're waiting for context support so we can do both features in one bump. v2: don't return remaining timeout amount use get param and fallback for older kernels Signed-off-by: Ben Widawsky ---

[PATCH 2/3] intel: wait render header updates

2012-06-05 Thread Ben Widawsky
make headers_install in kernel. Copy to here. Signed-off-by: Ben Widawsky --- include/drm/i915_drm.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h index 725a8de..1881f8a 100644 --- a/include/drm/i915_drm.h +++ b/include/drm/i91

[PATCH 1/3] intel: sanitize i915_drm.h

2012-06-05 Thread Ben Widawsky
run make headers_isntall on d-i-n, copy to here Signed-off-by: Ben Widawsky --- include/drm/i915_drm.h |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h index af3ce17..725a8de 100644 --- a/include/drm/i915_drm.h +++ b/includ

[FIX][STABLE 3.3+][PATCH] drm/radeon/audio: don't hardcode CRTC id

2012-06-05 Thread Christian König
On 04.06.2012 18:49, Alex Deucher wrote: > On Mon, Jun 4, 2012 at 12:36 PM, Rafa? Mi?ecki wrote: >> This is based on info released by AMD, should allow using audio in much >> more cases. >> >> Signed-off-by: Rafa? Mi?ecki >> Cc: > Reviewed-by: Alex Deucher Not sure if the definition is available

[Bug 36602] Hierarchical Z support for R600

2012-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36602 --- Comment #42 from Jerome Glisse 2012-06-05 11:44:25 PDT --- http://people.freedesktop.org/~glisse/0001-r600g-add-htile-support-v4.patch Is updated patch, this one actually improve performance -- Configure bugmail: https://bugs.freedesktop.

[Bug 50616] glClear occasionally taking >60ms

2012-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50616 --- Comment #5 from Lauri Kasanen 2012-06-05 11:42:35 PDT --- OK, with swapbufferswait off, vblank_mode=0, and added glFinish, most of the time is indeed spent in glFinish, up to 60ms. glClear takes on average 110 us, with the highest being 2.6

[PATCH libdrm 8/8] proptest: support plane properties

2012-06-05 Thread Rob Clark
From: Rob Clark Add support to display plane properties. Signed-off-by: Rob Clark --- tests/proptest/proptest.c | 32 1 file changed, 32 insertions(+) diff --git a/tests/proptest/proptest.c b/tests/proptest/proptest.c index fa34a48..aac6b8f 100644 --- a/test

[PATCH libdrm 7/8] proptest: support bitmask properties

2012-06-05 Thread Rob Clark
From: Rob Clark Add support to display bitmask properties. Signed-off-by: Rob Clark --- tests/proptest/proptest.c |8 1 file changed, 8 insertions(+) diff --git a/tests/proptest/proptest.c b/tests/proptest/proptest.c index 52896fe..fa34a48 100644 --- a/tests/proptest/proptest.c +

[PATCH libdrm 6/8] modetest: support plane properties

2012-06-05 Thread Rob Clark
From: Rob Clark Add support to display plane properties. Signed-off-by: Rob Clark Reviewed-by: Paulo Zanoni --- tests/modetest/modetest.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c index dea271a..dc84cf3 100644 -

[PATCH libdrm 5/8] modetest: support bitmask properties

2012-06-05 Thread Rob Clark
From: Rob Clark Add support to display bitmask properties. Signed-off-by: Rob Clark Reviewed-by: Paulo Zanoni --- tests/modetest/modetest.c |8 1 file changed, 8 insertions(+) diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c index ce57e65..dea271a 100644 --- a/

[PATCH libdrm 4/8] Add support for bitmask properties

2012-06-05 Thread Rob Clark
From: Rob Clark A bitmask property is similar to an enum. The enum value is a bit position (0-63), and valid property values consist of a mask of zero or more of (1 << enum_val[n]). Signed-off-by: Rob Clark Reviewed-by: Paulo Zanoni --- include/drm/drm_mode.h |1 + xf86drmMode.c

[PATCH libdrm 3/8] tests: add proptest

2012-06-05 Thread Rob Clark
From: Paulo Zanoni A small program that allows us to see and modify properties. Reviewed-by: Rob Clark Signed-off-by: Paulo Zanoni --- configure.ac |1 + tests/Makefile.am |2 +- tests/proptest/Makefile.am | 11 ++ tests/proptest/proptest.c | 317 +++

[PATCH libdrm 2/8] modetest: print CRTC properties

2012-06-05 Thread Rob Clark
From: Paulo Zanoni Reviewed-by: Eugeni Dodonov Reviewed-by: Rob Clark Signed-off-by: Paulo Zanoni --- tests/modetest/modetest.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c index 8012ecc..ce57e65 100644 --- a/test

[PATCH libdrm 1/8] Add support for generic object properties IOCTLs

2012-06-05 Thread Rob Clark
From: Paulo Zanoni New library calls: - drmModeObjectGetProperties - drmModeFreeObjectProperties - drmModeObjectSetProperties Reviewed-by: Eugeni Dodonov Reviewed-by: Rob Clark Signed-off-by: Paulo Zanoni --- include/drm/drm.h |2 ++ include/drm/drm_mode.h | 24 ++ xf8

[PATCH libdrm 0/8] Latest properties patches

2012-06-05 Thread Rob Clark
From: Rob Clark The first 6 patches are a re-send of what has already been sent by Paulo and myself, and the last two add bitmask and plane properties support to proptest as suggested by Paulo. I can push these to libdrm git tree if ok. Paulo Zanoni (3): Add support for generic object propert

[Bug 50616] glClear occasionally taking >60ms

2012-06-05 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=50616 --- Comment #4 from Michel D?nzer 2012-06-05 03:46:52 PDT --- (In reply to comment #3) > It improved the average a tiny bit, but the long ones were still there. Did you try it with vblank_mode=0 as well? Calling glFinish() instead of glFlush(

[PATCH v2] DRM: add drm gem cma helper

2012-06-05 Thread Laurent Pinchart
Hi Sascha, On Tuesday 05 June 2012 09:49:48 Sascha Hauer wrote: > On Thu, May 31, 2012 at 11:36:15AM +0200, Laurent Pinchart wrote: > > Hi Sascha, > > > > > + depends on DRM > > > + help > > > + Choose this if you need the GEM cma helper functions > > > > I would put CMA in uppercase, but that

[PATCH v2] DRM: add drm gem cma helper

2012-06-05 Thread Sascha Hauer
On Fri, Jun 01, 2012 at 12:29:47AM +0900, InKi Dae wrote: > Hi Sascha, > > >> +struct drm_gem_cma_object *drm_gem_cma_create(struct drm_device *drm, > >> + ? ? ? ? ? ? unsigned int size) > >> +{ > >> + ? ? struct drm_gem_cma_object *cma_obj; > >> + ? ? struct drm_gem_object *gem_obj; > >> + ? ? in

[PATCH 4/4] drm/radeon/kms: add new SI PCI ids

2012-06-05 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher Cc: stable at vger.kernel.org --- include/drm/drm_pciids.h |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/drm/drm_pciids.h b/include/drm/drm_pciids.h index 86c4cf9..81368ab 100644 --- a/include/drm/drm_pciids.h

[PATCH 3/4] drm/radeon/kms: add new BTC PCI ids

2012-06-05 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher Cc: stable at vger.kernel.org --- include/drm/drm_pciids.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/drm/drm_pciids.h b/include/drm/drm_pciids.h index c5b0d8c..86c4cf9 100644 --- a/include/drm/drm_pciids.h ++

[PATCH 2/4] drm/radeon/kms: add new Palm, Sumo PCI ids

2012-06-05 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher Cc: stable at vger.kernel.org --- include/drm/drm_pciids.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/drm/drm_pciids.h b/include/drm/drm_pciids.h index 961dae0..c5b0d8c 100644 --- a/include/drm/drm_pciids.h ++

[PATCH 1/4] drm/radeon/kms: add new Trinity PCI ids

2012-06-05 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher Cc: stable at vger.kernel.org --- drivers/gpu/drm/radeon/ni.c | 21 + include/drm/drm_pciids.h|8 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/radeon/ni.c b/drivers/gpu/drm/r

[PATCH v2] DRM: add drm gem cma helper

2012-06-05 Thread Sascha Hauer
On Thu, May 31, 2012 at 11:36:15AM +0200, Laurent Pinchart wrote: > Hi Sascha, > > > + depends on DRM > > + help > > + Choose this if you need the GEM cma helper functions > > I would put CMA in uppercase, but that's just nitpicking. > > BTW this helper is not strictly dedicated to CMA.

Re: [Mesa-dev] [PATCH 00/25] i915 HW context support

2012-06-05 Thread Ben Widawsky
On Tue, 05 Jun 2012 00:08:10 -0700 Kenneth Graunke wrote: > On 06/04/2012 10:53 PM, Dave Airlie wrote: > >> > >> I've run these on various workloads and saw nothing worth mentioning. > > > > Nothing at all? no speedups, slowdowns, etc > > > > why should we merge all this code then :-) > > > >

[Mesa-dev] [PATCH 00/25] i915 HW context support

2012-06-05 Thread Ben Widawsky
On Tue, 05 Jun 2012 00:08:10 -0700 Kenneth Graunke wrote: > On 06/04/2012 10:53 PM, Dave Airlie wrote: > >> > >> I've run these on various workloads and saw nothing worth mentioning. > > > > Nothing at all? no speedups, slowdowns, etc > > > > why should we merge all this code then :-) > > > >

Re: psb_gfx removal

2012-06-05 Thread Alan Cox
On Tue, 5 Jun 2012 14:51:54 +0200 (CEST) Jan Engelhardt wrote: > Hi, > > > I have here a "Wortmann AG terra Pad 1051", which has a GMA500-like > device (PCI ID 8086:4102). Using Linux 3.1.x (openSUSE 12.1's default), > loading psb_gfx.ko crashed the machine. I therefore tried Linux 3.4.0, > w

[PATCH] drm/i2c/ch7006: Convert to dev_pm_ops

2012-06-05 Thread Mark Brown
The I2C specific suspend and resume functions have been deprecated and printing a warning on boot for over a year, dev_pm_ops should be used instead so convert to that. Also remove the suspend function since all it does is log. Signed-off-by: Mark Brown Acked-by: Francisco Jerez --- drivers/gp

[PATCH] drm/radeon: make audio_init consistent across asics

2012-06-05 Thread Rafał Miłecki
2012/6/4 : > From: Alex Deucher > > Call it in the asic startup callback on all asics. > Previously r600 and rv770 called it in the startup > and resume callbacks while all the other asics called > it in the startup callback. Reviewed-by: Rafa? Mi?ecki -- Rafa?

[Bug 50655] ATI RV670 [Radeon HD 3870] Ioquake games causes GPU lockup (waiting for 0x00003039 last fence id 0x00003030)

2012-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50655 Michel Dänzer changed: What|Removed |Added Component|Drivers/DRI/R600|Drivers/Gallium/r600 --- Comment #8 from

[PATCH] drm: Skip too big EDID extensions

2012-06-05 Thread Takashi Iwai
When the number of extension blocks in EDID is too big, it's more likely a broken data, thus better to skip them. We've got a bug report that a machine spews "invalid block EDID" errors at boot for 400 times which delays the boot very much, and this patch fixes it. Certainly it's a hardware-speci

[Linaro-mm-sig] [PATCHv6 00/13] Integration of videobuf2 with dmabuf

2012-06-05 Thread Hans Verkuil
On Mon June 4 2012 23:58:07 Hans Verkuil wrote: > Hi Rebecca, > > On Mon June 4 2012 21:34:23 Rebecca Schultz Zavin wrote: > > I have a system where the data is planar, but the kernel drivers > > expect to get one allocation with offsets for the planes. I can't > > figure out how to do that with

[git pull] drm radeon fixes + new pci ids.

2012-06-05 Thread Dave Airlie
Hi Linus, this is just radeon fixes and a bunch of new PCI ids. The fixes are for a deadlock, an audio regression, and a couple of audio fixes. Dave. The following changes since commit 99becf1328d8d71dd6f4480e3591d7dcdb389e57: Pull 'for-linus' branches of git://git.kernel.org/pub/scm/linux

Re: [PATCH v2] DRM: add drm gem cma helper

2012-06-05 Thread InKi Dae
2012/6/5 Sascha Hauer : > On Fri, Jun 01, 2012 at 12:29:47AM +0900, InKi Dae wrote: >> Hi Sascha, >> >> >> +struct drm_gem_cma_object *drm_gem_cma_create(struct drm_device *drm, >> >> +             unsigned int size) >> >> +{ >> >> +     struct drm_gem_cma_object *cma_obj; >> >> +     struct drm_ge

[PATCH 4/4] drm/radeon/kms: add new SI PCI ids

2012-06-05 Thread alexdeucher
From: Alex Deucher Signed-off-by: Alex Deucher Cc: sta...@vger.kernel.org --- include/drm/drm_pciids.h |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/drm/drm_pciids.h b/include/drm/drm_pciids.h index 86c4cf9..81368ab 100644 --- a/include/drm/drm_pciids.h ++

[PATCH 00/25] i915 HW context support

2012-06-05 Thread Dave Airlie
> > I've run these on various workloads and saw nothing worth mentioning. Nothing at all? no speedups, slowdowns, etc why should we merge all this code then :-) Dave.

[PATCH 3/4] drm/radeon/kms: add new BTC PCI ids

2012-06-05 Thread alexdeucher
From: Alex Deucher Signed-off-by: Alex Deucher Cc: sta...@vger.kernel.org --- include/drm/drm_pciids.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/drm/drm_pciids.h b/include/drm/drm_pciids.h index c5b0d8c..86c4cf9 100644 --- a/include/drm/drm_pciids.h +++ b

[PATCH 2/4] drm/radeon/kms: add new Palm, Sumo PCI ids

2012-06-05 Thread alexdeucher
From: Alex Deucher Signed-off-by: Alex Deucher Cc: sta...@vger.kernel.org --- include/drm/drm_pciids.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/drm/drm_pciids.h b/include/drm/drm_pciids.h index 961dae0..c5b0d8c 100644 --- a/include/drm/drm_pciids.h +++ b

[PATCH 1/4] drm/radeon/kms: add new Trinity PCI ids

2012-06-05 Thread alexdeucher
From: Alex Deucher Signed-off-by: Alex Deucher Cc: sta...@vger.kernel.org --- drivers/gpu/drm/radeon/ni.c | 21 + include/drm/drm_pciids.h|8 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/radeon/ni.c b/drivers/gpu/drm/rade

[Bug 37112] GPU lockup when trying to use profile based frequency switching

2012-06-05 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=37112 --- Comment #9 from Hrvoje Senjan 2012-06-05 06:33:47 --- (In reply to comment #6) > (In reply to comment #5) > > My first guess is , that kernel changes memory clock too low - with fglrx > > lowest memory clock is at 400MHz , but with radeo

[Bug 49322] No picture on display connected via Displayport adaptor to HD 7870

2012-06-05 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=49322 --- Comment #4 from Brian Schott 2012-06-04 23:15:11 PDT --- Still present in kernel 3.5-rc1 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee f

psb_gfx removal

2012-06-05 Thread Jan Engelhardt
Hi, I have here a "Wortmann AG terra Pad 1051", which has a GMA500-like device (PCI ID 8086:4102). Using Linux 3.1.x (openSUSE 12.1's default), loading psb_gfx.ko crashed the machine. I therefore tried Linux 3.4.0, where this crash does not occur thankfully. According to your commit b7cdd9e632

[Linaro-mm-sig] [PATCHv6 00/13] Integration of videobuf2 with dmabuf

2012-06-05 Thread Rob Clark
can you check expected size vs dmabuf->size - offset? On Tue, Jun 5, 2012 at 4:46 AM, Rebecca Schultz Zavin wrote: > I'm trying to do it in my drivier, but I'm not sure how to make it > safe since there is no way to tell the kernel the total size of the > buffer. ?From what I can tell, I can't sa

[RFC] Documentation: DRM framework documentation

2012-06-05 Thread Rob Clark
Hey, thanks Laurent, this was quite needed! I apologize in advance for the html mail.. but reviewing this on the flight home from connect and can't figure out how to do plain text email w/ google's offline mail client :-( On Wednesday, May 30, 2012, Laurent Pinchart wrote: > Signed-off-by: Laure

[RFC] Synchronizing access to buffers shared with dma-buf between drivers/devices

2012-06-05 Thread Rob Clark
Some comments inline.. at this stage mostly superficial issues about how the API works, etc.. not had a chance to dig too much into the implementation yet (although some of my comments about the API would change those anyways). Anyways, thanks for getting the ball rolling on this, and I think I c

[Linaro-mm-sig] [PATCHv6 00/13] Integration of videobuf2 with dmabuf

2012-06-05 Thread Rob Clark
this is at least how we do it w/ drm/kms.. I would expect that if you could do that w/ output for v4l you also could for input, but perhaps the individual driver needs to do something to support mplane? I guess the v4l folks would know better BR, -R On Tue, Jun 5, 2012 at 3:34 AM, Rebecca Schult

[Bug 27314] displayport link training fails on certain panels (channel equalization fails)

2012-06-05 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=27314 --- Comment #68 from Rafael ?vila de Esp?ndola 2012-06-04 21:05:29 PDT --- I don't know exactly what changed, but I just installed fedora 17 and after updating the kernel kms is working! :-) -- Configure bugmail: https://bugs.freedesktop.org/u

[Bug 50616] glClear occasionally taking >60ms

2012-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50616 --- Comment #4 from Michel Dänzer 2012-06-05 03:46:52 PDT --- (In reply to comment #3) > It improved the average a tiny bit, but the long ones were still there. Did you try it with vblank_mode=0 as well? Calling glFinish() instead of glFlush(

Re: [FIX][STABLE 3.3+][PATCH] drm/radeon/audio: don't hardcode CRTC id

2012-06-05 Thread Rafał Miłecki
2012/6/5 Christian König : > On 04.06.2012 18:49, Alex Deucher wrote: >> >> On Mon, Jun 4, 2012 at 12:36 PM, Rafał Miłecki  wrote: >>> >>> This is based on info released by AMD, should allow using audio in much >>> more cases. >>> >>> Signed-off-by: Rafał Miłecki >>> Cc: >> >> Reviewed-by: Alex Deu

Re: [PATCH] radeon: Make PM info available to all, not just debug users

2012-06-05 Thread Lauri Kasanen
On Mon, 4 Jun 2012 13:05:46 -0400 Jerome Glisse wrote: > My dream here is to talk with the gnome folks to have them make some > kind GPU module we could write and that would show in control center. > I just need to corner some of my gnome coworker to work something out. > So if you were using nou

Re: [PATCH] drm/radeon: make audio_init consistent across asics

2012-06-05 Thread Christian König
On 04.06.2012 23:18, alexdeuc...@gmail.com wrote: From: Alex Deucher Call it in the asic startup callback on all asics. Previously r600 and rv770 called it in the startup and resume callbacks while all the other asics called it in the startup callback. Signed-off-by: Alex Deucher Reviewed-by:

Re: [FIX][STABLE 3.3+][PATCH] drm/radeon/audio: don't hardcode CRTC id

2012-06-05 Thread Christian König
On 04.06.2012 18:49, Alex Deucher wrote: On Mon, Jun 4, 2012 at 12:36 PM, Rafał Miłecki wrote: This is based on info released by AMD, should allow using audio in much more cases. Signed-off-by: Rafał Miłecki Cc: Reviewed-by: Alex Deucher Not sure if the definition is available on older kern

Re: [PATCH v2] DRM: add drm gem cma helper

2012-06-05 Thread Laurent Pinchart
Hi Sascha, On Tuesday 05 June 2012 09:49:48 Sascha Hauer wrote: > On Thu, May 31, 2012 at 11:36:15AM +0200, Laurent Pinchart wrote: > > Hi Sascha, > > > > > + depends on DRM > > > + help > > > + Choose this if you need the GEM cma helper functions > > > > I would put CMA in uppercase, but that

Re: [PATCH v2] DRM: add drm gem cma helper

2012-06-05 Thread Sascha Hauer
On Fri, Jun 01, 2012 at 12:29:47AM +0900, InKi Dae wrote: > Hi Sascha, > > >> +struct drm_gem_cma_object *drm_gem_cma_create(struct drm_device *drm, > >> +             unsigned int size) > >> +{ > >> +     struct drm_gem_cma_object *cma_obj; > >> +     struct drm_gem_object *gem_obj; > >> +     in

[PATCH] drm/exynos: Include missing linux/types.h in header

2012-06-05 Thread InKi Dae
Hi Emil, we included "drm.h" with g2d driver patch instead of " so your patch will be removed from exynos-drm-fixes. sorry for confusing. for this, you can refer to below link. http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blobdiff;f=include/drm/exynos_drm.h;h=b6d7ce92eadd67a67db

Re: [PATCH v2] DRM: add drm gem cma helper

2012-06-05 Thread Sascha Hauer
On Thu, May 31, 2012 at 11:36:15AM +0200, Laurent Pinchart wrote: > Hi Sascha, > > > + depends on DRM > > + help > > + Choose this if you need the GEM cma helper functions > > I would put CMA in uppercase, but that's just nitpicking. > > BTW this helper is not strictly dedicated to CMA.

Re: [PATCH] drm/radeon: make audio_init consistent across asics

2012-06-05 Thread Rafał Miłecki
2012/6/4 : > From: Alex Deucher > > Call it in the asic startup callback on all asics. > Previously r600 and rv770 called it in the startup > and resume callbacks while all the other asics called > it in the startup callback. Reviewed-by: Rafał Miłecki -- Rafał ___

Re: [Mesa-dev] [PATCH 00/25] i915 HW context support

2012-06-05 Thread Kenneth Graunke
On 06/04/2012 10:53 PM, Dave Airlie wrote: >> >> I've run these on various workloads and saw nothing worth mentioning. > > Nothing at all? no speedups, slowdowns, etc > > why should we merge all this code then :-) > > Dave. Preserving hardware state across batches is going to be necessary for:

  1   2   >