Re: Massive power regression going 3.4->3.5

2012-08-01 Thread James Bottomley
On Tue, 2012-07-31 at 20:24 +0100, Chris Wilson wrote: > On Tue, 31 Jul 2012 11:14:17 +0100, Chris Wilson > wrote: > > On Tue, 31 Jul 2012 10:57:10 +0100, James Bottomley > > wrote: > > > > When did you inspect the debug files? One effect I can imagine is that > > > > if your system was previou

Re: [PATCHv2 3/9] v4l: add buffer exporting via dmabuf

2012-08-01 Thread Laurent Pinchart
Hi Tomasz, On Wednesday 01 August 2012 10:01:45 Tomasz Stanislawski wrote: > On 07/31/2012 02:11 PM, Hans Verkuil wrote: > > On Tue 31 July 2012 13:56:14 Laurent Pinchart wrote: > >> On Tuesday 31 July 2012 08:33:56 Hans Verkuil wrote: > >>> On Thu June 14 2012 16:32:23 Tomasz Stanislawski wrote:

Re: [PATCHv2 3/9] v4l: add buffer exporting via dmabuf

2012-08-01 Thread Tomasz Stanislawski
Hi Hans, On 07/31/2012 02:11 PM, Hans Verkuil wrote: > On Tue 31 July 2012 13:56:14 Laurent Pinchart wrote: >> Hi Hans, >> >> On Tuesday 31 July 2012 08:33:56 Hans Verkuil wrote: >>> On Thu June 14 2012 16:32:23 Tomasz Stanislawski wrote: +/** + * struct v4l2_exportbuffer - export of vid

Re: Massive power regression going 3.4->3.5

2012-08-01 Thread Chris Wilson
On Wed, 01 Aug 2012 09:06:12 +0100, James Bottomley wrote: > I got the attached to apply and it doesn't really improve the idle power > much (12.5W). That's good to know. Next step is to try overriding i915.semaphores. Can you please test with i915.semaphores=0 and i915.semaphores=1? -Chris --

Re: [PATCHv2 3/9] v4l: add buffer exporting via dmabuf

2012-08-01 Thread Hans Verkuil
On Wed 1 August 2012 10:01:45 Tomasz Stanislawski wrote: > Hi Hans, > > On 07/31/2012 02:11 PM, Hans Verkuil wrote: > > On Tue 31 July 2012 13:56:14 Laurent Pinchart wrote: > >> Hi Hans, > >> > >> On Tuesday 31 July 2012 08:33:56 Hans Verkuil wrote: > >>> On Thu June 14 2012 16:32:23 Tomasz Stanis

Re: Massive power regression going 3.4->3.5

2012-08-01 Thread James Bottomley
On Wed, 2012-08-01 at 09:16 +0100, Chris Wilson wrote: > On Wed, 01 Aug 2012 09:06:12 +0100, James Bottomley > wrote: > > I got the attached to apply and it doesn't really improve the idle power > > much (12.5W). > > That's good to know. Next step is to try overriding i915.semaphores. > Can you

[PATCH libdrm] Add configure option --with/--without-valgrind

2012-08-01 Thread Daniel Martin
Add a configure option --with/--without-valgrind to be able to compile libdrm with or without valgrind. The latter was not possible if pkgconfig found the valgrind package. --- configure.ac | 18 -- 1 files changed, 16 insertions(+), 2 deletions(-) diff --git a/configure.ac b/co

[PATCH V2 3/5] arm: samsung: Include the modified FIMD header file

2012-08-01 Thread Leela Krishna Amudala
The fimd register headers have been moved to include/video/ hence, modifying the machine files accordingly. Signed-off-by: Leela Krishna Amudala --- arch/arm/mach-exynos/mach-nuri.c |2 +- arch/arm/mach-exynos/mach-origen.c |2 +- arch/arm/mach-exynos/mach-smdk4x12.c

RE: [PATCH 1/3] Move FIMD register headers to include/video/

2012-08-01 Thread Marek Szyprowski
Hello, On Tuesday, July 31, 2012 2:48 AM Jingoo Han wrote: > On Monday, July 30, 2012 8:16 PM, Leela Krishna Amudala wrote: > > > > Hello Jingoo Han, > > > > On Mon, Jul 30, 2012 at 2:23 PM, Jingoo Han wrote: > > > On Monday, July 30, 2012 5:45 PM, Leela Krishna Amudala wrote: > > >> > > >> Move

Re: [PATCH 1/3] Move FIMD register headers to include/video/

2012-08-01 Thread Tomasz Figa
Hi, On Tuesday 31 of July 2012 at 09:47:57, Jingoo Han wrote: > On Monday, July 30, 2012 8:16 PM, Leela Krishna Amudala wrote: > > Hello Jingoo Han, > > > > On Mon, Jul 30, 2012 at 2:23 PM, Jingoo Han wrote: > > > On Monday, July 30, 2012 5:45 PM, Leela Krishna Amudala wrote: > > >> Moved the co

Re: drm/nouveau: crash regression in 3.5

2012-08-01 Thread Ortwin Glück
Yes, as far as I can tell. I didn't do anything different this time. The date on the kernel file looks ok. Just did a fresh make && make install again, and got the same behaviour. When is that number after the hash sign upped? Marcin Slusarz wrote: >Are you sure you boot the correct kernel? I

Re: [PATCH 1/3] Move FIMD register headers to include/video/

2012-08-01 Thread Jingoo Han
On Tuesday, July 31, 2012 3:37 PM, Tomasz Figa wrote: > > Hi, > > On Tuesday 31 of July 2012 at 09:47:57, Jingoo Han wrote: > > On Monday, July 30, 2012 8:16 PM, Leela Krishna Amudala wrote: > > > Hello Jingoo Han, > > > > > > On Mon, Jul 30, 2012 at 2:23 PM, Jingoo Han wrote: > > > > On Monday

Re: [PATCH 1/3] Move FIMD register headers to include/video/

2012-08-01 Thread Jingoo Han
On Tuesday, July 31, 2012 3:28 PM Marek Szyprowski wrote: > > Hello, > > On Tuesday, July 31, 2012 2:48 AM Jingoo Han wrote: > > > On Monday, July 30, 2012 8:16 PM, Leela Krishna Amudala wrote: > > > > > > Hello Jingoo Han, > > > > > > On Mon, Jul 30, 2012 at 2:23 PM, Jingoo Han wrote: > > > >

RE: [PATCH 1/3] Move FIMD register headers to include/video/

2012-08-01 Thread Marek Szyprowski
Hello, On Tuesday, July 31, 2012 10:19 AM Jingoo Han wrote: > On Tuesday, July 31, 2012 3:28 PM Marek Szyprowski wrote: > > > > Hello, > > > > On Tuesday, July 31, 2012 2:48 AM Jingoo Han wrote: > > > > > On Monday, July 30, 2012 8:16 PM, Leela Krishna Amudala wrote: > > > > > > > > Hello Jingoo

[PATCH V2 0/5] arm: samsung: Move FIMD headers to include/video/

2012-08-01 Thread Leela Krishna Amudala
This patchset moves the contents of regs-fb-v4.h and regs-fb.h from arch side to include/video/samsung_fimd.h This patchset is created and rebased against master branch of torvalds tree. Tested on smdk5250 board, build tested for other boards. Changes from version 1: - Split the patches a

[PATCH V2 1/5] include/video: Add samsung FIMD register header

2012-08-01 Thread Leela Krishna Amudala
This patch copies the contents from regs-fb-v4.h and regs-fb.h to include/video/samsung_fimd.h Signed-off-by: Leela Krishna Amudala --- include/video/samsung_fimd.h | 526 ++ 1 files changed, 526 insertions(+), 0 deletions(-) create mode 100644 include/v

[PATCH V2 2/5] include/video: Add Exynos5 specific FIMD register offsets

2012-08-01 Thread Leela Krishna Amudala
Exynos5 has VIDTCON and VIDCON registers at different offsets from the previous SOCs. Hence, adding the macros. Signed-off-by: Leela Krishna Amudala --- include/video/samsung_fimd.h |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/include/video/samsung_fimd.h b/incl

[PATCH V2 4/5] driver: Include the modified FIMD header file

2012-08-01 Thread Leela Krishna Amudala
The fimd register headers have been moved to include/video/ hence, modifying the driver files accordingly. Signed-off-by: Leela Krishna Amudala --- drivers/gpu/drm/exynos/exynos_drm_fimd.c |2 +- drivers/video/s3c-fb.c |2 +- 2 files changed, 2 insertions(+), 2 deletion

[PATCH V2 5/5] arm: samsung: delete frame buffer header files from platform

2012-08-01 Thread Leela Krishna Amudala
The FIMD register headers are moved to include/video/ hence, deleting these files from platform side Signed-off-by: Leela Krishna Amudala --- arch/arm/plat-samsung/include/plat/regs-fb-v4.h | 159 - arch/arm/plat-samsung/include/plat/regs-fb.h| 403 --- 2 files

Re: [PATCH V2 2/5] include/video: Add Exynos5 specific FIMD register offsets

2012-08-01 Thread Sergei Shtylyov
Hello. On 31-07-2012 16:23, Leela Krishna Amudala wrote: Exynos5 has VIDTCON and VIDCON registers at different offsets from the previous SOCs. Hence, adding the macros. Signed-off-by: Leela Krishna Amudala --- include/video/samsung_fimd.h |7 +++ 1 files changed, 7 insertions(+),

Re: [PATCHv2 3/9] v4l: add buffer exporting via dmabuf

2012-08-01 Thread Rémi Denis-Courmont
Le mardi 31 juillet 2012 14:56:14 Laurent Pinchart, vous avez écrit : > > For that matter, wouldn't it be useful to support exporting a userptr > > buffer at some point in the future? > > Shouldn't USERPTR usage be discouraged once we get dma-buf support ? USERPTR, where available, is currently t

Re: [PATCHv2 3/9] v4l: add buffer exporting via dmabuf

2012-08-01 Thread Rémi Denis-Courmont
Le mardi 31 juillet 2012 17:03:52 Rob Clark, vous avez écrit : > On Tue, Jul 31, 2012 at 8:39 AM, Rémi Denis-Courmont wrote: > > Le mardi 31 juillet 2012 14:56:14 Laurent Pinchart, vous avez écrit : > >> > For that matter, wouldn't it be useful to support exporting a userptr > >> > buffer at some

Re: Fwd: Brightness on HP EliteBook 8460p

2012-08-01 Thread Pali Rohár
On Tuesday 31 July 2012 17:49:32 Luca Tettamanti wrote: > I'm putting back the CC and adding Alex. > > On Tue, Jul 31, 2012 at 5:07 PM, Pali Rohár wrote: > > Thanks, now working. When I write to acpi video brightness > > file it change brightness and in dmesg is: > > > > [ 47.200998] [drm:radeon

Re: [PATCHv2 3/9] v4l: add buffer exporting via dmabuf

2012-08-01 Thread Rémi Denis-Courmont
Le mardi 31 juillet 2012 19:28:12 Laurent Pinchart, vous avez écrit : > Hi Rémi, > > On Tuesday 31 July 2012 16:39:00 Rémi Denis-Courmont wrote: > > Le mardi 31 juillet 2012 14:56:14 Laurent Pinchart, vous avez écrit : > > > > For that matter, wouldn't it be useful to support exporting a userptr >

Re: [PATCH V2 4/5] driver: Include the modified FIMD header file

2012-08-01 Thread Jingoo Han
On Tuesday, July 31, 2012 9:23 PM Leela Krishna Amudala wrote: > > The fimd register headers have been moved to include/video/ > hence, modifying the driver files accordingly. > > Signed-off-by: Leela Krishna Amudala > --- > drivers/gpu/drm/exynos/exynos_drm_fimd.c |2 +- > drivers/video/s3

Re: [PATCH V2 3/5] arm: samsung: Include the modified FIMD header file

2012-08-01 Thread Jingoo Han
On Tuesday, July 31, 2012 9:23 PM Leela Krishna Amudala wrote: > > The fimd register headers have been moved to include/video/ > hence, modifying the machine files accordingly. > > Signed-off-by: Leela Krishna Amudala > --- > arch/arm/mach-exynos/mach-nuri.c |2 +- > arch/arm/mach

RE: [PATCH V2 2/5] include/video: Add Exynos5 specific FIMD register offsets

2012-08-01 Thread Jingoo Han
On Tuesday, July 31, 2012 9:23 PM Leela Krishna Amudala wrote: > > Exynos5 has VIDTCON and VIDCON registers at different offsets > from the previous SOCs. Hence, adding the macros. > > Signed-off-by: Leela Krishna Amudala > --- > include/video/samsung_fimd.h |7 +++ > 1 files changed, 7

RE: [PATCH 1/3] Move FIMD register headers to include/video/

2012-08-01 Thread Kukjin Kim
Marek Szyprowski wrote: > > Hello, > Hi all, [...] > > static struct s3c_fb_driverdata s3c_fb_data_exynos5 = { > > .variant = { > > .nr_windows = 5, > > - .vidtcon= VIDTCON0, > > + .vidtcon= FIMD_V8_VIDTCON0, > > Yes, thi

RE: [PATCH 1/3] Move FIMD register headers to include/video/

2012-08-01 Thread Kukjin Kim
Leela Krishna Amudala wrote: > > Moved the contents of regs-fb-v4.h and regs-fb.h from arch side > to include/video/samsung_fimd.h > > Signed-off-by: Leela Krishna Amudala > --- > arch/arm/plat-samsung/include/plat/regs-fb-v4.h | 159 --- > arch/arm/plat-samsung/include/plat/regs-fb.h|

RE: [PATCH 1/3] Move FIMD register headers to include/video/

2012-08-01 Thread Kukjin Kim
Jingoo Han wrote: > > On Monday, July 30, 2012 8:16 PM, Leela Krishna Amudala wrote: > > > > Hello Jingoo Han, > > > > On Mon, Jul 30, 2012 at 2:23 PM, Jingoo Han wrote: > > > On Monday, July 30, 2012 5:45 PM, Leela Krishna Amudala wrote: > > >> > > >> Moved the contents of regs-fb-v4.h and regs-

RE: [PATCH V2 5/5] arm: samsung: delete frame buffer header files from platform

2012-08-01 Thread Kukjin Kim
Leela Krishna Amudala wrote: > > The FIMD register headers are moved to include/video/ > hence, deleting these files from platform side > > Signed-off-by: Leela Krishna Amudala > --- > arch/arm/plat-samsung/include/plat/regs-fb-v4.h | 159 - > arch/arm/plat-samsung/include/plat/regs-fb

RE: [PATCH V2 1/5] include/video: Add samsung FIMD register header

2012-08-01 Thread Kukjin Kim
Leela Krishna Amudala wrote: > > This patch copies the contents from regs-fb-v4.h and regs-fb.h to > include/video/samsung_fimd.h > > Signed-off-by: Leela Krishna Amudala > --- > include/video/samsung_fimd.h | 526 > ++ > 1 files changed, 526 insertions(

RE: [PATCH V2 2/5] include/video: Add Exynos5 specific FIMD register offsets

2012-08-01 Thread Kukjin Kim
Leela Krishna Amudala wrote: > > Exynos5 has VIDTCON and VIDCON registers at different offsets > from the previous SOCs. Hence, adding the macros. > > Signed-off-by: Leela Krishna Amudala > --- > include/video/samsung_fimd.h |7 +++ > 1 files changed, 7 insertions(+), 0 deletions(-) >

RE: [PATCH V2 3/5] arm: samsung: Include the modified FIMD header file

2012-08-01 Thread Kukjin Kim
Leela Krishna Amudala wrote: > > The fimd register headers have been moved to include/video/ > hence, modifying the machine files accordingly. > > Signed-off-by: Leela Krishna Amudala > --- > arch/arm/mach-exynos/mach-nuri.c |2 +- > arch/arm/mach-exynos/mach-origen.c |

RE: [PATCH V2 4/5] driver: Include the modified FIMD header file

2012-08-01 Thread Kukjin Kim
Leela Krishna Amudala wrote: > > The fimd register headers have been moved to include/video/ > hence, modifying the driver files accordingly. > > Signed-off-by: Leela Krishna Amudala > --- > drivers/gpu/drm/exynos/exynos_drm_fimd.c |2 +- > drivers/video/s3c-fb.c |2 +-

RE: [PATCH V2 0/5] arm: samsung: Move FIMD headers to include/video/

2012-08-01 Thread Kukjin Kim
Leela Krishna Amudala wrote: > > This patchset moves the contents of regs-fb-v4.h and regs-fb.h from arch > side > to include/video/samsung_fimd.h > > This patchset is created and rebased against master branch of torvalds > tree. > Tested on smdk5250 board, build tested for other boards. > (Cc'e

Re: Fwd: Brightness on HP EliteBook 8460p

2012-08-01 Thread Pali Rohár
On Tuesday 31 July 2012 12:17:05 Alex Deucher wrote: > On Tue, Jul 31, 2012 at 12:03 PM, Pali Rohár wrote: > > On Tuesday 31 July 2012 17:49:32 Luca Tettamanti wrote: > >> I'm putting back the CC and adding Alex. > >> > >> On Tue, Jul 31, 2012 at 5:07 PM, Pali Rohár > > > > wrote: > >> > Thanks,

Re: [PATCHv2 3/9] v4l: add buffer exporting via dmabuf

2012-08-01 Thread Rémi Denis-Courmont
On Tue, 31 Jul 2012 23:52:35 +0200, Laurent Pinchart wrote: >> I want to receive the video buffers in user space for processing. >> Typically >> "processing" is software encoding or conversion. That's what virtually >> any >> V4L application does on the desktop... > > But what prevents you from u

Re: [PATCH] drm/radeon: add new AMD ACPI header and update relevant code

2012-08-01 Thread Luca Tettamanti
On Tue, Jul 31, 2012 at 05:33:16PM -0400, Alex Deucher wrote: > Patches look good. I picked them up and combined them with may > patches plus a few other small fixes. They are available here: > http://cgit.freedesktop.org/~agd5f/linux/log/?h=acpi_patches > Let me know what you think. Looks ok, I

Re: Massive power regression going 3.4->3.5

2012-08-01 Thread Chris Wilson
On Wed, 01 Aug 2012 09:45:04 +0100, James Bottomley wrote: > On Wed, 2012-08-01 at 09:16 +0100, Chris Wilson wrote: > > On Wed, 01 Aug 2012 09:06:12 +0100, James Bottomley > > wrote: > > > I got the attached to apply and it doesn't really improve the idle power > > > much (12.5W). > > > > That

Re: Massive power regression going 3.4->3.5

2012-08-01 Thread James Bottomley
On Wed, 2012-08-01 at 09:58 +0100, Chris Wilson wrote: > On Wed, 01 Aug 2012 09:45:04 +0100, James Bottomley > wrote: > > On Wed, 2012-08-01 at 09:16 +0100, Chris Wilson wrote: > > > On Wed, 01 Aug 2012 09:06:12 +0100, James Bottomley > > > wrote: > > > > I got the attached to apply and it does

Re: [PATCH libdrm] Add configure option --with/--without-valgrind

2012-08-01 Thread Daniel Martin
On 31 July 2012 17:39, Eric Anholt wrote: > Daniel Martin writes: >> Add a configure option --with/--without-valgrind to be able to compile >> libdrm with or without valgrind. The latter was not possible if >> pkgconfig found the valgrind package. > > How would you have the valgrind .pc file but

Re: Massive power regression going 3.4->3.5

2012-08-01 Thread Chris Wilson
On Wed, 01 Aug 2012 10:07:23 +0100, James Bottomley wrote: > > Can you please login to the desktop, let it idle, record > > /sys/kernel/debug/dri/0/i915_cur_delayinfo and .../i915_drpc_info. > > Then trace-cmd record -e i915 sleep 10s, and follow up with a new pair > > of /sys/kernel/debug/dri/0/

Re: [RFC 0/3] solving omapdrm/omapdss layering issues

2012-08-01 Thread Tomi Valkeinen
On Tue, 2012-07-31 at 09:45 -0500, Rob Clark wrote: > On Tue, Jul 31, 2012 at 8:40 AM, Tomi Valkeinen wrote: > > It's not really about being friendly. Omapdss tries to do as little as > > possible, while still supporting all its HW features. Shadow registers > > are a bit tricky creating this mes

Re: [PATCHv2 3/9] v4l: add buffer exporting via dmabuf

2012-08-01 Thread Tomasz Stanislawski
Hi Hans, >> >> I do not see any good point in using v4l2_plane. What would be the meaning >> of bytesused, length, data_offset in case of DMABUF exporting? >> >> The field reserved0 was introduced to be replaced by __u32 memory if other >> means >> of buffer description would be needed. The reser

Re: Massive power regression going 3.4->3.5

2012-08-01 Thread James Bottomley
On Wed, 2012-08-01 at 09:58 +0100, Chris Wilson wrote: > On Wed, 01 Aug 2012 09:45:04 +0100, James Bottomley > wrote: > > On Wed, 2012-08-01 at 09:16 +0100, Chris Wilson wrote: > > > On Wed, 01 Aug 2012 09:06:12 +0100, James Bottomley > > > wrote: > > > > I got the attached to apply and it does

[PATCH] staging: drm/omap: remove reclaim_buffers callback

2012-08-01 Thread Chandrabhanu Mahapatra
The reclaim_buffers callback has already been removed by Daniel Vetter with his patch "drm: kill reclaim_buffers callback" for which the kernel compilation fails with omapdrm support. So, the callback for reclaim_buffers is removed from omapdrm. Signed-off-by: Chandrabhanu Mahapatra --- drivers

Re: [PATCH V2 0/5] arm: samsung: Move FIMD headers to include/video/

2012-08-01 Thread Florian Tobias Schandinat
On 08/01/2012 02:28 AM, Kukjin Kim wrote: > Leela Krishna Amudala wrote: >> >> This patchset moves the contents of regs-fb-v4.h and regs-fb.h from arch >> side >> to include/video/samsung_fimd.h >> >> This patchset is created and rebased against master branch of torvalds >> tree. >> Tested on smdk5

Re: [PATCH V2 5/5] arm: samsung: delete frame buffer header files from platform

2012-08-01 Thread Sylwester Nawrocki
Hi, On 08/01/2012 11:39 AM, Kukjin Kim wrote: > Leela Krishna Amudala wrote: >> On Wed, Aug 1, 2012 at 7:34 AM, Kukjin Kim wrote: >>> Leela Krishna Amudala wrote: The FIMD register headers are moved to include/video/ hence, deleting these files from platform side Signed-o

Re: Massive power regression going 3.4->3.5

2012-08-01 Thread Chris Wilson
On Wed, 01 Aug 2012 10:38:36 +0100, James Bottomley wrote: > On Wed, 2012-08-01 at 09:58 +0100, Chris Wilson wrote: > > On Wed, 01 Aug 2012 09:45:04 +0100, James Bottomley > > wrote: > > > On Wed, 2012-08-01 at 09:16 +0100, Chris Wilson wrote: > > > > On Wed, 01 Aug 2012 09:06:12 +0100, James B

Re: Massive power regression going 3.4->3.5

2012-08-01 Thread James Bottomley
On Wed, 2012-08-01 at 09:58 +0100, Chris Wilson wrote: > On Wed, 01 Aug 2012 09:45:04 +0100, James Bottomley > wrote: > > On Wed, 2012-08-01 at 09:16 +0100, Chris Wilson wrote: > > > On Wed, 01 Aug 2012 09:06:12 +0100, James Bottomley > > > wrote: > > > > I got the attached to apply and it does

Re: [PATCH] staging: drm/omap: remove reclaim_buffers callback

2012-08-01 Thread Semwal, Sumit
On Wed, Aug 1, 2012 at 3:02 PM, Chandrabhanu Mahapatra wrote: > The reclaim_buffers callback has already been removed by Daniel Vetter > with his patch "drm: kill reclaim_buffers callback" > for which the kernel compilation fails with omapdrm support. So, the callback > for reclaim_buffers is rem

Bug report

2012-08-01 Thread artem rus
Problem: GPU hangs Chipset: Intel 845 GV + ICH4 Video: integrated Linux kernel: 3.3.5, 3.4.7 (no bug difference) X.Org X Server 1.7.7 How to reproduce: First Xorg start is ok, bug happens after Xorg restart Syslog: Aug 1 17:13:18 nika kernel: [ 1049.248033] [drm:i915_hangcheck_elapsed] *ERROR* Han

Re: [PATCHv2 3/9] v4l: add buffer exporting via dmabuf

2012-08-01 Thread Laurent Pinchart
Hi Rémi, On Wednesday 01 August 2012 10:37:02 Rémi Denis-Courmont wrote: > On Tue, 31 Jul 2012 23:52:35 +0200, Laurent Pinchart wrote: > >> I want to receive the video buffers in user space for processing. > >> Typically "processing" is software encoding or conversion. That's what > >> virtually a

Re: [PATCH] drm: refcnt drm_framebuffer

2012-08-01 Thread Ville Syrjälä
On Tue, Jul 31, 2012 at 02:28:29PM -0500, Rob Clark wrote: > On Tue, Jul 31, 2012 at 12:47 PM, Chris Wilson > wrote: > > On Tue, 31 Jul 2012 12:41:28 -0500, Rob Clark wrote: > >> On Tue, Jul 31, 2012 at 12:00 PM, Chris Wilson > >> wrote: > >> > On Tue, 31 Jul 2012 11:20:21 -0500, Rob Clark >

Re: [PATCH] staging: drm/omap: remove reclaim_buffers callback

2012-08-01 Thread Rob Clark
On Wed, Aug 1, 2012 at 4:32 AM, Chandrabhanu Mahapatra wrote: > The reclaim_buffers callback has already been removed by Daniel Vetter > with his patch "drm: kill reclaim_buffers callback" > for which the kernel compilation fails with omapdrm support. So, the callback > for reclaim_buffers is rem

RE: [PATCH V2 5/5] arm: samsung: delete frame buffer header files from platform

2012-08-01 Thread Kukjin Kim
Leela Krishna Amudala wrote: > > Hello Kgene, > > On Wed, Aug 1, 2012 at 7:34 AM, Kukjin Kim wrote: > > Leela Krishna Amudala wrote: > >> > >> The FIMD register headers are moved to include/video/ > >> hence, deleting these files from platform side > >> > >> Signed-off-by: Leela Krishna Amudala

RE: [PATCH V2 0/5] arm: samsung: Move FIMD headers to include/video/

2012-08-01 Thread Kukjin Kim
Florian Tobias Schandinat wrote: > > On 08/01/2012 02:28 AM, Kukjin Kim wrote: > > Leela Krishna Amudala wrote: > >> > >> This patchset moves the contents of regs-fb-v4.h and regs-fb.h from > arch > >> side > >> to include/video/samsung_fimd.h > >> > >> This patchset is created and rebased against

RE: [PATCH V2 5/5] arm: samsung: delete frame buffer header files from platform

2012-08-01 Thread Kukjin Kim
Sylwester Nawrocki wrote: > > Hi, > > On 08/01/2012 11:39 AM, Kukjin Kim wrote: > > Leela Krishna Amudala wrote: > >> On Wed, Aug 1, 2012 at 7:34 AM, Kukjin Kim > wrote: > >>> Leela Krishna Amudala wrote: > > The FIMD register headers are moved to include/video/ > hence, deleting

[PATCH 1/3] drm: Add missing static storage class specifiers in drm_proc.c file

2012-08-01 Thread Sachin Kamat
Fixes the following sparse warning: drivers/gpu/drm/drm_proc.c:92:5: warning: symbol 'drm_proc_create_files' was not declared. Should it be static? drivers/gpu/drm/drm_proc.c:175:5: warning: symbol 'drm_proc_remove_files' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- dri

[PATCH 2/3] drm: Add missing static storage class specifier in drm_irq.c file

2012-08-01 Thread Sachin Kamat
Fixes the following sparse warning: drivers/gpu/drm/drm_irq.c:1239:6: warning: symbol 'drm_handle_vblank_events' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- drivers/gpu/drm/drm_irq.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu

[PATCH 3/3] drm: Add misssing static storage class specifier in drm_fb_helper.c file

2012-08-01 Thread Sachin Kamat
Fixes the following sparse warning: drivers/gpu/drm/drm_fb_helper.c:239:6: warning: symbol 'drm_fb_helper_force_kernel_mode' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- drivers/gpu/drm/drm_fb_helper.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --

Re: [PATCH] staging: drm/omap: remove reclaim_buffers callback

2012-08-01 Thread Paul Menzel
Am Mittwoch, den 01.08.2012, 15:02 +0530 schrieb Chandrabhanu Mahapatra: > The reclaim_buffers callback has already been removed by Daniel Vetter > with his patch "drm: kill reclaim_buffers callback" Please add the first eight characters of the commit hash behind the summary in parentheses. > fo

Re: [PATCH] drm: refcnt drm_framebuffer

2012-08-01 Thread Rob Clark
On Wed, Aug 1, 2012 at 6:36 AM, Ville Syrjälä wrote: > On Tue, Jul 31, 2012 at 02:28:29PM -0500, Rob Clark wrote: >> On Tue, Jul 31, 2012 at 12:47 PM, Chris Wilson >> wrote: >> > On Tue, 31 Jul 2012 12:41:28 -0500, Rob Clark wrote: >> >> On Tue, Jul 31, 2012 at 12:00 PM, Chris Wilson >> >> wr

[Bug 51658] r200 (& possibly radeon) DRI fixes for gnome shell on Mesa 8.0.3

2012-08-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51658 --- Comment #10 from Roland Scheidegger 2012-08-01 13:07:09 UTC --- With 5b88a2a22daae4d09596804d8edc6b8796d05150 attachment 63712, 63716, 63717, 63718 are obsolete. Still unsure what to do with the others. -- Configure bugmail: https://bugs.f

[PATCH] staging: drm/omap: remove reclaim_buffers callback

2012-08-01 Thread Chandrabhanu Mahapatra
The reclaim_buffers callback has already been removed by Daniel Vetter with his patch "drm: kill reclaim_buffers callback" (b0071efe82). As a result the kernel compilation fails with omapdrm support and so the callback for reclaim_buffers is being removed from omapdrm. Signed-off-by: Chandrabhanu

[PATCH/RFC] drm/radeon: ACPI: veto the keypress on ATIF events

2012-08-01 Thread Luca Tettamanti
AMD ACPI interface may overload the standard event ACPI_VIDEO_NOTIFY_PROBE (0x81) to signal AMD-specific events. In such cases we don't want to send the keypress (KEY_SWITCHVIDEOMODE) to the userspace because the user did not press the mode switch key (the spurious keypress confuses the DE which us

Re: [PATCH] drm/radeon: add new AMD ACPI header and update relevant code

2012-08-01 Thread Alex Deucher
On Wed, Aug 1, 2012 at 4:57 AM, Luca Tettamanti wrote: > On Tue, Jul 31, 2012 at 05:33:16PM -0400, Alex Deucher wrote: >> Patches look good. I picked them up and combined them with may >> patches plus a few other small fixes. They are available here: >> http://cgit.freedesktop.org/~agd5f/linux/l

Re: [PATCH/RFC] drm/radeon: ACPI: veto the keypress on ATIF events

2012-08-01 Thread Alex Deucher
On Wed, Aug 1, 2012 at 9:49 AM, Luca Tettamanti wrote: > AMD ACPI interface may overload the standard event > ACPI_VIDEO_NOTIFY_PROBE (0x81) to signal AMD-specific events. In such > cases we don't want to send the keypress (KEY_SWITCHVIDEOMODE) to the > userspace because the user did not press the

[Bug 53045] New: Incorrect picture with AMD 6970

2012-08-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53045 Bug #: 53045 Summary: Incorrect picture with AMD 6970 Classification: Unclassified Product: DRI Version: unspecified Platform: x86-64 (AMD64) OS/Version: Linux (All) S

Re: [RFC 0/3] solving omapdrm/omapdss layering issues

2012-08-01 Thread Rob Clark
On Wed, Aug 1, 2012 at 4:21 AM, Tomi Valkeinen wrote: > On Tue, 2012-07-31 at 09:45 -0500, Rob Clark wrote: >> On Tue, Jul 31, 2012 at 8:40 AM, Tomi Valkeinen >> wrote: > >> > It's not really about being friendly. Omapdss tries to do as little as >> > possible, while still supporting all its HW

[Bug 53045] Incorrect picture with AMD 6970

2012-08-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53045 --- Comment #1 from Jerome Glisse 2012-08-01 14:32:27 UTC --- Created attachment 65037 --> https://bugs.freedesktop.org/attachment.cgi?id=65037 Disable crtc after mc setup Attached kernel patch should fix your issue. -- Configure bugmail: h

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

2012-08-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #77 from Alexandre Demers 2012-08-01 16:09:21 UTC --- (In reply to comment #70) > Does this kernel patch help? > http://lists.freedesktop.org/archives/dri-devel/2012-July/025704.html No, it doesn't (well not about the present bug).

Re: [RFC 0/3] solving omapdrm/omapdss layering issues

2012-08-01 Thread Rob Clark
On Wed, Aug 1, 2012 at 11:46 AM, Archit Taneja wrote: > Hi, > > > On Wednesday 01 August 2012 07:55 PM, Rob Clark wrote: >> >> On Wed, Aug 1, 2012 at 4:21 AM, Tomi Valkeinen >> wrote: >>> >>> On Tue, 2012-07-31 at 09:45 -0500, Rob Clark wrote: On Tue, Jul 31, 2012 at 8:40 AM, Tomi Valke

Re: [RFC 0/3] solving omapdrm/omapdss layering issues

2012-08-01 Thread Archit Taneja
Hi, On Wednesday 01 August 2012 07:55 PM, Rob Clark wrote: On Wed, Aug 1, 2012 at 4:21 AM, Tomi Valkeinen wrote: On Tue, 2012-07-31 at 09:45 -0500, Rob Clark wrote: On Tue, Jul 31, 2012 at 8:40 AM, Tomi Valkeinen wrote: It's not really about being friendly. Omapdss tries to do as little a

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

2012-08-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #78 from Jerome Glisse 2012-08-01 16:59:03 UTC --- (In reply to comment #77) > (In reply to comment #70) > > Does this kernel patch help? > > http://lists.freedesktop.org/archives/dri-devel/2012-July/025704.html > > No, it doesn't (

Re: [RFC 0/3] solving omapdrm/omapdss layering issues

2012-08-01 Thread Rob Clark
On Wed, Aug 1, 2012 at 11:53 AM, Rob Clark wrote: > On Wed, Aug 1, 2012 at 11:46 AM, Archit Taneja wrote: >> Hi, >> >> >> On Wednesday 01 August 2012 07:55 PM, Rob Clark wrote: >>> >>> On Wed, Aug 1, 2012 at 4:21 AM, Tomi Valkeinen >>> wrote: On Tue, 2012-07-31 at 09:45 -0500, Rob Clar

Re: [PATCH] staging: drm/omap: remove reclaim_buffers callback

2012-08-01 Thread Rob Clark
On Wed, Aug 1, 2012 at 8:20 AM, Chandrabhanu Mahapatra wrote: > The reclaim_buffers callback has already been removed by Daniel Vetter > with his patch "drm: kill reclaim_buffers callback" > (b0071efe82). As a result the kernel compilation fails with omapdrm support > and so the callback for recl

[Bug 53045] Incorrect picture with AMD 6970

2012-08-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53045 --- Comment #2 from Anatoly Berbeka 2012-08-01 17:36:12 UTC --- Thanks, this patch works for me. Now everything is fine. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --

[Bug 53045] Incorrect picture with AMD 6970

2012-08-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53045 Anatoly Berbeka changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [RFC 0/3] solving omapdrm/omapdss layering issues

2012-08-01 Thread Tomi Valkeinen
On Wed, 2012-08-01 at 11:53 -0500, Rob Clark wrote: > Ok.. this would help. I'll take a look. I do request that > interfaces/panels don't set any mgr/timing related registers. I had > to comment all this stuff out in my prototype. Really we want to set > the timings separately on the crtc (mgr

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

2012-08-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #79 from Alexandre Demers 2012-08-01 18:06:40 UTC --- (In reply to comment #78) > (In reply to comment #77) > > (In reply to comment #70) > > > Does this kernel patch help? > > > http://lists.freedesktop.org/archives/dri-devel/2012-J

Re: [RFC 0/3] solving omapdrm/omapdss layering issues

2012-08-01 Thread Rob Clark
On Wed, Aug 1, 2012 at 12:38 PM, Tomi Valkeinen wrote: > On Wed, 2012-08-01 at 11:53 -0500, Rob Clark wrote: > >> Ok.. this would help. I'll take a look. I do request that >> interfaces/panels don't set any mgr/timing related registers. I had >> to comment all this stuff out in my prototype. R

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

2012-08-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #80 from Anthony Waters 2012-08-02 00:41:23 UTC --- I tried both patches, the one from comment 76 and the one from comment 70, neither fixed the issue with the rendering regression or the va conflict. -- Configure bugmail: https://

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

2012-08-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #81 from Anthony Waters 2012-08-02 00:47:06 UTC --- Created attachment 65051 --> https://bugs.freedesktop.org/attachment.cgi?id=65051 fixes to wait on the bo and to free the va after the kernel These are the changes I made to make

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

2012-08-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #82 from Alexandre Demers 2012-08-02 01:02:42 UTC --- (In reply to comment #80) > I tried both patches, the one from comment 76 and the one from comment 70, > neither fixed the issue with the rendering regression or the va conflict.

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

2012-08-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #83 from Jerome Glisse 2012-08-02 03:46:43 UTC --- How do you trigger the va issue ? piglit ? I was not able to reproduce. It's kind of painful to debug in the dark. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?

Re: [PATCH/RFC] drm/radeon: ACPI: veto the keypress on ATIF events

2012-08-01 Thread joeyli
於 三,2012-08-01 於 15:49 +0200,Luca Tettamanti 提到: > AMD ACPI interface may overload the standard event > ACPI_VIDEO_NOTIFY_PROBE (0x81) to signal AMD-specific events. In such > cases we don't want to send the keypress (KEY_SWITCHVIDEOMODE) to the > userspace because the user did not press the mode s

Re: [PATCHv2 3/9] v4l: add buffer exporting via dmabuf

2012-08-01 Thread Rémi Denis-Courmont
Le mercredi 1 août 2012 14:35:03 Laurent Pinchart, vous avez écrit : > > But in general, the V4L element in the pipeline does not know how fast > > the downstream element(s) will consume the buffers. Thus it has to copy > > from the MMAP buffers into anonymous user memory pending processing. > > Th

Re: [PATCH/RFC] drm/radeon: ACPI: veto the keypress on ATIF events

2012-08-01 Thread Zhang Rui
On 三, 2012-08-01 at 15:49 +0200, Luca Tettamanti wrote: > AMD ACPI interface may overload the standard event > ACPI_VIDEO_NOTIFY_PROBE (0x81) to signal AMD-specific events. In such > cases we don't want to send the keypress (KEY_SWITCHVIDEOMODE) to the > userspace because the user did not press the

[PATCHv2 3/9] v4l: add buffer exporting via dmabuf

2012-08-01 Thread Laurent Pinchart
Hi Tomasz, On Wednesday 01 August 2012 10:01:45 Tomasz Stanislawski wrote: > On 07/31/2012 02:11 PM, Hans Verkuil wrote: > > On Tue 31 July 2012 13:56:14 Laurent Pinchart wrote: > >> On Tuesday 31 July 2012 08:33:56 Hans Verkuil wrote: > >>> On Thu June 14 2012 16:32:23 Tomasz Stanislawski wrote:

[PATCHv2 3/9] v4l: add buffer exporting via dmabuf

2012-08-01 Thread Tomasz Stanislawski
Hi Hans, On 07/31/2012 02:11 PM, Hans Verkuil wrote: > On Tue 31 July 2012 13:56:14 Laurent Pinchart wrote: >> Hi Hans, >> >> On Tuesday 31 July 2012 08:33:56 Hans Verkuil wrote: >>> On Thu June 14 2012 16:32:23 Tomasz Stanislawski wrote: +/** + * struct v4l2_exportbuffer - export of vid

Massive power regression going 3.4->3.5

2012-08-01 Thread Chris Wilson
On Wed, 01 Aug 2012 09:06:12 +0100, James Bottomley wrote: > I got the attached to apply and it doesn't really improve the idle power > much (12.5W). That's good to know. Next step is to try overriding i915.semaphores. Can you please test with i915.semaphores=0 and i915.semaphores=1? -Chris --

[PATCHv2 3/9] v4l: add buffer exporting via dmabuf

2012-08-01 Thread Hans Verkuil
On Wed 1 August 2012 10:01:45 Tomasz Stanislawski wrote: > Hi Hans, > > On 07/31/2012 02:11 PM, Hans Verkuil wrote: > > On Tue 31 July 2012 13:56:14 Laurent Pinchart wrote: > >> Hi Hans, > >> > >> On Tuesday 31 July 2012 08:33:56 Hans Verkuil wrote: > >>> On Thu June 14 2012 16:32:23 Tomasz Stanis

Massive power regression going 3.4->3.5

2012-08-01 Thread James Bottomley
On Wed, 2012-08-01 at 09:16 +0100, Chris Wilson wrote: > On Wed, 01 Aug 2012 09:06:12 +0100, James Bottomley HansenPartnership.com> wrote: > > I got the attached to apply and it doesn't really improve the idle power > > much (12.5W). > > That's good to know. Next step is to try overriding i915.se

Fwd: Brightness on HP EliteBook 8460p

2012-08-01 Thread Pali Rohár
isabled 0 did not turn display off. > > 0 only turns off the backlight, not the panel itself. Is the > backlight still partially on or is it just the actual panel > (timing and image)? > > Alex I looked at display again and 0 only turn backlight off (or adjust minimum value). If I look at display correctly (in dark room) I can recognize that display is still on and I can see window manager decorations (but text is not readable). Value 255 when ALS is on has same effect as 0 - adjust minimum value (instead maximum). -- Pali Roh?r pali.rohar at gmail.com -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120801/6f4f11e7/attachment.pgp>

[PATCHv2 3/9] v4l: add buffer exporting via dmabuf

2012-08-01 Thread Rémi Denis-Courmont
On Tue, 31 Jul 2012 23:52:35 +0200, Laurent Pinchart wrote: >> I want to receive the video buffers in user space for processing. >> Typically >> "processing" is software encoding or conversion. That's what virtually >> any >> V4L application does on the desktop... > > But what prevents you from u

[PATCH] drm/radeon: add new AMD ACPI header and update relevant code

2012-08-01 Thread Luca Tettamanti
On Tue, Jul 31, 2012 at 05:33:16PM -0400, Alex Deucher wrote: > Patches look good. I picked them up and combined them with may > patches plus a few other small fixes. They are available here: > http://cgit.freedesktop.org/~agd5f/linux/log/?h=acpi_patches > Let me know what you think. Looks ok, I

Massive power regression going 3.4->3.5

2012-08-01 Thread Chris Wilson
On Wed, 01 Aug 2012 09:45:04 +0100, James Bottomley wrote: > On Wed, 2012-08-01 at 09:16 +0100, Chris Wilson wrote: > > On Wed, 01 Aug 2012 09:06:12 +0100, James Bottomley > HansenPartnership.com> wrote: > > > I got the attached to apply and it doesn't really improve the idle power > > > much (12

Massive power regression going 3.4->3.5

2012-08-01 Thread James Bottomley
On Wed, 2012-08-01 at 09:58 +0100, Chris Wilson wrote: > On Wed, 01 Aug 2012 09:45:04 +0100, James Bottomley HansenPartnership.com> wrote: > > On Wed, 2012-08-01 at 09:16 +0100, Chris Wilson wrote: > > > On Wed, 01 Aug 2012 09:06:12 +0100, James Bottomley > > HansenPartnership.com> wrote: > > > >

  1   2   >