[PATCH 2/2 v6] of: add generic videomode description

2012-10-08 Thread Laurent Pinchart
Hi Steffen, On Monday 08 October 2012 14:48:01 Steffen Trumtrar wrote: > On Mon, Oct 08, 2012 at 02:13:50PM +0200, Laurent Pinchart wrote: > > On Thursday 04 October 2012 19:59:20 Steffen Trumtrar wrote: > > > Get videomode from devicetree in a format appropriate for the > > > backend.

[PATCH v2] gma500: medfield: drop bogus NULL check in mdfld_dsi_output_init()

2012-10-08 Thread Wei Yongjun
From: Wei Yongjun Drop the NULL test for dev since it never be NULL. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun --- drivers/gpu/drm/gma500/mdfld_dsi_output.c | 2 +- 1 file changed, 1

[Bug 53544] [915GM] Incorrect modeline due to incorrect EDID block for LG SL80 TV

2012-10-08 Thread bugzilla-dae...@freedesktop.org
back with this information as soon as possible. -- 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/20121008/e62eb6a6/attachment-0

[Bug 55557] Regnum Online UBO break after game update

2012-10-08 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/20121008/a61af012/attachment.html>

Update on the CEC API

2012-10-08 Thread Florian Fainelli
On Monday 08 October 2012 17:49:00 Hans Verkuil wrote: > On Mon October 8 2012 17:06:20 Florian Fainelli wrote: > > Hi Hans, > > > > On Thursday 27 September 2012 16:33:30 Hans Verkuil wrote: > > > Hi all, > > > > > > During the Linux Plumbers Conference we (i.e. V4L2 and DRM developers) > > >

[PATCH 1/2 v6] of: add helper to parse display timings

2012-10-08 Thread Laurent Pinchart
Hi Stephen, On Monday 08 October 2012 10:10:31 Stephen Warren wrote: > On 10/08/2012 02:25 AM, Guennadi Liakhovetski wrote: > > On Fri, 5 Oct 2012, Stephen Warren wrote: > >> On 10/04/2012 03:35 PM, Guennadi Liakhovetski wrote: > >>> Hi Steffen > >>> > >>> Sorry for chiming in so late in the

[Bug 55557] Regnum Online UBO break after game update

2012-10-08 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121008/c5f5c1e8/attachment.html>

[PATCH 01/11] drm: add drm_send_vblank_event() helper (v2)

2012-10-08 Thread Rob Clark
From: Rob Clark A helper that drivers can use to send vblank event after a pageflip. If the driver doesn't support proper vblank irq based time/seqn then just pass -1 for the pipe # to get do_gettimestamp() behavior (since there are a lot of drivers that don't use

[Bug 55557] Regnum Online UBO break after game update

2012-10-08 Thread bugzilla-dae...@freedesktop.org
fault or theirs. -- 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/20121008/ab08f725/attachment.html>

[PATCH v5 0/3] Enhanced EDID quirk functionality

2012-10-08 Thread Ian Pilcher
On 09/28/2012 02:03 AM, Ian Pilcher wrote: > As promised, this patch series does only the following: > > * Add user-defined EDID quirks -- via sysfs or a module parameter > * Add an EDID quirk flag to disable all HDMI functionality >(InfoFrames) > * Add a quirk to disable HDMI InfoFrames for

[PATCH v2] gma500: medfield: drop bogus NULL check in mdfld_dsi_output_init()

