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

2012-10-08 Thread Paul Menzel
Am Montag, den 08.10.2012, 17:48 -0400 schrieb alexdeuc...@gmail.com: > From: Alex Deucher > > If so, skip enabling it. Does that fix any error/problem or is it just for speed reasons? > Signed-off-by: Alex Deucher > --- > drivers/gpu/drm/radeon/evergreen.c |8 ++-- > drivers/gpu/drm/

Re: 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) > > > h

Re: [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 contro

Re: [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 > --- > drivers/gpu/drm/gma500/mdfl

Re: 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 01/11] drm: add drm_send_vblank_event() helper

2012-10-08 Thread Marcin Slusarz
On Mon, Oct 08, 2012 at 02:50:39PM -0500, Rob Clark wrote: > 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 > the

[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 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 0/3] Android support

2012-10-08 Thread Tapani Pälli
On 10/08/2012 06:37 PM, Eric Anholt wrote: > Tapani Pälli writes: > >> 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,i

[PATCH] drm/nv40/pm: silence GCC warnings

2012-10-08 Thread Paul Bolle
Building nv40_pm.o triggers these GCC warnings: drivers/gpu/drm/nouveau/nv40_pm.c: In function 'nv40_pm_clocks_pre': drivers/gpu/drm/nouveau/nv40_pm.c:164:41: warning: 'log2P' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/gpu/drm/nouveau/nv40_pm.c:165:38: w

[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. drm_display

[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 insertion(+), 1 deletion(-) diff --git

[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

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

2012-10-08 Thread Inki Dae
2012/10/9 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. > patches 1, 5 and 6 are: Reviewed-by: Inki Dae ___ dri-devel mailing list dri-

[Bug 55557] Regnum Online UBO break after game update

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

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

2012-10-08 Thread Oliver McFadden
On Mon, Oct 08, 2012 at 03:52:20PM +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 > Signed-off-by: Chad Versace Reviewed-by: Oliver M

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) > > > h

[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 game

[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 drm_vblank_count_and_time()) Al

[Bug 55557] Regnum Online UBO break after game update

2012-10-08 Thread bugzilla-dae...@freedesktop.org
s our 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 th

[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 > --- > drivers/gpu/drm/gma500/mdfl

[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 deletions(

[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 insertions(+)

[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 fa

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 HDM

[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 a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/d

[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 > --- > drivers/gpu/dr

[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 drm_vblank_count_and_time()) Al

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 th

Re: [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 the LG L246

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

2012-10-08 Thread Mario Kleiner
On 08.10.12 13:35, Imre Deak wrote: 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

[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 w

[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 +++- 1 file changed, 11 ins

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

2012-10-08 Thread Tapani Pälli
ED_LIBRARY) >> >> 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
then? This would make the separate default-mode/native-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>

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

2012-10-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53544 --- Comment #14 from Paul Menzel --- In #intel-gfx, ajax confirmed that this is probably a bug in the 915(GM) part of the driver. Unfortunately Intel has not yet released the gen3 documentation, so for non-Intel employees it will be hard to fix t

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

2012-10-08 Thread Marcin Slusarz
On Mon, Oct 08, 2012 at 02:50:38PM -0500, 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. FWIW, patches 1-5 and 7 (with a fix to 1st) are: Reviewed-by: Marcin Slusarz > > Oth

[Bug 55557] Regnum Online UBO break after game update

2012-10-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=7 --- Comment #3 from Rafael Castillo --- Created attachment 68289 --> https://bugs.freedesktop.org/attachment.cgi?id=68289&action=edit Shader dump requested attached shader dump -- You are receiving this mail because: You are the assignee for

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

2012-10-08 Thread alexdeucher
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 a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/d

[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 insertions(+), 4

[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 100644 --- a/

[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(&event->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 --- drivers/staging/imx-drm/ipuv3-

[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 --- drivers/stag

[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 0e7a930..3ecb702 100644

[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 b/drivers/gpu/drm/exynos/exynos_d

[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 --git a/drivers

[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 100644 --- a/driver

[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 100644 --- a/

[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 --- a/drivers/gpu/d

[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 drm_vblank_count_and_time()) Al

[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 Clark (11): drm

[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 supported

[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 (Imre

[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.] > Signed-o

[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 > --- > Android.mk

[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 aut

[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 Huan

[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 CLOCK

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

2012-10-08 Thread Marcin Slusarz
On Mon, Oct 08, 2012 at 02:50:39PM -0500, Rob Clark wrote: > 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 > the

[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 --git a/drive

[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 tha

[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] drm/nv40/pm: silence GCC warnings

2012-10-08 Thread Paul Bolle
Building nv40_pm.o triggers these GCC warnings: drivers/gpu/drm/nouveau/nv40_pm.c: In function 'nv40_pm_clocks_pre': drivers/gpu/drm/nouveau/nv40_pm.c:164:41: warning: 'log2P' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/gpu/drm/nouveau/nv40_pm.c:165:38: w

[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-

[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 b

Re: [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 th

Re: [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. drm_display

[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 Pincha

[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 insertions(+), 4

[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 100644 --- a/

[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(&event->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 --- drivers/staging/imx-drm/ipuv3-

[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 --- drivers/stag

[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 0e7a930..3ecb702 100644

[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 b/drivers/gpu/drm/exynos/exynos_d

[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 --git a/drivers

[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 100644 --- a/driver

[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 100644 --- a/

[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 --- a/drivers/gpu/d

[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 drm_vblank_count_and_time()) Al

[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 Clark (11): drm

[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 --- drivers/gpu/drm/radeon/ni.c |8 +

[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 --git a/drive

[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 work

[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 +++- 1 file changed, 11 ins

[Bug 55557] Regnum Online UBO break after game update

2012-10-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=7 --- Comment #2 from Rafael Castillo --- ok, today when i get home i'll get a shader dump and post it thanks for your help -- You are receiving this mail because: You are the assignee for the bug. ___

[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 drivers/gpu/drm/radeon/radeon_device.c |

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

2012-10-08 Thread Tomi Valkeinen
- 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/6da1203e/attachment.pgp>

[Bug 55557] Regnum Online UBO break after game update

2012-10-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=7 Ian Romanick changed: What|Removed |Added Status|NEW |NEEDINFO CC|

[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 3.7

[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

[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
re Size: 190 bytes Desc: This is a digitally signed message part URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121008/32223297/attachment.pgp>

Re: [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 game

[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 to

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

2012-10-08 Thread Tomi Valkeinen
@@ -0,0 +1,41 @@ > +/* > + * Copyright 2012 Steffen Trumtrar > + * > + * generic videomode 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>

  1   2   >