Re: [PATCHv13 5/7] fbmon: add of_videomode helpers

2012-11-22 Thread Steffen Trumtrar
Hi Laurent, On Thu, Nov 22, 2012 at 06:58:09PM +0100, Laurent Pinchart wrote: > Hi Steffen, > > On Thursday 22 November 2012 17:00:13 Steffen Trumtrar wrote: > > Add helper to get fb_videomode from devicetree. > > > > Signed-off-by: Steffen Trumtrar > > Reviewed-by: Thierry Reding > > Acked-by

RE: [PATCH 5/5] drm/exynos: Fix potential NULL pointer dereference

2012-11-22 Thread Inki Dae
This was my missing point. Applied. Thanks, Inki Dae > -Original Message- > From: Sachin Kamat [mailto:sachin.ka...@linaro.org] > Sent: Friday, November 23, 2012 12:42 PM > To: dri-devel@lists.freedesktop.org > Cc: inki@samsung.com; jy0922.s...@samsung.com; airl...@linux.ie; > sachin.

RE: [PATCH 4/5] drm/exynos: Use devm_clk_get in exynos_drm_g2d.c

2012-11-22 Thread Inki Dae
Applied. Thanks, Inki Dae > -Original Message- > From: Sachin Kamat [mailto:sachin.ka...@linaro.org] > Sent: Friday, November 23, 2012 12:42 PM > To: dri-devel@lists.freedesktop.org > Cc: inki@samsung.com; jy0922.s...@samsung.com; airl...@linux.ie; > sachin.ka...@linaro.org; patc...@l

RE: [PATCH 3/5] drm/exynos: Use devm_clk_get in exynos_mixer.c