2012-10-08 Thread Kirill A. Shutemov
On Mon, Oct 08, 2012 at 10:44:06PM +0800, Wei Yongjun wrote: > From: Wei Yongjun > > Drop the NULL test for dev since it never be NULL. > > dpatch engine is used to auto generate this patch. > (https://github.com/weiyj/dpatch) > > Signed-off-by: Wei Yongjun > --- >

[PATCH 3/3] drm/radeon: separate pt alloc from lru add

2012-10-08 Thread Christian König
Make it possible to allocate a persistent page table. Signed-off-by: Christian K?nig --- drivers/gpu/drm/radeon/radeon.h |1 + drivers/gpu/drm/radeon/radeon_cs.c |1 + drivers/gpu/drm/radeon/radeon_gart.c | 20 3 files changed, 18 insertions(+), 4

[PATCH 2/3] drm/radeon: don't add the IB pool to all VMs

2012-10-08 Thread Christian König
We want to use VMs without the IB pool in the future. Signed-off-by: Christian K?nig --- drivers/gpu/drm/radeon/radeon.h |2 +- drivers/gpu/drm/radeon/radeon_gart.c | 23 +++ drivers/gpu/drm/radeon/radeon_kms.c | 11 ++- 3 files changed, 14

[PATCH 1/3] drm/radeon: allocate page tables on demand v4

2012-10-08 Thread Christian König
Based on Dmitries work, but splitting the code into page directory and page table handling makes it far more readable and (hopefully) more reliable. Allocations of page tables are made from the SA on demand, that should still work fine since all page tables are of the same size. Also using the

Update on the CEC API

2012-10-08 Thread Hans Verkuil
On Mon October 8 2012 17:06:20 Florian Fainelli wrote: > Hi Hans, > > On Thursday 27 September 2012 16:33:30 Hans Verkuil wrote: > > Hi all, > > > > During the Linux Plumbers Conference we (i.e. V4L2 and DRM developers) had a > > discussion on how to handle the CEC protocol that's part of the

[PATCH] drm/radeon: check if pcie gen 2 is already enabled

2012-10-08 Thread alexdeuc...@gmail.com
From: Alex Deucher If so, skip enabling it. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen.c |8 ++-- drivers/gpu/drm/radeon/r600.c |7 ++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git

[PATCH] drm/radeon: update comments to clarify VM setup

2012-10-08 Thread Christian König
On 08.10.2012 15:50, alexdeucher at gmail.com wrote: > From: Alex Deucher > > The actual set up and assignment of VM page tables > is done on the fly in radeon_gart.c. > > Signed-off-by: Alex Deucher One comment below, apart from that it's: Reviewed-by: Christian K?nig > --- >

Update on the CEC API

2012-10-08 Thread Florian Fainelli
Hi Hans, On Thursday 27 September 2012 16:33:30 Hans Verkuil wrote: > Hi all, > > During the Linux Plumbers Conference we (i.e. V4L2 and DRM developers) had a > discussion on how to handle the CEC protocol that's part of the HDMI standard. > > The decision was made to create a CEC bus with CEC

[PATCH 00/11] page-flip cleanups and fixes

2012-10-08 Thread Alex Deucher
On Mon, Oct 8, 2012 at 3:50 PM, Rob Clark wrote: > From: Rob Clark > > Add a helper fxn to send vblank event after pageflip, plus a handful > of fixes for other issues that I noticed in the process. Looks like a nice clean-up to me. Patches 1 and 4 are: Reviewed-by: Alex Deucher > > Other

[PATCH] drm/radeon: allocate page tables on demand v3

2012-10-08 Thread Michel Dänzer
On Son, 2012-10-07 at 15:06 +0200, Christian K?nig wrote: > Based on Dmitries work, but splitting the code into page > directory and page table handling makes it far more > readable and (hopefully) more reliable. > > Allocations of page tables are made from the SA on demand, > that should still

[PATCH v3 3/3] Android.mk: use LOCAL_COPY_HEADERS to export headers.

2012-10-08 Thread Tapani Pälli
From: Haitao Huang Export necessary header files used by other components for Android, such as libva intel-driver, gralloc, hwcomposer, etc. Signed-off-by: Haitao Huang Signed-off-by: Chad Versace --- [chad: Fixed inconsistent indentation.] Android.mk | 12

[PATCH] Android.mk: use LOCAL_COPY_HEADERS to export headers. v2

2012-10-08 Thread Tapani Pälli
;> >> include $(LOCAL_PATH)/intel/Android.mk >> -- >> 1.7.11.7 >> >> ___ >> dri-devel mailing list >> dri-devel at lists.freedesktop.org >> http://lists.freedesktop.org/mailman/listinfo/dri-devel > -- // Tapani -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 551 bytes Desc: OpenPGP digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121008/8c2f2a8a/attachment.pgp>

[PATCH 1/2 v6] of: add helper to parse display timings

2012-10-08 Thread Tomi Valkeinen
-mode property not needed. Tomi -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121008/f666c5ef/attachment.pgp>

[PATCH 11/11] drm/omap: page-flip fixes

2012-10-08 Thread Rob Clark
From: Rob Clark Userspace might not request a vblank event. So it is not an error for 'event' to be NULL, and we shouldn't use it to determine if there is a pending flip already. Signed-off-by: Rob Clark --- drivers/staging/omapdrm/omap_crtc.c |6 ++ 1 file changed, 2

[PATCH 10/11] drm/omap: use drm_send_vblank_event() helper

2012-10-08 Thread Rob Clark
From: Rob Clark Signed-off-by: Rob Clark --- drivers/staging/omapdrm/omap_crtc.c | 31 ++- 1 file changed, 6 insertions(+), 25 deletions(-) diff --git a/drivers/staging/omapdrm/omap_crtc.c b/drivers/staging/omapdrm/omap_crtc.c index 732f2ad..74e019a

[PATCH 09/11] drm/imx: page flip fixes

2012-10-08 Thread Rob Clark
From: Rob Clark The 'event' could be null, so don't list_del(>base.link).. and in fact even if it wasn't null there is no reason to do this. Also, this looks racy with the irq handler, so throw in a spinlock for good measure. Signed-off-by: Rob Clark ---

[PATCH 08/11] drm/imx: use drm_send_vblank_event() helper

2012-10-08 Thread Rob Clark
From: Rob Clark Also, slightly changes the behavior to always put the vblank irq, even if userspace did not request a vblank event. As far as I can tell, the previous code would leak a vblank irq refcnt if userspace requested a pageflip without event. Signed-off-by: Rob Clark ---

[PATCH 07/11] drm/shmob: use drm_send_vblank_event() helper

2012-10-08 Thread Rob Clark
From: Rob Clark Signed-off-by: Rob Clark --- drivers/gpu/drm/shmobile/shmob_drm_crtc.c | 19 --- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/drivers/gpu/drm/shmobile/shmob_drm_crtc.c b/drivers/gpu/drm/shmobile/shmob_drm_crtc.c index

[PATCH 06/11] drm/exynos: page flip fixes

2012-10-08 Thread Rob Clark
From: Rob Clark The event wouldn't be on any list at this point, so nothing to delete it from. Signed-off-by: Rob Clark --- drivers/gpu/drm/exynos/exynos_drm_crtc.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_crtc.c

[PATCH 05/11] drm/exynos: use drm_send_vblank_event() helper

2012-10-08 Thread Rob Clark
From: Rob Clark Signed-off-by: Rob Clark --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 10 ++ drivers/gpu/drm/exynos/exynos_drm_vidi.c | 10 ++ drivers/gpu/drm/exynos/exynos_mixer.c|9 ++--- 3 files changed, 6 insertions(+), 23 deletions(-) diff

[PATCH 04/11] drm/radeon: use drm_send_vblank_event() helper

2012-10-08 Thread Rob Clark
From: Rob Clark Signed-off-by: Rob Clark --- drivers/gpu/drm/radeon/radeon_display.c | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_display.c b/drivers/gpu/drm/radeon/radeon_display.c index 7ddef8f..8dad9c2

[PATCH 03/11] drm/nouveau: use drm_send_vblank_event() helper

2012-10-08 Thread Rob Clark
From: Rob Clark Signed-off-by: Rob Clark --- drivers/gpu/drm/nouveau/nouveau_display.c | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_display.c b/drivers/gpu/drm/nouveau/nouveau_display.c index 7e16dc5..b1a32b9

[PATCH 02/11] drm/i915: use drm_send_vblank_event() helper

2012-10-08 Thread Rob Clark
From: Rob Clark Signed-off-by: Rob Clark --- drivers/gpu/drm/i915/intel_display.c | 15 ++- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index f5bcf6f..4716c83 100644 ---

[PATCH 01/11] drm: add drm_send_vblank_event() helper

2012-10-08 Thread Rob Clark
From: Rob Clark A helper that drivers can use to send vblank event after a pageflip. If the driver doesn't support proper vblank irq based time/seqn then just pass -1 for the pipe # to get do_gettimestamp() behavior (since there are a lot of drivers that don't use

[PATCH 00/11] page-flip cleanups and fixes

2012-10-08 Thread Rob Clark
From: Rob Clark Add a helper fxn to send vblank event after pageflip, plus a handful of fixes for other issues that I noticed in the process. Other than OMAP, the changes are just compile tested, so would be good to get a quick look from the maintainers of various drivers. Rob

[PATCH 2/2 v6] of: add generic videomode description

2012-10-08 Thread Steffen Trumtrar
On Mon, Oct 08, 2012 at 02:13:50PM +0200, Laurent Pinchart wrote: > Hi Steffen, > > Thanks for the patch. > > On Thursday 04 October 2012 19:59:20 Steffen Trumtrar wrote: > > Get videomode from devicetree in a format appropriate for the > > backend. drm_display_mode and fb_videomode are

[RFC 0/4] drm: add raw monotonic timestamp support (Imre Deak)

2012-10-08 Thread Imre Deak
On Sat, 2012-10-06 at 04:46 +0200, Mario Kleiner wrote: > On 05.10.12 15:37, intel-gfx-request at lists.freedesktop.org wrote: > > > > Today's Topics: > > > > 1. [RFC 0/4] drm: add raw monotonic timestamp support (Imre Deak) > > 2. [RFC 1/4] time: export getnstime_raw_and_real for DRM

[PATCH] Android.mk: use LOCAL_COPY_HEADERS to export headers. v2

2012-10-08 Thread Oliver McFadden
On Mon, Oct 08, 2012 at 12:23:56PM +0300, Tapani P?lli wrote: > From: Haitao Huang > > Export necessary header files used by other components for Android, > such as libva intel-driver, gralloc, hwcomposer, etc. > > Signed-off-by: Haitao Huang > [chad: Fixed inconsistent indentation.] >

[PATCH 2/3] libdrm,intel: Add Android makefiles (v2)

2012-10-08 Thread Oliver McFadden
On Mon, Oct 08, 2012 at 08:50:25AM +0300, Tapani P?lli wrote: > From: Chad Versace > > This enables libdrm.so and libdrm_intel.so to build on Android > IceCreamSandwich. > > v2: Link libdrm_intel to libpciaccess. > > Signed-off-by: Chad Versace Reviewed-by: Oliver McFadden > --- >

[PATCH 1/3] libdrm,intel: Factor source file lists into sources.mk

2012-10-08 Thread Oliver McFadden
On Mon, Oct 08, 2012 at 08:50:24AM +0300, Tapani P?lli wrote: > From: Chad Versace > > Factor the source file list for libdrm.so from Makefile.am into > sources.mk. Ditto for libdrm_intel.so. > > This is in preparation for adding support for Android. The sources.mk's > will be shared between

[PATCH 3/3] Android.mk: use LOCAL_COPY_HEADERS to export headers.

2012-10-08 Thread Oliver McFadden
On Mon, Oct 08, 2012 at 08:50:26AM +0300, Tapani P?lli wrote: > From: Haitao Huang > > Export necessary header files used by other components for Android, > such as libva intel-driver, gralloc, hwcomposer, etc. > > Change-Id: I2feabf6941379ef4d756e942f30eba059de641f1 > Signed-off-by: Haitao

[RFC 1/4] time: export getnstime_raw_and_real for DRM

2012-10-08 Thread Imre Deak
On Sat, 2012-10-06 at 03:41 +0200, Mario Kleiner wrote: > [...] > > But then Psychtoolbox checks each timestamp it gets from somewhere > "outside" (OML_sync_control / INTEL_swap_events / ALSA audio timestamps, > network receive timestamps, evdev, x11, ...) if it is in gettimeofday() > aka

[PATCH] drm: move a few frequent traces to DRM_VERB()

2012-10-08 Thread Rob Clark
From: Rob Clark Add a new bit for the trace-mask for verbose traces. Signed-off-by: Rob Clark --- drivers/gpu/drm/drm_drv.c |9 +++-- drivers/gpu/drm/drm_vm.c |4 ++-- include/drm/drmP.h|9 - 3 files changed, 17 insertions(+), 5 deletions(-) diff

[RFC 0/4] drm: add raw monotonic timestamp support

2012-10-08 Thread Imre Deak
On Fri, 2012-10-05 at 16:07 -0700, Eric Anholt wrote: > Imre Deak writes: > > > This is needed to make applications depending on vblank/page flip > > timestamps independent of time ajdustments. > > > > I've tested these with an updated intel-gpu-test/flip_test and will send > > the update for

[PATCH 2/2 v6] of: add generic videomode description

2012-10-08 Thread Laurent Pinchart
Hi Steffen, On Monday 08 October 2012 09:57:41 Steffen Trumtrar wrote: > On Mon, Oct 08, 2012 at 10:21:53AM +0300, Tomi Valkeinen wrote: > > On Thu, 2012-10-04 at 19:59 +0200, Steffen Trumtrar wrote: [snip] > > > diff --git a/include/linux/of_videomode.h b/include/linux/of_videomode.h > > > new

[PATCH 2/2 v6] of: add generic videomode description

2012-10-08 Thread Laurent Pinchart
Hi Steffen, Thanks for the patch. On Thursday 04 October 2012 19:59:20 Steffen Trumtrar wrote: > Get videomode from devicetree in a format appropriate for the > backend. drm_display_mode and fb_videomode are supported atm. > Uses the display signal timings from of_display_timings > >

[PATCH 1/2 v6] of: add helper to parse display timings

2012-10-08 Thread Laurent Pinchart
Hi Tomi, On Monday 08 October 2012 12:01:18 Tomi Valkeinen wrote: > On Mon, 2012-10-08 at 10:25 +0200, Guennadi Liakhovetski wrote: > > In general, I might be misunderstanding something, but don't we have to > > distinguish between 2 types of information about display timings: (1) is > > defined

[PATCH] gma500: medfield: fix potential NULL pointer dereference in mdfld_dsi_output_init()

2012-10-08 Thread Alan Cox
On Sun, 7 Oct 2012 21:56:45 +0800 Wei Yongjun wrote: > From: Wei Yongjun > > The dereference should be moved below the NULL test. The !dev check just wants removing I think - it's a bogus check in the first place.

[PATCHv9 18/25] v4l: add buffer exporting via dmabuf

2012-10-08 Thread Hans Verkuil
On Mon October 8 2012 12:41:28 Tomasz Stanislawski wrote: > Hi Hans, > > On 10/08/2012 11:54 AM, Hans Verkuil wrote: > > On Mon October 8 2012 11:40:37 Tomasz Stanislawski wrote: > >> Hi Hans, > >> > >> On 10/07/2012 04:17 PM, Hans Verkuil wrote: > >>> On Sun October 7 2012 15:38:30 Laurent

[PATCHv9 18/25] v4l: add buffer exporting via dmabuf

2012-10-08 Thread Tomasz Stanislawski
Hi Hans, On 10/08/2012 11:54 AM, Hans Verkuil wrote: > On Mon October 8 2012 11:40:37 Tomasz Stanislawski wrote: >> Hi Hans, >> >> On 10/07/2012 04:17 PM, Hans Verkuil wrote: >>> On Sun October 7 2012 15:38:30 Laurent Pinchart wrote: Hi Hans, On Friday 05 October 2012 10:55:40 Hans

[PATCH] drm/radeon/cayman: set VM max pfn at MC init

2012-10-08 Thread alexdeuc...@gmail.com
From: Alex Deucher No need to emit them at VM flush as we no longer use variable sized page tables now that we support 2 level page tables. This matches the behavior of SI (which does not support variable sized page tables). Signed-off-by: Alex Deucher ---

[PATCH 1/3] drm/radeon: allocate page tables on demand v4

2012-10-08 Thread Alex Deucher
On Mon, Oct 8, 2012 at 11:55 AM, Christian K?nig wrote: > Based on Dmitries work, but splitting the code into page > directory and page table handling makes it far more > readable and (hopefully) more reliable. > > Allocations of page tables are made from the SA on demand, > that should still

[PATCH] Android.mk: use LOCAL_COPY_HEADERS to export headers. v2

2012-10-08 Thread Tapani Pälli
From: Haitao Huang Export necessary header files used by other components for Android, such as libva intel-driver, gralloc, hwcomposer, etc. Signed-off-by: Haitao Huang [chad: Fixed inconsistent indentation.] Signed-off-by: Chad Versace --- Android.mk | 12

[PATCH 1/2] drm/radeon: update comments to clarify VM setup (v2)

2012-10-08 Thread alexdeuc...@gmail.com
From: Alex Deucher The actual set up and assignment of VM page tables is done on the fly in radeon_gart.c. v2: update vm size comments Signed-off-by: Alex Deucher Reviewed-by: Christian K?nig --- drivers/gpu/drm/radeon/ni.c|4

[PATCH 1/2 v6] of: add helper to parse display timings

2012-10-08 Thread Tomi Valkeinen
ame: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121008/6da1203e/attachment.pgp>

[PATCH] drm/radeon: allocate page tables on demand v3

2012-10-08 Thread Christian König
Got time today to test that a bit more, no piglit regressions on SI so far. And also CAYMAN still seems to work with it, but there are allot of piglit tests there that still doesn't work when enabling VM (and it doesn't matter if you have this patch or not). Any objections to pull that into

[PATCHv9 18/25] v4l: add buffer exporting via dmabuf

2012-10-08 Thread Hans Verkuil
On Mon October 8 2012 11:40:37 Tomasz Stanislawski wrote: > Hi Hans, > > On 10/07/2012 04:17 PM, Hans Verkuil wrote: > > On Sun October 7 2012 15:38:30 Laurent Pinchart wrote: > >> Hi Hans, > >> > >> On Friday 05 October 2012 10:55:40 Hans Verkuil wrote: > >>> On Tue October 2 2012 16:27:29

[PATCH] drm/radeon: update comments to clarify VM setup

2012-10-08 Thread Alex Deucher
On Mon, Oct 8, 2012 at 11:29 AM, Christian K?nig wrote: > On 08.10.2012 15:50, alexdeucher at gmail.com wrote: >> >> From: Alex Deucher >> >> The actual set up and assignment of VM page tables >> is done on the fly in radeon_gart.c. >> >> Signed-off-by: Alex Deucher > > One comment below, apart

[PATCHv9 18/25] v4l: add buffer exporting via dmabuf

2012-10-08 Thread Tomasz Stanislawski
Hi Hans, On 10/07/2012 04:17 PM, Hans Verkuil wrote: > On Sun October 7 2012 15:38:30 Laurent Pinchart wrote: >> Hi Hans, >> >> On Friday 05 October 2012 10:55:40 Hans Verkuil wrote: >>> On Tue October 2 2012 16:27:29 Tomasz Stanislawski wrote: This patch adds extension to V4L2 api. It allow