2012-11-22 Thread Inki Dae
> -Original Message- > From: Sachin Kamat [mailto:sachin.ka...@linaro.org] > Sent: Friday, November 23, 2012 12:42 PM > To: dri-devel@lists.freedesktop.org > Cc: inki@samsung.com; jy0922.s...@samsung.com; airl...@linux.ie; > sachin.ka...@linaro.org; patc...@linaro.org > Subject: [PATC

RE: [PATCH 2/5] drm/exynos: Use devm_gpio_request in exynos_hdmi.c

2012-11-22 Thread Inki Dae
> -Original Message- > From: Sachin Kamat [mailto:sachin.ka...@linaro.org] > Sent: Friday, November 23, 2012 12:42 PM > To: dri-devel@lists.freedesktop.org > Cc: inki@samsung.com; jy0922.s...@samsung.com; airl...@linux.ie; > sachin.ka...@linaro.org; patc...@linaro.org > Subject: [PATC

RE: [PATCH 1/5] drm/exynos: Use devm_clk_get in exynos_drm_fimd.c

2012-11-22 Thread Inki Dae
> -Original Message- > From: Sachin Kamat [mailto:sachin.ka...@linaro.org] > Sent: Friday, November 23, 2012 12:42 PM > To: dri-devel@lists.freedesktop.org > Cc: inki@samsung.com; jy0922.s...@samsung.com; airl...@linux.ie; > sachin.ka...@linaro.org; patc...@linaro.org > Subject: [PATC

[RFC v2 5/5] video: panel: Add R61517 panel support

2012-11-22 Thread Laurent Pinchart
From: Laurent Pinchart The R61517 is a MIPI DBI panel controller from Renesas. Signed-off-by: Laurent Pinchart --- drivers/video/display/Kconfig|9 + drivers/video/display/Makefile |1 + drivers/video/display/panel-r61517.c | 447 ++ inclu

[RFC v2 4/5] video: panel: Add R61505 panel support

2012-11-22 Thread Laurent Pinchart
From: Laurent Pinchart The R61505 is a SYS-80 bus panel controller from Renesas. Signed-off-by: Laurent Pinchart --- drivers/video/display/Kconfig|9 + drivers/video/display/Makefile |1 + drivers/video/display/panel-r61505.c | 554 ++ inc

[RFC v2 3/5] video: display: Add MIPI DBI bus support

2012-11-22 Thread Laurent Pinchart
From: Laurent Pinchart Signed-off-by: Laurent Pinchart --- drivers/video/display/Kconfig|4 + drivers/video/display/Makefile |1 + drivers/video/display/mipi-dbi-bus.c | 228 ++ include/video/display.h |5 + include/video/m

[RFC v2 2/5] video: panel: Add DPI panel support

2012-11-22 Thread Laurent Pinchart
From: Laurent Pinchart Signed-off-by: Laurent Pinchart --- drivers/video/display/Kconfig | 13 +++ drivers/video/display/Makefile|1 + drivers/video/display/panel-dpi.c | 147 + include/video/panel-dpi.h | 24 ++ 4 files changed,

[RFC v2 1/5] video: Add generic display entity core

2012-11-22 Thread Laurent Pinchart
From: Laurent Pinchart Signed-off-by: Laurent Pinchart --- drivers/video/Kconfig|1 + drivers/video/Makefile |1 + drivers/video/display/Kconfig|4 + drivers/video/display/Makefile |1 + drivers/video/display/display-core.c | 362

[RFC v2 0/5] Common Display Framework

2012-11-22 Thread Laurent Pinchart
From: Laurent Pinchart Hi everybody, Here's the second RFC of what was previously known as the Generic Panel Framework. I won't repeat all the background information from the first version here, you can read it at http://lwn.net/Articles/512363/. Many developers showed interest in the first RF

[PATCH 5/5] drm/exynos: Fix potential NULL pointer dereference

2012-11-22 Thread Sachin Kamat
Pointer was being dereferenced after freeing. Fixes the following error: drivers/gpu/drm/exynos/exynos_drm_g2d.c:323 g2d_userptr_put_dma_addr() error: dereferencing freed memory 'g2d_userptr' Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_drm_g2d.c |2 +- 1 files changed, 1 i

[PATCH 4/5] drm/exynos: Use devm_clk_get in exynos_drm_g2d.c

2012-11-22 Thread Sachin Kamat
devm_clk_get is device managed and makes error handling and exit code simpler. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_drm_g2d.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_g2d.c b/drivers/gpu/drm/exynos/exy

[PATCH 2/5] drm/exynos: Use devm_gpio_request in exynos_hdmi.c

2012-11-22 Thread Sachin Kamat
devm_gpio_request is device managed and makes error handling and exit code simpler. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_hdmi.c |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/

[PATCH 1/5] drm/exynos: Use devm_clk_get in exynos_drm_fimd.c

2012-11-22 Thread Sachin Kamat
devm_clk_get is device managed and makes error handling and exit code simpler. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_drm_fimd.c |9 ++--- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exy

[PATCH 0/5] drm/exynos: Bug fix and devm_* usage

2012-11-22 Thread Sachin Kamat
First 4 patches use devm_* APIs for simpler code and cleanup. Last one fixes a potential bug. Series is build tested and based on the exynos-drm-next branch of the following tree: git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git Sachin Kamat (5): drm/exynos: Use devm_clk_get

Re: [PATCH] drm: tegra: Use framebuffer pitch as line stride

2012-11-22 Thread Terje Bergström
On 22.11.2012 21:37, Thierry Reding wrote: > Instead of using the stride derived from the display mode, use the pitch > associated with the currently active framebuffer. This fixes a bug where > the LCD display content would be skewed when enabling HDMI with a video > mode different from that of th

[PATCH 3/5] drm/exynos: Use devm_clk_get in exynos_mixer.c

2012-11-22 Thread Sachin Kamat
devm_clk_get is device managed and makes error handling and exit code simpler. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_mixer.c | 20 +--- 1 files changed, 5 insertions(+), 15 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/d

i915: black screen after blank when LID is closed on Linux >= 3.1

2012-11-22 Thread Daniel Vetter
On Thu, Nov 22, 2012 at 10:35:22PM +0100, Krzysztof Mazur wrote: > On Thu, Nov 22, 2012 at 09:17:54PM +0100, Daniel Vetter wrote: > > Hi, > > > > > > Since a dpms ioctl call tends to follow a modeset, this likely only > > results in that dpms call enabling the hw again. Can you please add > > drm

i915: black screen after blank when LID is closed on Linux >= 3.1

2012-11-22 Thread Krzysztof Mazur
On Thu, Nov 22, 2012 at 09:17:54PM +0100, Daniel Vetter wrote: > Hi, > > > Since a dpms ioctl call tends to follow a modeset, this likely only > results in that dpms call enabling the hw again. Can you please add > drm.debug=0xe to your kernel cmdline and boot into a 3.6 with this > hack applied,

Re: [PATCH 0/2] drm: exynos: hdmi: sending AVI and AUI info frames

2012-11-22 Thread Inki Dae
2012/11/10 Rahul Sharma > This patch set adds provision for composing and sending AVI and AUI > infoframes by exynos drm hdmi driver. > > It also adds provision to get CEA Video ID Code through the display mode > which is required for making AVI infoframe. > > Based on exynos-drm-fixes branch of

i915: black screen after blank when LID is closed on Linux >= 3.1

2012-11-22 Thread Krzysztof Mazur
On Thu, Nov 22, 2012 at 09:17:54PM +0100, Daniel Vetter wrote: > Hi, > > Thanks for the report. Now this smells like something which could take > a bit longer to track down, so can you please file this on > bugs.freedesktop.org against DRM -> DRI/Intel to ensure that we dont' > loose track of it?

Linux 3.7-rc6

2012-11-22 Thread Henrik Rydberg
> Yeah, the utter lack of a vbt fits very nicely, thanks for checking, > I've merged the patch into drm-intel-fixes and will forward it for > inclusion into 3.7 rsn. Great, thanks. One thing about that patch: if we would ever encounter a non-zero edp.bpp < 3, display_bpc would not be clamped. I su

[Bug 49121] Regression: ATI video card doesn't power down after elapsed time

2012-11-22 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=49121 --- Comment #3 from Joseph D. Wagner 2012-11-22 21:43:33 --- Issue appears to be resolved in 3.6.6-1.fc17.x86_64 (gcc version 4.7.2 20120921 (Red Hat 4.7.2-2) (GCC) ). -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=ema

Linux 3.7-rc6

2012-11-22 Thread Daniel Vetter
On Thu, Nov 22, 2012 at 7:23 PM, Henrik Rydberg wrote: >> >> My apologies for the long delay in answering, I've somehow mixed up >> >> different bugreports and thought I've sent you a patch to test >> >> already. Anyway, please test >> >> >> >> https://patchwork.kernel.org/patch/1728111/ >> > >> >

[PATCH 04/10] drm/ttm: change fence_lock to inner lock, v3

2012-11-22 Thread Thomas Hellstrom
On 11/22/2012 04:51 PM, Maarten Lankhorst wrote: > Op 21-11-12 14:27, Thomas Hellstrom schreef: >> On 11/21/2012 02:12 PM, Maarten Lankhorst wrote: >>> Op 21-11-12 13:42, Thomas Hellstrom schreef: On 11/21/2012 12:38 PM, Maarten Lankhorst wrote: > Hey, > > Op 20-11-12 16:08, Thomas

[PATCH v3] DRM/KMS/EDID: Consolidate EDID Error Handling (v3)

2012-11-22 Thread Egbert Eich
Ville Syrj?l? writes: > On Thu, Nov 22, 2012 at 07:28:44PM +0100, Egbert Eich wrote: > > > > Something similar should be done for drm_edid_is_valid() - even if the > > driver doesn't bother (for instance because this function is only called > > once when the device structures are initialized

[git pull] drm fixes

2012-11-22 Thread Dave Airlie
On Thu, Nov 22, 2012 at 2:50 PM, Linus Torvalds wrote: > On Wed, Nov 21, 2012 at 6:34 PM, Dave Airlie wrote: >> >> its vmware/nouveua/radeon/intel/ttm scattered. > > Hmm. That's not what I see. I just see nouveau and soem PCI ID addition. > >> 21 files changed, 108 insertions(+), 31 deletions(-)

[PATCH v3] DRM/KMS/EDID: Consolidate EDID Error Handling (v3)

2012-11-22 Thread Ville Syrjälä
On Thu, Nov 22, 2012 at 07:28:44PM +0100, Egbert Eich wrote: > Ville Syrj?l? writes: > > > > > > diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c > > > index dd0df60..aa9b34d 100644 > > > --- a/drivers/gpu/drm/drm_edid.c > > > +++ b/drivers/gpu/drm/drm_edid.c > > > @@ -15

[PATCH] drm: tegra: Use framebuffer pitch as line stride

2012-11-22 Thread Thierry Reding
Instead of using the stride derived from the display mode, use the pitch associated with the currently active framebuffer. This fixes a bug where the LCD display content would be skewed when enabling HDMI with a video mode different from that of the LCD. Signed-off-by: Thierry Reding --- drivers

[PATCH 0/2] drm: exynos: hdmi: sending AVI and AUI info frames

2012-11-22 Thread Thierry Reding
ierry -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121122/d76da079/attachment.pgp>

[Bug 56405] Distorted graphics on Radeon HD 6620G

2012-11-22 Thread bugzilla-dae...@freedesktop.org
ompiled. Could the bug be in there? I guess not. -- 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/20121122/5793c36e/attachment.html>

[Bug 56405] Distorted graphics on Radeon HD 6620G

2012-11-22 Thread bugzilla-dae...@freedesktop.org
est it twice with libgl 8.0.4 and 9.0.1. -- 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/20121122/9b615afd/attachment.html>

i915: black screen after blank when LID is closed on Linux >= 3.1

2012-11-22 Thread Krzysztof Mazur
Hi, since Linux 3.1 I'm having some problems with i915 driver on HP nc6120 with 915GM chipset. The display goes black after the kernel tries to blank screen while LID is closed (see steps to reproduce to more detailed description). Currently I'm using Linux 3.7-rc6 with KMS enabled and disabled A

[PATCH] drm: exynos: hdmi: sending AVI and AUI info frames

2012-11-22 Thread Rahul Sharma
This patch adds code for composing AVI and AUI info frames and send them every VSYNC. This patch is important for hdmi certification. Based on exynos-drm-fixes branch of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git Signed-off-by: Rahul Sharma Signed-off-by: Fahad Kunnath

[PATCHv13 4/7] fbmon: add videomode helpers

2012-11-22 Thread Laurent Pinchart
Hi Steffen, On Thursday 22 November 2012 17:00:12 Steffen Trumtrar wrote: > Add a function to convert from the generic videomode to a fb_videomode. > > Signed-off-by: Steffen Trumtrar > Reviewed-by: Thierry Reding > Acked-by: Thierry Reding > Tested-by: Thierry Reding > Tested-by: Philipp Zab

[PATCH 2/2] drm: exynos: compose and send avi and aui info frames

2012-11-22 Thread Rahul Sharma
On Thu, Nov 22, 2012 at 12:06 PM, ??? wrote: > On 2012? 11? 21? 20:36, Rahul Sharma wrote: >> Hi Seung Woo, >> >> Thanks for your inputs. Please find my response below. >> >> On Wed, Nov 21, 2012 at 2:12 PM, ??? wrote: >>> Hi Rahul, >>> >>> Control part seems good, and my comment is below. >>> >>

[PATCH v3] DRM/KMS/EDID: Consolidate EDID Error Handling (v3)

2012-11-22 Thread Egbert Eich
Ville Syrj?l? writes: > > > > diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c > > index dd0df60..aa9b34d 100644 > > --- a/drivers/gpu/drm/drm_edid.c > > +++ b/drivers/gpu/drm/drm_edid.c > > @@ -157,6 +157,17 @@ int drm_edid_header_is_valid(const u8 *raw_edid) > > } >

Linux 3.7-rc6

2012-11-22 Thread Henrik Rydberg
Hi Daniel, > >> My apologies for the long delay in answering, I've somehow mixed up > >> different bugreports and thought I've sent you a patch to test > >> already. Anyway, please test > >> > >> https://patchwork.kernel.org/patch/1728111/ > > > > Tested-by: Henrik Rydberg > > Can you please

[PATCHv13 5/7] fbmon: add of_videomode helpers

2012-11-22 Thread Laurent Pinchart
Hi Steffen, On Thursday 22 November 2012 17:00:13 Steffen Trumtrar wrote: > Add helper to get fb_videomode from devicetree. > > Signed-off-by: Steffen Trumtrar > Reviewed-by: Thierry Reding > Acked-by: Thierry Reding > Tested-by: Thierry Reding > Tested-by: Philipp Zabel > Reviewed-by: Laure

Re: [PATCH] drm: exynos: hdmi: sending AVI and AUI info frames

2012-11-22 Thread 김승우
Hi Rahul, I think this patch is almost ready just except few trivial check. On 2012년 11월 22일 23:12, Rahul Sharma wrote: > This patch adds code for composing AVI and AUI info frames > and send them every VSYNC. > > This patch is important for hdmi certification. > > Based on exynos-drm-fixes bra

[PATCH v3] DRM/KMS/EDID: Consolidate EDID Error Handling (v3)

2012-11-22 Thread Ville Syrjälä
On Thu, Nov 22, 2012 at 09:44:42AM -0500, Egbert Eich wrote: > Consolidate the null_edid_counter and the bad_edid_counter > into EDID error state flags which for the last EDID read > are accessible from user. > Errors are looged it the same error has not been present > in the previous read of the E

[PATCH 1/1] drm/exynos: Fix potential NULL pointer dereference in exynos_drm_encoder.c

2012-11-22 Thread Inki Dae
> -Original Message- > From: Sachin Kamat [mailto:sachin.kamat at linaro.org] > Sent: Thursday, November 22, 2012 5:19 PM > To: Inki Dae > Cc: dri-devel at lists.freedesktop.org; jy0922.shim at samsung.com; > patches at linaro.org > Subject: Re: [PATCH 1/1] drm/exynos: Fix potential NULL

[PATCH 1/1] drm/exynos: Fix potential NULL pointer dereference in exynos_drm_encoder.c

2012-11-22 Thread Inki Dae
> -Original Message- > From: Sachin Kamat [mailto:sachin.kamat at linaro.org] > Sent: Thursday, November 22, 2012 3:13 PM > To: Inki Dae > Cc: dri-devel at lists.freedesktop.org; jy0922.shim at samsung.com; > patches at linaro.org > Subject: Re: [PATCH 1/1] drm/exynos: Fix potential NULL

[PATCHv13 7/7] drm_modes: add of_videomode helpers

2012-11-22 Thread Steffen Trumtrar
Add helper to get drm_display_mode from devicetree. Signed-off-by: Steffen Trumtrar Reviewed-by: Thierry Reding Acked-by: Thierry Reding Tested-by: Thierry Reding Tested-by: Philipp Zabel Reviewed-by: Laurent Pinchart Acked-by: Laurent Pinchart --- drivers/gpu/drm/drm_modes.c | 34 ++

[PATCHv13 6/7] drm_modes: add videomode helpers

2012-11-22 Thread Steffen Trumtrar
Add conversion from videomode to drm_display_mode Signed-off-by: Steffen Trumtrar Reviewed-by: Thierry Reding Acked-by: Thierry Reding Tested-by: Thierry Reding Tested-by: Philipp Zabel Reviewed-by: Laurent Pinchart Acked-by: Laurent Pinchart --- drivers/gpu/drm/drm_modes.c | 37

[PATCHv13 5/7] fbmon: add of_videomode helpers

2012-11-22 Thread Steffen Trumtrar
Add helper to get fb_videomode from devicetree. Signed-off-by: Steffen Trumtrar Reviewed-by: Thierry Reding Acked-by: Thierry Reding Tested-by: Thierry Reding Tested-by: Philipp Zabel Reviewed-by: Laurent Pinchart Acked-by: Laurent Pinchart --- drivers/video/fbmon.c | 42

[PATCHv13 4/7] fbmon: add videomode helpers

2012-11-22 Thread Steffen Trumtrar
Add a function to convert from the generic videomode to a fb_videomode. Signed-off-by: Steffen Trumtrar Reviewed-by: Thierry Reding Acked-by: Thierry Reding Tested-by: Thierry Reding Tested-by: Philipp Zabel Reviewed-by: Laurent Pinchart Acked-by: Laurent Pinchart Signed-off-by: Steffen Tru

[PATCHv13 3/7] video: add of helper for display timings/videomode

2012-11-22 Thread Steffen Trumtrar
This adds support for reading display timings from DT into a struct display_timings. The of_display_timing implementation supports multiple subnodes. All children are read into an array, that can be queried. If no native mode is specified, the first subnode will be used. For cases, where the grap

[PATCHv13 2/7] video: add display_timing and videomode

2012-11-22 Thread Steffen Trumtrar
Add display_timing structure and the according helper functions. This allows the description of a display via its supported timing parameters. Also, add helper functions to convert from display timings to a generic videomode structure. The struct display_timing specifies all needed parameters to

[PATCHv13 1/7] viafb: rename display_timing to via_display_timing

2012-11-22 Thread Steffen Trumtrar
The struct display_timing is specific to the via subsystem. The naming leads to collisions with the new struct display_timing, that is supposed to be a shared struct between different subsystems. To clean this up, prepend the existing struct with the subsystem it is specific to. Signed-off-by: Ste

[PATCHv13 0/7] of: add display helper

2012-11-22 Thread Steffen Trumtrar
Hi! Changes since v12: - rename struct display_timing to via_display_timing in via subsystem - fix refreshrate calculation - fix "const struct *" warnings (reported by: "Manjunathappa, Prakash" ) - some CodingStyle fixes - rewrite parts of co

[PATCH 04/10] drm/ttm: change fence_lock to inner lock, v3

2012-11-22 Thread Maarten Lankhorst
Op 21-11-12 14:27, Thomas Hellstrom schreef: > On 11/21/2012 02:12 PM, Maarten Lankhorst wrote: >> Op 21-11-12 13:42, Thomas Hellstrom schreef: >>> On 11/21/2012 12:38 PM, Maarten Lankhorst wrote: Hey, Op 20-11-12 16:08, Thomas Hellstrom schreef: > On 11/20/2012 02:13 PM, Maarten

[PATCH v2 13/18] DRM/KMS/EDID: Cache EDID blobs with extensions (v2)

2012-11-22 Thread Ville Syrjälä
On Thu, Nov 22, 2012 at 05:23:03AM -0500, Egbert Eich wrote: > According the the VESA specs there can be up to 254 EEDID extension blocks. > Since we may read the EDID (including extensions) in 10 second intervals to > probe for display hotplugging (at least in cases where no hardware hotplug > det

[PATCH] drm/exynos: use sgt instead of pages for framebuffer address

2012-11-22 Thread Inki Dae
Right, I missed. Thanks, Inki Dae > -Original Message- > From: Prathyush K [mailto:prathyush.k at samsung.com] > Sent: Thursday, November 22, 2012 3:49 PM > To: dri-devel at lists.freedesktop.org > Cc: inki.dae at samsung.com > Subject: [PATCH] drm/exynos: use sgt instead of pages for fra

[PATCH] libdrm: add missing DRM_CAP_TIMESTAMP_MONOTONIC

2012-11-22 Thread Imre Deak
Just add the definition according the kernel's copy of drm.h Signed-off-by: Imre Deak --- include/drm/drm.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/drm/drm.h b/include/drm/drm.h index a847689..d14b973 100644 --- a/include/drm/drm.h +++ b/include/drm/drm.h @@ -779,6 +779,7

Re: [PATCHv13 4/7] fbmon: add videomode helpers

2012-11-22 Thread Laurent Pinchart
On Friday 23 November 2012 00:09:49 Steffen Trumtrar wrote: > On Thu, Nov 22, 2012 at 07:31:39PM +0100, Laurent Pinchart wrote: > > On Thursday 22 November 2012 17:00:12 Steffen Trumtrar wrote: > > > Add a function to convert from the generic videomode to a fb_videomode. > > > > > > Signed-off-by:

[PATCH 2/2] drm: exynos: compose and send avi and aui info frames

2012-11-22 Thread 김승우
On 2012? 11? 21? 20:36, Rahul Sharma wrote: > Hi Seung Woo, > > Thanks for your inputs. Please find my response below. > > On Wed, Nov 21, 2012 at 2:12 PM, ??? wrote: >> Hi Rahul, >> >> Control part seems good, and my comment is below. >> >> On 2012? 11? 10? 01:21, Rahul Sharma wrote: >>> This p

[PATCH v5] DRM/KMS/EDID: Consolidate EDID Error Handling (v5)

2012-11-22 Thread Egbert Eich
Consolidate the null_edid_counter and the bad_edid_counter into EDID error state flags which for the last EDID read are accessible from user. Errors are looged it the same error has not been present in the previous read of the EDID. This will reset the EDID error status for example when the monitor

[PATCH v2 13/18] DRM/KMS/EDID: Cache EDID blobs with extensions (v2)

2012-11-22 Thread Egbert Eich
Ville Syrj?l? writes: > On Thu, Nov 22, 2012 at 05:23:03AM -0500, Egbert Eich wrote: > > > > - /* if there's no extensions, we're done */ > > + /* if there are no extensions, we're done - don't bother caching */ > >if (block[EDID_EXTENSION_FLAG_OFFSET] == 0) > >return bloc

Re: [PATCHv13 4/7] fbmon: add videomode helpers

2012-11-22 Thread Steffen Trumtrar
On Thu, Nov 22, 2012 at 07:31:39PM +0100, Laurent Pinchart wrote: > Hi Steffen, > > On Thursday 22 November 2012 17:00:12 Steffen Trumtrar wrote: > > Add a function to convert from the generic videomode to a fb_videomode. > > > > Signed-off-by: Steffen Trumtrar > > Reviewed-by: Thierry Reding >

[Bug 50881] Error compiling nouveau inside the kernel (not as a module) when ACPI is a module

2012-11-22 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=50881 Alan changed: What|Removed |Added CC||alan at lxorguk.ukuu.org.uk Component|Vi

[PATCH v2 05/18] DRM/KMS/EDID: Test EDDC if EDID announces more than one Extension Block (v2)

2012-11-22 Thread Ville Syrjälä
On Thu, Nov 22, 2012 at 01:07:28PM +0100, Egbert Eich wrote: > Ville Syrj?l? writes: > > On Thu, Nov 22, 2012 at 05:22:55AM -0500, Egbert Eich wrote: > > > There are displays which announce EDID extension blocks in the > > > Extension Flag of the EDID base block although they are not EDDC > > >

Re: i915: black screen after blank when LID is closed on Linux >= 3.1

2012-11-22 Thread Krzysztof Mazur
On Thu, Nov 22, 2012 at 09:17:54PM +0100, Daniel Vetter wrote: > Hi, > > > Since a dpms ioctl call tends to follow a modeset, this likely only > results in that dpms call enabling the hw again. Can you please add > drm.debug=0xe to your kernel cmdline and boot into a 3.6 with this > hack applied,

Re: i915: black screen after blank when LID is closed on Linux >= 3.1

2012-11-22 Thread Krzysztof Mazur
On Thu, Nov 22, 2012 at 09:17:54PM +0100, Daniel Vetter wrote: > Hi, > > Thanks for the report. Now this smells like something which could take > a bit longer to track down, so can you please file this on > bugs.freedesktop.org against DRM -> DRI/Intel to ensure that we dont' > loose track of it?

i915: black screen after blank when LID is closed on Linux >= 3.1

2012-11-22 Thread Krzysztof Mazur
Hi, since Linux 3.1 I'm having some problems with i915 driver on HP nc6120 with 915GM chipset. The display goes black after the kernel tries to blank screen while LID is closed (see steps to reproduce to more detailed description). Currently I'm using Linux 3.7-rc6 with KMS enabled and disabled A

[PATCH] drm: exynos: hdmi: sending AVI and AUI info frames

2012-11-22 Thread Rahul Sharma
This patch adds code for composing AVI and AUI info frames and send them every VSYNC. This patch is important for hdmi certification. Based on exynos-drm-fixes branch of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git Signed-off-by: Rahul Sharma Signed-off-by: Fahad Kunnath

[PATCH v2 05/18] DRM/KMS/EDID: Test EDDC if EDID announces more than one Extension Block (v2)

2012-11-22 Thread Egbert Eich
Ville Syrj?l? writes: > > Me neither. I just figured it might reduce the chance of false > positives. But if you say that can't happen, I'll take your word > for it. > > > Regarding memcmp() you are definitely right, I will change the code. > > > > > > > > Also the comment is somehow

Re: Linux 3.7-rc6

2012-11-22 Thread Henrik Rydberg
Hi Daniel, > My apologies for the long delay in answering, I've somehow mixed up > different bugreports and thought I've sent you a patch to test > already. Anyway, please test > > https://patchwork.kernel.org/patch/1728111/ Tested-by: Henrik Rydberg Thanks, Henrik

Re: [PATCH 1/1] drm/exynos: Fix potential NULL pointer dereference in exynos_drm_encoder.c

2012-11-22 Thread Sachin Kamat
[snip] >> >> And NULL pointer checking was already done above like below, >> >> if (overlay_ops && overlay_ops->disable) >> >> overlay_ops->disable(manager->dev, zpos); >> > Correct. But that check is applicable only for that one statement >> > (overlay_ops->disable(manager-

Linux 3.7-rc6

2012-11-22 Thread Daniel Vetter
On Thu, Nov 22, 2012 at 12:18 PM, Henrik Rydberg wrote: >> My apologies for the long delay in answering, I've somehow mixed up >> different bugreports and thought I've sent you a patch to test >> already. Anyway, please test >> >> https://patchwork.kernel.org/patch/1728111/ > > Tested-by: Henr

[PATCH v4] DRM/KMS/EDID: Move EDID related Functions to drm_edid.h (v2)

2012-11-22 Thread Egbert Eich
v2: Adjusted to apply cleanly. Signed-off-by: Egbert Eich --- include/drm/drm_crtc.h |8 include/drm/drm_edid.h |9 + 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index 7a3ccbf..7eed9bd 100644 --- a/includ

[PATCH v4] DRM/KMS/EDID: Consolidate EDID Error Handling (v4)

2012-11-22 Thread Egbert Eich
Consolidate the null_edid_counter and the bad_edid_counter into EDID error state flags which for the last EDID read are accessible from user. Errors are looged it the same error has not been present in the previous read of the EDID. This will reset the EDID error status for example when the monitor

[RFC v2 5/5] video: panel: Add R61517 panel support

2012-11-22 Thread Laurent Pinchart
From: Laurent Pinchart The R61517 is a MIPI DBI panel controller from Renesas. Signed-off-by: Laurent Pinchart --- drivers/video/display/Kconfig|9 + drivers/video/display/Makefile |1 + drivers/video/display/panel-r61517.c | 447 ++ inclu

[RFC v2 4/5] video: panel: Add R61505 panel support

2012-11-22 Thread Laurent Pinchart
From: Laurent Pinchart The R61505 is a SYS-80 bus panel controller from Renesas. Signed-off-by: Laurent Pinchart --- drivers/video/display/Kconfig|9 + drivers/video/display/Makefile |1 + drivers/video/display/panel-r61505.c | 554 ++ inc

[PATCH 1/1] drm/exynos: Fix potential NULL pointer dereference in exynos_drm_encoder.c

2012-11-22 Thread Sachin Kamat
[snip] >> >> And NULL pointer checking was already done above like below, >> >> if (overlay_ops && overlay_ops->disable) >> >> overlay_ops->disable(manager->dev, zpos); >> > Correct. But that check is applicable only for that one statement >> > (overlay_ops->disable(manager-

[RFC v2 3/5] video: display: Add MIPI DBI bus support

2012-11-22 Thread Laurent Pinchart
From: Laurent Pinchart Signed-off-by: Laurent Pinchart --- drivers/video/display/Kconfig|4 + drivers/video/display/Makefile |1 + drivers/video/display/mipi-dbi-bus.c | 228 ++ include/video/display.h |5 + include/video/m

[RFC v2 2/5] video: panel: Add DPI panel support

2012-11-22 Thread Laurent Pinchart
From: Laurent Pinchart Signed-off-by: Laurent Pinchart --- drivers/video/display/Kconfig | 13 +++ drivers/video/display/Makefile|1 + drivers/video/display/panel-dpi.c | 147 + include/video/panel-dpi.h | 24 ++ 4 files changed,

[RFC v2 1/5] video: Add generic display entity core

2012-11-22 Thread Laurent Pinchart
From: Laurent Pinchart Signed-off-by: Laurent Pinchart --- drivers/video/Kconfig|1 + drivers/video/Makefile |1 + drivers/video/display/Kconfig|4 + drivers/video/display/Makefile |1 + drivers/video/display/display-core.c | 362

[RFC v2 0/5] Common Display Framework

2012-11-22 Thread Laurent Pinchart
From: Laurent Pinchart Hi everybody, Here's the second RFC of what was previously known as the Generic Panel Framework. I won't repeat all the background information from the first version here, you can read it at http://lwn.net/Articles/512363/. Many developers showed interest in the first RF

[Bug 49121] Regression: ATI video card doesn't power down after elapsed time

2012-11-22 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=49121 --- Comment #3 from Joseph D. Wagner 2012-11-22 21:43:33 --- Issue appears to be resolved in 3.6.6-1.fc17.x86_64 (gcc version 4.7.2 20120921 (Red Hat 4.7.2-2) (GCC) ). -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=ema

Re: i915: black screen after blank when LID is closed on Linux >= 3.1

2012-11-22 Thread Daniel Vetter
On Thu, Nov 22, 2012 at 10:35:22PM +0100, Krzysztof Mazur wrote: > On Thu, Nov 22, 2012 at 09:17:54PM +0100, Daniel Vetter wrote: > > Hi, > > > > > > Since a dpms ioctl call tends to follow a modeset, this likely only > > results in that dpms call enabling the hw again. Can you please add > > drm

[RFC 2/4] drm/exynos: add fimc ipp driver

2012-11-22 Thread Eunchul Kim
Dear Seung-Woo Kim Thank's for your comment. and you gave the first comment. :) I also considered about mergeing set_fmt, set_fmt_order. but If we merge this function, we need to seperate all "switch case" routine. so, complexity has increased after mergeing. and I designed this set_fmt functio

[drm-intel:drm-intel-next-queued 31/31] drivers/gpu/drm/i915/intel_lvds.c:1098:34: error: 'mode' undeclared

2012-11-22 Thread kbuild test robot
tree: git://people.freedesktop.org/~danvet/drm-intel.git drm-intel-next-queued head: 9352dce341352e32a221aabf03f8b7c7b141c96a commit: 9352dce341352e32a221aabf03f8b7c7b141c96a [31/31] drm/i915: Report the origin of the LVDS fixed panel mode config: make ARCH=x86_64 allmodconfig All error/warni

[PATCH v2 05/18] DRM/KMS/EDID: Test EDDC if EDID announces more than one Extension Block (v2)

2012-11-22 Thread Ville Syrjälä
On Thu, Nov 22, 2012 at 05:22:55AM -0500, Egbert Eich wrote: > There are displays which announce EDID extension blocks in the > Extension Flag of the EDID base block although they are not EDDC > capable (ie. take a segment address at I2C slave address 0x30). > We test this by looking for an EDID he

[PATCH v2 05/18] DRM/KMS/EDID: Test EDDC if EDID announces more than one Extension Block (v2)

2012-11-22 Thread Egbert Eich
Ville Syrj?l? writes: > On Thu, Nov 22, 2012 at 05:22:55AM -0500, Egbert Eich wrote: > > There are displays which announce EDID extension blocks in the > > Extension Flag of the EDID base block although they are not EDDC > > capable (ie. take a segment address at I2C slave address 0x30). > > W

[PATCH v5] DRM/KMS/EDID: Consolidate EDID Error Handling (v5)

2012-11-22 Thread Egbert Eich
Consolidate the null_edid_counter and the bad_edid_counter into EDID error state flags which for the last EDID read are accessible from user. Errors are looged it the same error has not been present in the previous read of the EDID. This will reset the EDID error status for example when the monitor

Re: Linux 3.7-rc6

2012-11-22 Thread Henrik Rydberg
> Yeah, the utter lack of a vbt fits very nicely, thanks for checking, > I've merged the patch into drm-intel-fixes and will forward it for > inclusion into 3.7 rsn. Great, thanks. One thing about that patch: if we would ever encounter a non-zero edp.bpp < 3, display_bpc would not be clamped. I su

Re: [PATCH 04/10] drm/ttm: change fence_lock to inner lock, v3

2012-11-22 Thread Thomas Hellstrom
On 11/22/2012 04:51 PM, Maarten Lankhorst wrote: Op 21-11-12 14:27, Thomas Hellstrom schreef: On 11/21/2012 02:12 PM, Maarten Lankhorst wrote: Op 21-11-12 13:42, Thomas Hellstrom schreef: On 11/21/2012 12:38 PM, Maarten Lankhorst wrote: Hey, Op 20-11-12 16:08, Thomas Hellstrom schreef: On 1

Re: Linux 3.7-rc6

2012-11-22 Thread Daniel Vetter
On Thu, Nov 22, 2012 at 7:23 PM, Henrik Rydberg wrote: >> >> My apologies for the long delay in answering, I've somehow mixed up >> >> different bugreports and thought I've sent you a patch to test >> >> already. Anyway, please test >> >> >> >> https://patchwork.kernel.org/patch/1728111/ >> > >> >

[PATCH v12 3/6] fbmon: add videomode helpers

2012-11-22 Thread Steffen Trumtrar
On Thu, Nov 22, 2012 at 10:07:07AM +0100, Laurent Pinchart wrote: > On Thursday 22 November 2012 09:53:42 Sascha Hauer wrote: > > On Thu, Nov 22, 2012 at 09:50:10AM +0100, Laurent Pinchart wrote: > > > On Thursday 22 November 2012 07:20:00 Sascha Hauer wrote: > > > > On Wed, Nov 21, 2012 at 11:02:4

[PATCH] drm/exynos: use sgt instead of pages for framebuffer address

2012-11-22 Thread Prathyush K
The 'pages' structure in the exynos gem buffer has been removed. So we get the fix.smem_start from the first sgl of the scatter gather table. Signed-off-by: Prathyush K --- drivers/gpu/drm/exynos/exynos_drm_fbdev.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drive

Linux 3.7-rc6

2012-11-22 Thread Henrik Rydberg
Hi Daniel, > My apologies for the long delay in answering, I've somehow mixed up > different bugreports and thought I've sent you a patch to test > already. Anyway, please test > > https://patchwork.kernel.org/patch/1728111/ Tested-by: Henrik Rydberg Thanks, Henrik

Re: [PATCH v3] DRM/KMS/EDID: Consolidate EDID Error Handling (v3)

2012-11-22 Thread Egbert Eich
Ville Syrj?l? writes: > On Thu, Nov 22, 2012 at 07:28:44PM +0100, Egbert Eich wrote: > > > > Something similar should be done for drm_edid_is_valid() - even if the > > driver doesn't bother (for instance because this function is only called > > once when the device structures are initialized

[Bug 56405] Distorted graphics on Radeon HD 6620G

2012-11-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56405 --- Comment #33 from Michael Dressel --- Created attachment 70454 --> https://bugs.freedesktop.org/attachment.cgi?id=70454&action=edit the patch I used lately This is a patch I need to apply in order to get at least r600_dri.so compiled. Coul

[Bug 56405] Distorted graphics on Radeon HD 6620G

2012-11-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56405 --- Comment #32 from Michael Dressel --- Created attachment 70453 --> https://bugs.freedesktop.org/attachment.cgi?id=70453&action=edit new bisect log I started bisecting from the second last bad commit. I could verify it's bad. The new bisect

[PATCH 1/1] drm/exynos: Fix potential NULL pointer dereference in exynos_drm_encoder.c

2012-11-22 Thread Sachin Kamat
Hi Inki, On 19 November 2012 15:32, Sachin Kamat wrote: > On 19 November 2012 15:30, Inki Dae wrote: >> >> >>> -Original Message- >>> From: Sachin Kamat [mailto:sachin.kamat at linaro.org] >>> Sent: Monday, November 19, 2012 6:56 PM >>> To: Inki Dae >>> Cc: dri-devel at lists.freedesktop

[PATCH] drm: tegra: Use framebuffer pitch as line stride

2012-11-22 Thread Thierry Reding
Instead of using the stride derived from the display mode, use the pitch associated with the currently active framebuffer. This fixes a bug where the LCD display content would be skewed when enabling HDMI with a video mode different from that of the LCD. Signed-off-by: Thierry Reding --- drivers

[RFC 2/4] drm/exynos: add fimc ipp driver

2012-11-22 Thread 김승우
Hi Eunchul, IMHO, each function for source and destination has quite similar routine and it seems that there are some redundant code. I'm not sure these duplicated code can be removed with mergeing similar part. Some comments are below. On 2012? 10? 29? 22:10, Eunchul Kim wrote: > FIMC is stand

  1   2   3   >