Using Linux 3.2.23, GNOME 3.4 fallback, `evolution --component=mail mailto:i...@example.net` hangs

2012-10-08 Thread Michel Dänzer
ze: 190 bytes Desc: This is a digitally signed message part URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121008/32223297/attachment.pgp>

[PATCH 1/2 v6] of: add helper to parse display timings

2012-10-08 Thread Guennadi Liakhovetski
On Fri, 5 Oct 2012, Stephen Warren wrote: > On 10/04/2012 03:35 PM, Guennadi Liakhovetski wrote: > > Hi Steffen > > > > Sorry for chiming in so late in the game, but I've long been wanting to > > have a look at this and compare with what we do for V4L2, so, this seems a > > great opportunity

[PATCH 2/2 v6] of: add generic videomode description

2012-10-08 Thread Tomi Valkeinen
ode description > + * > + * This file is released under the GPLv2 > + */ > + > +#ifndef __LINUX_VIDEOMODE_H > +#define __LINUX_VIDEOMODE_H > + > +#include You don't need to include this. > +struct videomode { > + u32 pixelclock; > + u32 refreshrate; > + > + u32 hactive; > + u32 hfront_porch; > + u32 hback_porch; > + u32 hsync_len; > + > + u32 vactive; > + u32 vfront_porch; > + u32 vback_porch; > + u32 vsync_len; > + > + bool hah; > + bool vah; > + bool interlaced; > + bool doublescan; > + > +}; This is not really of related. And actually, neither is the struct signal_timing in the previous patch. It would be nice to have these in a common header that fb, drm, and others could use instead of each having their own timing structs. But that's probably out of scope for this series =). Did you check the timing structs from the video related frameworks in the kernel to see if your structs contain all the info the others have, so that, at least in theory, everybody could use these common structs? Tomi -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121008/90b4a17f/attachment.pgp>

[PATCH 1/2 v6] of: add helper to parse display timings

2012-10-08 Thread Tomi Valkeinen
get the default mode. So I think it's ok. Tomi -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part URL: <http://lists.freedesktop.org/archives/dri-devel

[PATCH 1/2 v6] of: add helper to parse display timings

2012-10-08 Thread Stephen Warren
On 10/08/2012 06:20 AM, Tomi Valkeinen wrote: > On Mon, 2012-10-08 at 14:04 +0200, Laurent Pinchart wrote: >> On Monday 08 October 2012 12:01:18 Tomi Valkeinen wrote: >>> On Mon, 2012-10-08 at 10:25 +0200, Guennadi Liakhovetski >>> wrote: ... >>> Of course, if this is about describing the

[PATCH 1/2 v6] of: add helper to parse display timings

2012-10-08 Thread Stephen Warren
On 10/08/2012 02:25 AM, Guennadi Liakhovetski wrote: > On Fri, 5 Oct 2012, Stephen Warren wrote: > >> On 10/04/2012 03:35 PM, Guennadi Liakhovetski wrote: >>> Hi Steffen >>> >>> Sorry for chiming in so late in the game, but I've long been wanting to >>> have a look at this and compare with what

[PATCH 1/2 v6] of: add helper to parse display timings

2012-10-08 Thread Tomi Valkeinen
trar > + * > + * description of display timings > + * > + * This file is released under the GPLv2 > + */ > + > +#ifndef __LINUX_OF_DISPLAY_TIMINGS_H > +#define __LINUX_OF_DISPLAY_TIMINGS_H > + > +#define OF_DEFAULT_TIMING -1 > + > +struct display_timings { > + unsigned int num_timings; > + unsigned int default_timing; > + > + struct signal_timing **timings; Should this be a pointer to a const array of const data? Is there ever need to change them after they've been read from DT? > +}; > + > +struct timing_entry { > + u32 min; > + u32 typ; > + u32 max; > +}; > + > +struct signal_timing { > + struct timing_entry pixelclock; > + > + struct timing_entry hactive; > + struct timing_entry hfront_porch; > + struct timing_entry hback_porch; > + struct timing_entry hsync_len; > + > + struct timing_entry vactive; > + struct timing_entry vfront_porch; > + struct timing_entry vback_porch; > + struct timing_entry vsync_len; > + > + bool vsync_pol_active_high; > + bool hsync_pol_active_high; > + bool de_pol_active_high; > + bool pixelclk_pol_inverted; > + bool interlaced; > + bool doublescan; > +}; > + > +struct display_timings *of_get_display_timing_list(struct device_node *np); > +struct signal_timing *of_get_display_timing(struct device_node *np); > +int of_display_timings_exists(struct device_node *np); > + > +/* placeholder function until ranges are really needed */ > +static inline u32 signal_timing_get_value(struct timing_entry *te, int index) > +{ > + return te->typ; > +} > + > +static inline void timings_release(struct display_timings *disp) > +{ > + int i; > + > + for (i = 0; i < disp->num_timings; i++) > + kfree(disp->timings[i]); > +} > + > +static inline void display_timings_release(struct display_timings *disp) > +{ > + timings_release(disp); > + kfree(disp->timings); > +} > + > +static inline struct signal_timing *display_timings_get(struct > display_timings *disp, > + int index) > +{ > + struct signal_timing *st; > + > + if (disp->num_timings > index) { > + st = disp->timings[index]; > + return st; > + } > + else > + return NULL; > +} Why do you have these functions in the header file? Tomi -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121008/586caabb/attachment-0001.pgp>

[PATCH 2/2 v6] of: add generic videomode description

2012-10-08 Thread Steffen Trumtrar
On Mon, Oct 08, 2012 at 10:21:53AM +0300, Tomi Valkeinen wrote: > On Thu, 2012-10-04 at 19:59 +0200, Steffen Trumtrar wrote: > > Get videomode from devicetree in a format appropriate for the > > backend. drm_display_mode and fb_videomode are supported atm. > > Uses the display signal timings from

[Bug 50149] Faulty shaders on RS600

2012-10-08 Thread bugzilla-dae...@freedesktop.org
for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121008/ddadc61b/attachment.html>

[PATCH] drm/radeon: update comments to clarify VM setup

2012-10-08 Thread alexdeuc...@gmail.com
From: Alex Deucher The actual set up and assignment of VM page tables is done on the fly in radeon_gart.c. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/ni.c|4 drivers/gpu/drm/radeon/radeon_device.c |3 +++

[PATCH 1/2 v6] of: add helper to parse display timings

2012-10-08 Thread Steffen Trumtrar
On Sun, Oct 07, 2012 at 03:38:25PM +0200, Laurent Pinchart wrote: > Hi Steffen, > > On Friday 05 October 2012 18:38:58 Steffen Trumtrar wrote: > > On Fri, Oct 05, 2012 at 10:21:37AM -0600, Stephen Warren wrote: > > > On 10/05/2012 10:16 AM, Steffen Trumtrar wrote: > > > > On Thu, Oct 04, 2012 at

[PATCH] drm/radeon: allocate page tables on demand v3

2012-10-08 Thread Alex Deucher
On Mon, Oct 8, 2012 at 5:55 AM, Christian K?nig wrote: > Got time today to test that a bit more, no piglit regressions on SI so far. > > And also CAYMAN still seems to work with it, but there are allot of piglit > tests there that still doesn't work when enabling VM (and it doesn't matter > if

[PATCH 3/3] Android.mk: use LOCAL_COPY_HEADERS to export headers.

2012-10-08 Thread Tapani Pälli
From: Haitao Huang Export necessary header files used by other components for Android, such as libva intel-driver, gralloc, hwcomposer, etc. Change-Id: I2feabf6941379ef4d756e942f30eba059de641f1 Signed-off-by: Haitao Huang [chad: Fixed inconsistent indentation.]

[PATCH 2/3] libdrm,intel: Add Android makefiles (v2)

2012-10-08 Thread Tapani Pälli
From: Chad Versace This enables libdrm.so and libdrm_intel.so to build on Android IceCreamSandwich. v2: Link libdrm_intel to libpciaccess. Signed-off-by: Chad Versace --- Android.mk | 52 +++ intel/Android.mk

[PATCH 1/3] libdrm,intel: Factor source file lists into sources.mk

2012-10-08 Thread Tapani Pälli
From: Chad Versace Factor the source file list for libdrm.so from Makefile.am into sources.mk. Ditto for libdrm_intel.so. This is in preparation for adding support for Android. The sources.mk's will be shared between autotools and Android. Rationale: The most

[PATCH 0/3] Android support

2012-10-08 Thread Tapani Pälli
Upstreaming old set of patches here to enable Android support in libdrm. Some little rebasing was required for the first one. Chad Versace (2): libdrm,intel: Factor source file lists into sources.mk libdrm,intel: Add Android makefiles (v2) Haitao Huang (1): Android.mk: use

[PATCH 0/3] Android support

2012-10-08 Thread Eric Anholt
ktop.org/archives/dri-devel/attachments/20121008/aacac3d6/attachment.pgp>

[PATCH 1/2 v6] of: add helper to parse display timings

2012-10-08 Thread Mitch Bradley
On 10/7/2012 11:01 PM, Tomi Valkeinen wrote: > On Mon, 2012-10-08 at 10:25 +0200, Guennadi Liakhovetski wrote: > >> In general, I might be misunderstanding something, but don't we have to >> distinguish between 2 types of information about display timings: (1) is >> defined by the display

[git pull] drm for 3.7-rc1 (part 2)

2012-10-08 Thread Dave Airlie
Hi Linus, This is the follow-up pull, 3 pieces a) exynos next stuff, was delayed but looks okay to me, one patch in v4l bits but it was acked by v4l person. b) UAPI disintegration bits c) intel fixes - DP fixes, hang fixes, other misc fixes. Dave. The following changes since commit

Re: [PATCH 1/2 v6] of: add helper to parse display timings

2012-10-08 Thread Tomi Valkeinen
Hi, On Thu, 2012-10-04 at 19:59 +0200, Steffen Trumtrar wrote: Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de --- .../devicetree/bindings/video/display-timings.txt | 222 drivers/of/Kconfig |5 + drivers/of/Makefile

Re: [PATCH 1/2 v6] of: add helper to parse display timings

2012-10-08 Thread Tomi Valkeinen
On Mon, 2012-10-08 at 10:07 +0300, Tomi Valkeinen wrote: Hi, I don't see you setting disp-default_timing to OF_DEFAULT_TIMING in case there's no default_timing found. Or, at least I presume OF_DEFAULT_TIMING is meant to mark non-existing default timing. The name OF_DEFAULT_TIMING is not

Re: [PATCH 2/2 v6] of: add generic videomode description

2012-10-08 Thread Tomi Valkeinen
On Thu, 2012-10-04 at 19:59 +0200, Steffen Trumtrar wrote: Get videomode from devicetree in a format appropriate for the backend. drm_display_mode and fb_videomode are supported atm. Uses the display signal timings from of_display_timings Signed-off-by: Steffen Trumtrar

Re: [PATCH 1/2 v6] of: add helper to parse display timings

2012-10-08 Thread Steffen Trumtrar
Hi, On Mon, Oct 08, 2012 at 10:07:45AM +0300, Tomi Valkeinen wrote: Hi, On Thu, 2012-10-04 at 19:59 +0200, Steffen Trumtrar wrote: Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de --- .../devicetree/bindings/video/display-timings.txt | 222

Re: [PATCH 2/2 v6] of: add generic videomode description

2012-10-08 Thread Steffen Trumtrar
On Mon, Oct 08, 2012 at 10:21:53AM +0300, Tomi Valkeinen wrote: On Thu, 2012-10-04 at 19:59 +0200, Steffen Trumtrar wrote: Get videomode from devicetree in a format appropriate for the backend. drm_display_mode and fb_videomode are supported atm. Uses the display signal timings from

Re: Using Linux 3.2.23, GNOME 3.4 fallback, `evolution --component=mail mailto:i...@example.net` hangs

2012-10-08 Thread Michel Dänzer
On Son, 2012-10-07 at 14:50 +0200, Paul Menzel wrote: using Debian Sid/unstable, clicking on a mail address in Iceweasel (Firefox) a composer window is opened in Evolution 3.4.3-1. But then the windows are only gray and hang and the only way to fix this is to kill the process. I reported

Re: [PATCHv9 18/25] v4l: add buffer exporting via dmabuf

2012-10-08 Thread Tomasz Stanislawski
Hi Hans, On 10/07/2012 04:17 PM, Hans Verkuil wrote: On Sun October 7 2012 15:38:30 Laurent Pinchart wrote: Hi Hans, On Friday 05 October 2012 10:55:40 Hans Verkuil wrote: On Tue October 2 2012 16:27:29 Tomasz Stanislawski wrote: This patch adds extension to V4L2 api. It allow to export a

[Bug 50149] Faulty shaders on RS600

2012-10-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50149 --- Comment #24 from Roman Šmakal schmakeri...@gmail.com --- Torchlight seems to have same rendering issues as seen on HoN video. Time after time textures and models flickers. Playable though .. -- You are receiving this mail because: You are

Re: [PATCHv9 18/25] v4l: add buffer exporting via dmabuf

2012-10-08 Thread Hans Verkuil
On Mon October 8 2012 11:40:37 Tomasz Stanislawski wrote: Hi Hans, On 10/07/2012 04:17 PM, Hans Verkuil wrote: On Sun October 7 2012 15:38:30 Laurent Pinchart wrote: Hi Hans, On Friday 05 October 2012 10:55:40 Hans Verkuil wrote: On Tue October 2 2012 16:27:29 Tomasz Stanislawski

Re: [PATCH] drm/radeon: allocate page tables on demand v3

2012-10-08 Thread Christian König
Got time today to test that a bit more, no piglit regressions on SI so far. And also CAYMAN still seems to work with it, but there are allot of piglit tests there that still doesn't work when enabling VM (and it doesn't matter if you have this patch or not). Any objections to pull that into

Re: [PATCHv9 18/25] v4l: add buffer exporting via dmabuf

2012-10-08 Thread Tomasz Stanislawski
Hi Hans, On 10/08/2012 11:54 AM, Hans Verkuil wrote: On Mon October 8 2012 11:40:37 Tomasz Stanislawski wrote: Hi Hans, On 10/07/2012 04:17 PM, Hans Verkuil wrote: On Sun October 7 2012 15:38:30 Laurent Pinchart wrote: Hi Hans, On Friday 05 October 2012 10:55:40 Hans Verkuil wrote: On

Re: [PATCHv9 18/25] v4l: add buffer exporting via dmabuf

2012-10-08 Thread Hans Verkuil
On Mon October 8 2012 12:41:28 Tomasz Stanislawski wrote: Hi Hans, On 10/08/2012 11:54 AM, Hans Verkuil wrote: On Mon October 8 2012 11:40:37 Tomasz Stanislawski wrote: Hi Hans, On 10/07/2012 04:17 PM, Hans Verkuil wrote: On Sun October 7 2012 15:38:30 Laurent Pinchart wrote: Hi

Re: [RFC 0/4] drm: add raw monotonic timestamp support

2012-10-08 Thread Imre Deak
On Fri, 2012-10-05 at 16:07 -0700, Eric Anholt wrote: Imre Deak imre.d...@intel.com writes: This is needed to make applications depending on vblank/page flip timestamps independent of time ajdustments. I've tested these with an updated intel-gpu-test/flip_test and will send the update

Re: [RFC 1/4] time: export getnstime_raw_and_real for DRM

2012-10-08 Thread Imre Deak
On Sat, 2012-10-06 at 03:41 +0200, Mario Kleiner wrote: [...] But then Psychtoolbox checks each timestamp it gets from somewhere outside (OML_sync_control / INTEL_swap_events / ALSA audio timestamps, network receive timestamps, evdev, x11, ...) if it is in gettimeofday() aka

Re: [PATCH 2/3] libdrm,intel: Add Android makefiles (v2)

2012-10-08 Thread Oliver McFadden
On Mon, Oct 08, 2012 at 08:50:25AM +0300, Tapani Pälli wrote: From: Chad Versace chad.vers...@linux.intel.com This enables libdrm.so and libdrm_intel.so to build on Android IceCreamSandwich. v2: Link libdrm_intel to libpciaccess. Signed-off-by: Chad Versace chad.vers...@linux.intel.com

Re: [PATCH] Android.mk: use LOCAL_COPY_HEADERS to export headers. v2

2012-10-08 Thread Oliver McFadden
On Mon, Oct 08, 2012 at 12:23:56PM +0300, Tapani Pälli wrote: From: Haitao Huang haitao.hu...@intel.com Export necessary header files used by other components for Android, such as libva intel-driver, gralloc, hwcomposer, etc. Signed-off-by: Haitao Huang haitao.hu...@intel.com [chad: Fixed

Re: [RFC 0/4] drm: add raw monotonic timestamp support (Imre Deak)

2012-10-08 Thread Imre Deak
On Sat, 2012-10-06 at 04:46 +0200, Mario Kleiner wrote: On 05.10.12 15:37, intel-gfx-requ...@lists.freedesktop.org wrote: Today's Topics: 1. [RFC 0/4] drm: add raw monotonic timestamp support (Imre Deak) 2. [RFC 1/4] time: export getnstime_raw_and_real for DRM (Imre Deak)

Re: [PATCH 1/2 v6] of: add helper to parse display timings

2012-10-08 Thread Laurent Pinchart
Hi Tomi, On Monday 08 October 2012 12:01:18 Tomi Valkeinen wrote: On Mon, 2012-10-08 at 10:25 +0200, Guennadi Liakhovetski wrote: In general, I might be misunderstanding something, but don't we have to distinguish between 2 types of information about display timings: (1) is defined by the

Re: [PATCH 2/2 v6] of: add generic videomode description

2012-10-08 Thread Laurent Pinchart
Hi Steffen, Thanks for the patch. On Thursday 04 October 2012 19:59:20 Steffen Trumtrar wrote: Get videomode from devicetree in a format appropriate for the backend. drm_display_mode and fb_videomode are supported atm. Uses the display signal timings from of_display_timings Signed-off-by:

Re: [PATCH 2/2 v6] of: add generic videomode description

2012-10-08 Thread Laurent Pinchart
Hi Steffen, On Monday 08 October 2012 09:57:41 Steffen Trumtrar wrote: On Mon, Oct 08, 2012 at 10:21:53AM +0300, Tomi Valkeinen wrote: On Thu, 2012-10-04 at 19:59 +0200, Steffen Trumtrar wrote: [snip] diff --git a/include/linux/of_videomode.h b/include/linux/of_videomode.h new file

Re: [PATCH 1/2 v6] of: add helper to parse display timings

2012-10-08 Thread Tomi Valkeinen
On Mon, 2012-10-08 at 14:04 +0200, Laurent Pinchart wrote: Hi Tomi, On Monday 08 October 2012 12:01:18 Tomi Valkeinen wrote: On Mon, 2012-10-08 at 10:25 +0200, Guennadi Liakhovetski wrote: In general, I might be misunderstanding something, but don't we have to distinguish between 2

Re: [PATCH] gma500: medfield: fix potential NULL pointer dereference in mdfld_dsi_output_init()

2012-10-08 Thread Alan Cox
On Sun, 7 Oct 2012 21:56:45 +0800 Wei Yongjun weiyj...@gmail.com wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn The dereference should be moved below the NULL test. The !dev check just wants removing I think - it's a bogus check in the first place.

  1   2   >