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

2012-11-23 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

[PATCHv13 4/7] fbmon: add videomode helpers

2012-11-23 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 >

[PATCHv13 4/7] fbmon: add videomode helpers

2012-11-23 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] drm: exynos: hdmi: sending AVI and AUI info frames

2012-11-23 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 0/2] drm: exynos: hdmi: sending AVI and AUI info frames

2012-11-23 Thread Inki Dae
; http://lists.freedesktop.org/mailman/listinfo/dri-devel > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121123/c0174769/attachment.html>

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

2012-11-23 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

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

2012-11-23 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 0/5] drm/exynos: Bug fix and devm_* usage

2012-11-23 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

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

2012-11-23 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 2/5] drm/exynos: Use devm_gpio_request in exynos_hdmi.c

2012-11-23 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 4/5] drm/exynos: Use devm_clk_get in exynos_drm_g2d.c

2012-11-23 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 5/5] drm/exynos: Fix potential NULL pointer dereference

2012-11-23 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 1/5] drm/exynos: Use devm_clk_get in exynos_drm_fimd.c

2012-11-23 Thread Inki Dae
> -Original Message- > From: Sachin Kamat [mailto:sachin.kamat at linaro.org] > Sent: Friday, November 23, 2012 12:42 PM > To: dri-devel at lists.freedesktop.org > Cc: inki.dae at samsung.com; jy0922.shim at samsung.com; airlied at linux.ie; > sachin.kamat at linaro.org; patches at linaro

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

2012-11-23 Thread Inki Dae
> -Original Message- > From: Sachin Kamat [mailto:sachin.kamat at linaro.org] > Sent: Friday, November 23, 2012 12:42 PM > To: dri-devel at lists.freedesktop.org > Cc: inki.dae at samsung.com; jy0922.shim at samsung.com; airlied at linux.ie; > sachin.kamat at linaro.org; patches at linaro

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

2012-11-23 Thread Inki Dae
> -Original Message- > From: Sachin Kamat [mailto:sachin.kamat at linaro.org] > Sent: Friday, November 23, 2012 12:42 PM > To: dri-devel at lists.freedesktop.org > Cc: inki.dae at samsung.com; jy0922.shim at samsung.com; airlied at linux.ie; > sachin.kamat at linaro.org; patches at linaro

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

2012-11-23 Thread Inki Dae
Applied. Thanks, Inki Dae > -Original Message- > From: Sachin Kamat [mailto:sachin.kamat at linaro.org] > Sent: Friday, November 23, 2012 12:42 PM > To: dri-devel at lists.freedesktop.org > Cc: inki.dae at samsung.com; jy0922.shim at samsung.com; airlied at linux.ie; > sachin.kamat at lin

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

2012-11-23 Thread Inki Dae
This was my missing point. Applied. Thanks, Inki Dae > -Original Message- > From: Sachin Kamat [mailto:sachin.kamat at linaro.org] > Sent: Friday, November 23, 2012 12:42 PM > To: dri-devel at lists.freedesktop.org > Cc: inki.dae at samsung.com; jy0922.shim at samsung.com; airlied at linu

[PATCHv13 5/7] fbmon: add of_videomode helpers

2012-11-23 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

[PATCHv13 4/7] fbmon: add videomode helpers

2012-11-23 Thread Steffen Trumtrar
On Fri, Nov 23, 2012 at 12:52:08AM +0100, Laurent Pinchart wrote: > 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

[PATCH] drm/omap: Fix usage of IS_ERR_OR_NULL and PTR_ERR

2012-11-23 Thread Jani Nikula
On Tue, 13 Nov 2012, Andy Gross wrote: > Return PTR_ERR(-ENOMEM) if dmm_txn_init cannot allocate a > refill engine. > > Signed-off-by: Andy Gross > --- > drivers/staging/omapdrm/omap_dmm_tiler.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/staging/omapdr

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

2012-11-23 Thread Rahul Sharma
Thanks Thierry, It is good idea to use generic code. I would like to see your patches. regards, Rahul Sharma On Fri, Nov 23, 2012 at 11:45 AM, Inki Dae wrote: > > > 2012/11/10 Rahul Sharma >> >> This patch set adds provision for composing and sending AVI and AUI >> infoframes by exynos drm hdm

[PATCHv14 7/7] drm_modes: add of_videomode helpers

2012-11-23 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 ++

[PATCHv14 5/7] fbmon: add of_videomode helpers

2012-11-23 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

[PATCHv14 0/7] of: add display helper

2012-11-23 Thread Steffen Trumtrar
Hi! Changes since v13: - fix "const struct *" warning (reported by: Laurent Pinchart ) - prevent division by zero in fb_videomode_from_videomode Changes since v12: - rename struct display_timing to via_display_timing in via subsystem - fix refreshra

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

2012-11-23 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

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

2012-11-23 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

[PATCHv14 4/7] fbmon: add videomode helpers

2012-11-23 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 --- drivers/video/fbmon.c

[PATCHv14 6/7] drm_modes: add videomode helpers

2012-11-23 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

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

2012-11-23 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

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

2012-11-23 Thread 김승우
On 2012? 11? 23? 18:17, 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. > > Signed-off-by: Rahul Sharma > Signed-off-by: Fahad Kunnathadi > Signed-off-by: Shirish S Acked-by : Seu

[RFC 0/2] Add HDMI helpers

2012-11-23 Thread Christian König
Hi Thierry, On 21.11.2012 16:01, Thierry Reding wrote: > This small series is very much work in progress, but I still wanted to > get feedback in this early stage to gather requirements from the folks > working on the display drivers that these helpers target. > > Patch 1 in the series adds a gene

[RFC 0/2] Add HDMI helpers

2012-11-23 Thread Thierry Reding
her since it is used internally by the various infoframe packing functions. Thierry -- 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/20121123/b4a9834e/attachment.pgp>

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

2012-11-23 Thread Inki Dae
Applied. Thanks, Inki Dae > -Original Message- > From: Sachin Kamat [mailto:sachin.kamat at linaro.org] > Sent: Friday, November 23, 2012 5:43 PM > To: dri-devel at lists.freedesktop.org > Cc: inki.dae at samsung.com; sachin.kamat at linaro.org; patches at linaro.org > Subject: [PATCH Res

[PATCH Resend] drm/exynos: Use devm_* APIs in exynos_hdmi.c

2012-11-23 Thread Inki Dae
Applied. Thanks, Inki Dae > -Original Message- > From: Sachin Kamat [mailto:sachin.kamat at linaro.org] > Sent: Friday, November 23, 2012 5:43 PM > To: dri-devel at lists.freedesktop.org > Cc: inki.dae at samsung.com; sachin.kamat at linaro.org; patches at linaro.org > Subject: [PATCH Res

[RFC 0/2] Add HDMI helpers

2012-11-23 Thread Rafał Miłecki
2012/11/23 Christian K?nig : > Hi Thierry, > > > On 21.11.2012 16:01, Thierry Reding wrote: >> >> This small series is very much work in progress, but I still wanted to >> get feedback in this early stage to gather requirements from the folks >> working on the display drivers that these helpers tar

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

2012-11-23 Thread Inki Dae
The subject mentions just only 'use devm_clk_get in exynos_dev_fimd.c' but this patch removes unnecessary clk_disable calls also. Just separate this patch into two as you mentioned. For this, already applied old one. So could you send another one? Sorry for inconvenient. :) Thanks, Inki Dae > ---

Linux 3.7-rc6

2012-11-23 Thread Jani Nikula
On Thu, 22 Nov 2012, Henrik Rydberg wrote: >> 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

[RFC 0/2] Add HDMI helpers

2012-11-23 Thread Christian König
On 23.11.2012 10:38, Thierry Reding wrote: > On Fri, Nov 23, 2012 at 10:24:22AM +0100, Christian K?nig wrote: >> Hi Thierry, >> >> On 21.11.2012 16:01, Thierry Reding wrote: >>> This small series is very much work in progress, but I still wanted to >>> get feedback in this early stage to gather req

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

2012-11-23 Thread Inki Dae
Sorry but could you re-send this one more time? below is my comment. Thanks, Inki Dae > -Original Message- > From: Rahul Sharma [mailto:rahul.sharma at samsung.com] > Sent: Friday, November 23, 2012 6:17 PM > To: dri-devel at lists.freedesktop.org > Cc: airlied at redhat.com; inki.dae at

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

2012-11-23 Thread Leela Krishna Amudala
Hello Steffen, On Fri, Nov 23, 2012 at 2:34 PM, Steffen Trumtrar wrote: > 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 n

[Bug 42627] Hibernation fails to resume - Toshiba Satellite L755-161 notebook

2012-11-23 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=42627 --- Comment #24 from Harald Brennich 2012-11-23 10:30:38 --- As suspend/resume bugs do not seem to be in focus of nouveau-developers I have decided to replace nouveau by the current nvidia driver (310.19). With this driver, both s2ram and s2

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

2012-11-23 Thread Steffen Trumtrar
On Fri, Nov 23, 2012 at 03:49:37PM +0530, Leela Krishna Amudala wrote: > Hello Steffen, > > On Fri, Nov 23, 2012 at 2:34 PM, Steffen Trumtrar > wrote: > > This adds support for reading display timings from DT into a struct > > display_timings. The of_display_timing implementation supports multipl

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

2012-11-23 Thread Sachin Kamat
On 23 November 2012 12:10, Inki Dae wrote: > > >> -Original Message- >> From: Sachin Kamat [mailto:sachin.kamat at linaro.org] >> Sent: Friday, November 23, 2012 12:42 PM >> To: dri-devel at lists.freedesktop.org >> Cc: inki.dae at samsung.com; jy0922.shim at samsung.com; airlied at linux.

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

2012-11-23 Thread Sachin Kamat
On 23 November 2012 12:21, Inki Dae wrote: [snip] > With cleanup to hdmi_resources_init, we can remove hdmi_resource_cleanup > function. So could you please re-send updated patches? OK. I will update and re-send. > > You've been submitting patches into too small pieces. > Because they are trivi

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

2012-11-23 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 Resend] drm/exynos: Use devm_clk_get in exynos_mixer.c

2012-11-23 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 | 59 + 1 files changed, 16 insertions(+), 43 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b

[PATCH Resend] drm/exynos: Use devm_* APIs in exynos_hdmi.c

2012-11-23 Thread Sachin Kamat
devm_* functions are device managed and make error handling and exit code simpler. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_hdmi.c | 60 +++-- 1 files changed, 13 insertions(+), 47 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c

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

2012-11-23 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 | 31 ++--- 1 files changed, 7 insertions(+), 24 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c

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

2012-11-23 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. Signed-off-by: Rahul Sharma Signed-off-by: Fahad Kunnathadi Signed-off-by: Shirish S Based on exynos-drm-next branch of http://git.kernel.org/?p=linux/kernel/g

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

2012-11-23 Thread Sachin Kamat
On 23 November 2012 15:21, Inki Dae wrote: > The subject mentions just only 'use devm_clk_get in exynos_dev_fimd.c' but > this patch removes unnecessary clk_disable calls also. Just separate this > patch into two as you mentioned. For this, already applied old one. So could > you send another one?

[PATCH 1/1] drm/exynos: remove unnecessary clk_disable calls in exynos_drm_fimd.c

2012-11-23 Thread Sachin Kamat
Also fixes an error related to returning 'ret' without initialising with error code. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 22 +- 1 files changed, 5 insertions(+), 17 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b

[PATCHv14 4/7] fbmon: add videomode helpers

2012-11-23 Thread Laurent Pinchart
Hi Steffen, On Friday 23 November 2012 10:04:24 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 Zabel

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

2012-11-23 Thread Rahul Sharma
Hi Mr. Dae, On Fri, Nov 23, 2012 at 3:38 PM, Inki Dae wrote: > Sorry but could you re-send this one more time? below is my comment. > > Thanks, > Inki Dae > >> -Original Message- >> From: Rahul Sharma [mailto:rahul.sharma at samsung.com] >> Sent: Friday, November 23, 2012 6:17 PM >> To: d

[PATCHv14 4/7] fbmon: add videomode helpers

2012-11-23 Thread Steffen Trumtrar
Hi Laurent, On Fri, Nov 23, 2012 at 11:53:10AM +0100, Laurent Pinchart wrote: > Hi Steffen, > > On Friday 23 November 2012 10:04:24 Steffen Trumtrar wrote: > > Add a function to convert from the generic videomode to a fb_videomode. > > > > Signed-off-by: Steffen Trumtrar > > Reviewed-by: Thierr

[PATCH] drm/i915: set the AVI VIC of the HDMI mode

2012-11-23 Thread Paulo Zanoni
Hi 2012/11/22 Thierry Reding : > On Wed, Nov 21, 2012 at 01:39:48PM -0200, Paulo Zanoni wrote: >> From: Paulo Zanoni >> >> We currently set "0" as the VIC value of the AVI InfoFrames. According >> to the specs this should be fine and work for every mode, so to my >> point of view we can't conside

[PATCH] drm/i915: set the AVI VIC of the HDMI mode

2012-11-23 Thread Thierry Reding
--- 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/20121123/9468863f/attachment.pgp>

[PATCH 1/2] drm: add drm_mode_cea_vic

2012-11-23 Thread Paulo Zanoni
From: Paulo Zanoni This function returns the VIC of the mode. This value can be used when creating AVI InfoFrames. Cc: Thierry Reding Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=50371 Signed-off-by: Paulo Zanoni --- drivers/gpu/drm/drm_edid.c | 19 +++ include/drm/

[PATCH 2/2] drm/i915: set the VIC of the mode on the AVI InfoFrame

2012-11-23 Thread Paulo Zanoni
From: Paulo Zanoni We currently set "0" as the VIC value of the AVI InfoFrames. According to the specs this should be fine and work for every mode, so to my point of view we can't consider the current behavior as a bug. The problem is that we recently received a bug report (Kernel bug #50371) fr

[PATCH 1/2] drm: add drm_mode_cea_vic

2012-11-23 Thread Thierry Reding
ication of other functions is no more required as they are already >const here. Looks good to me: Reviewed-by: Thierry Reding -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not avail

[PATCH] drm: kms_helper: don't lose hotplug event

2012-11-23 Thread Daniel Vetter
Hi Dave, Will hunting down a patch in my machine farm I've stumbled over this one here. It fixes a detection race I've noticed while testing the new hpd stuff a while back. Chris already smashed his r-b onto it. Can you please include this in drm-next for 3.8? Thanks, Daniel On Wed, Oct 24, 201

[pull] drm-fixes

2012-11-23 Thread Daniel Vetter
Hi Dave, Two small fixes for 3.7: - Unbreak mbp retina, this time with a much more fine-grained approach (since the previous "completely ignore edp vbt bpp value" regressed some machines even after fixing a bug in our dp bw code). - Disable cloning on sdvo. It just doesn't work (yeah took us a

[PATCH 1/1] drm: only build ati_pcigart if PCI enabled

2012-11-23 Thread James Hogan
Prevent ati_pcigart.c being built unless PCI is enabled. The exported functions in this file are only used by drivers which depend on PCI (namely r128 and radeon), and it tries to use PCI specific functions (pci_unmap_page, pci_map_page, and pci_dma_mapping_error) that cause compiler errors when PC

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

2012-11-23 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. v1: - Remove un-necessary blank lines. - Change the case of hex constants. v2: - Added few blank lines. - Corrected comments format. - Added comments for 2's Comp

[RFC v2 0/5] Common Display Framework

2012-11-23 Thread Tomi Valkeinen
non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 899 bytes Desc: OpenPGP digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121123/fd2895cc/attachment.pgp>

[Bug 16140] [RADEON:KMS:RV250:RESUME] suspend to RAM resume broken

2012-11-23 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=16140 --- Comment #49 from Sedat Dilek 2012-11-23 18:33:14 --- Just FYI: There is now an upstream fix (see [1]). commit 45171002b01b2e2ec4f991eca81ffd8430fd0aec "radeon: add AGPMode 1 quirk for RV250" http://git.kernel.org/?p=linux/kernel/git/to

[RFC v2 0/5] Common Display Framework

2012-11-23 Thread Thierry Reding
n-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/20121123/fe2d67cc/attachment.pgp>

[RFC v2 0/5] Common Display Framework

2012-11-23 Thread Sascha Hauer
Hi Laurent, On Thu, Nov 22, 2012 at 10:45:31PM +0100, Laurent Pinchart wrote: > From: Laurent Pinchart > > The CDF models this using a Russian doll's model. From the display controller > point of view only the first external entity (LVDS to DSI converter) is > visible. The display controller th

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

2012-11-23 Thread Steffen Trumtrar
On Fri, Nov 23, 2012 at 12:52:08AM +0100, Laurent Pinchart wrote: > 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

Re: [PATCH] drm/omap: Fix usage of IS_ERR_OR_NULL and PTR_ERR

2012-11-23 Thread Jani Nikula
On Tue, 13 Nov 2012, Andy Gross wrote: > Return PTR_ERR(-ENOMEM) if dmm_txn_init cannot allocate a > refill engine. > > Signed-off-by: Andy Gross > --- > drivers/staging/omapdrm/omap_dmm_tiler.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/staging/omapdr

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

2012-11-23 Thread Rahul Sharma
Thanks Thierry, It is good idea to use generic code. I would like to see your patches. regards, Rahul Sharma On Fri, Nov 23, 2012 at 11:45 AM, Inki Dae wrote: > > > 2012/11/10 Rahul Sharma >> >> This patch set adds provision for composing and sending AVI and AUI >> infoframes by exynos drm hdm

[PATCHv14 7/7] drm_modes: add of_videomode helpers

2012-11-23 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 ++

[PATCHv14 5/7] fbmon: add of_videomode helpers

2012-11-23 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

[PATCHv14 0/7] of: add display helper

2012-11-23 Thread Steffen Trumtrar
Hi! Changes since v13: - fix "const struct *" warning (reported by: Laurent Pinchart ) - prevent division by zero in fb_videomode_from_videomode Changes since v12: - rename struct display_timing to via_display_timing in via subsystem - fix refreshr

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

2012-11-23 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

[PATCHv14 4/7] fbmon: add videomode helpers

2012-11-23 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 --- drivers/video/fbmon.c

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

2012-11-23 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

[PATCHv14 6/7] drm_modes: add videomode helpers

2012-11-23 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

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

2012-11-23 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

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

2012-11-23 Thread 김승우
On 2012년 11월 23일 18:17, 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. > > Signed-off-by: Rahul Sharma > Signed-off-by: Fahad Kunnathadi > Signed-off-by: Shirish S Acked-by : Seu

Re: [RFC 0/2] Add HDMI helpers

2012-11-23 Thread Christian König
Hi Thierry, On 21.11.2012 16:01, Thierry Reding wrote: This small series is very much work in progress, but I still wanted to get feedback in this early stage to gather requirements from the folks working on the display drivers that these helpers target. Patch 1 in the series adds a generic hel

Re: [RFC 0/2] Add HDMI helpers

2012-11-23 Thread Thierry Reding
On Fri, Nov 23, 2012 at 10:24:22AM +0100, Christian König wrote: > Hi Thierry, > > On 21.11.2012 16:01, Thierry Reding wrote: > >This small series is very much work in progress, but I still wanted to > >get feedback in this early stage to gather requirements from the folks > >working on the displa

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

2012-11-23 Thread Inki Dae
Applied. Thanks, Inki Dae > -Original Message- > From: Sachin Kamat [mailto:sachin.ka...@linaro.org] > Sent: Friday, November 23, 2012 5:43 PM > To: dri-devel@lists.freedesktop.org > Cc: inki@samsung.com; sachin.ka...@linaro.org; patc...@linaro.org > Subject: [PATCH Resend] drm/exynos

RE: [PATCH Resend] drm/exynos: Use devm_* APIs in exynos_hdmi.c

2012-11-23 Thread Inki Dae
Applied. Thanks, Inki Dae > -Original Message- > From: Sachin Kamat [mailto:sachin.ka...@linaro.org] > Sent: Friday, November 23, 2012 5:43 PM > To: dri-devel@lists.freedesktop.org > Cc: inki@samsung.com; sachin.ka...@linaro.org; patc...@linaro.org > Subject: [PATCH Resend] drm/exynos

Re: [RFC 0/2] Add HDMI helpers

2012-11-23 Thread Rafał Miłecki
2012/11/23 Christian König : > Hi Thierry, > > > On 21.11.2012 16:01, Thierry Reding wrote: >> >> This small series is very much work in progress, but I still wanted to >> get feedback in this early stage to gather requirements from the folks >> working on the display drivers that these helpers tar

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

2012-11-23 Thread Inki Dae
The subject mentions just only 'use devm_clk_get in exynos_dev_fimd.c' but this patch removes unnecessary clk_disable calls also. Just separate this patch into two as you mentioned. For this, already applied old one. So could you send another one? Sorry for inconvenient. :) Thanks, Inki Dae > ---

Re: Linux 3.7-rc6

2012-11-23 Thread Jani Nikula
On Thu, 22 Nov 2012, Henrik Rydberg wrote: >> 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

Re: [RFC 0/2] Add HDMI helpers

2012-11-23 Thread Christian König
On 23.11.2012 10:38, Thierry Reding wrote: On Fri, Nov 23, 2012 at 10:24:22AM +0100, Christian König wrote: Hi Thierry, On 21.11.2012 16:01, Thierry Reding wrote: This small series is very much work in progress, but I still wanted to get feedback in this early stage to gather requirements from

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

2012-11-23 Thread Inki Dae
Sorry but could you re-send this one more time? below is my comment. Thanks, Inki Dae > -Original Message- > From: Rahul Sharma [mailto:rahul.sha...@samsung.com] > Sent: Friday, November 23, 2012 6:17 PM > To: dri-devel@lists.freedesktop.org > Cc: airl...@redhat.com; inki@samsung.com;

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

2012-11-23 Thread Leela Krishna Amudala
Hello Steffen, On Fri, Nov 23, 2012 at 2:34 PM, Steffen Trumtrar wrote: > 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 n

[Bug 42627] Hibernation fails to resume - Toshiba Satellite L755-161 notebook

2012-11-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=42627 --- Comment #24 from Harald Brennich 2012-11-23 10:30:38 --- As suspend/resume bugs do not seem to be in focus of nouveau-developers I have decided to replace nouveau by the current nvidia driver (310.19). With this driver, both s2ram and s2

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

2012-11-23 Thread Steffen Trumtrar
On Fri, Nov 23, 2012 at 03:49:37PM +0530, Leela Krishna Amudala wrote: > Hello Steffen, > > On Fri, Nov 23, 2012 at 2:34 PM, Steffen Trumtrar > wrote: > > This adds support for reading display timings from DT into a struct > > display_timings. The of_display_timing implementation supports multipl

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

2012-11-23 Thread Sachin Kamat
On 23 November 2012 12:10, Inki Dae wrote: > > >> -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.k

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

2012-11-23 Thread Sachin Kamat
On 23 November 2012 12:21, Inki Dae wrote: [snip] > With cleanup to hdmi_resources_init, we can remove hdmi_resource_cleanup > function. So could you please re-send updated patches? OK. I will update and re-send. > > You've been submitting patches into too small pieces. > Because they are trivi

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

2012-11-23 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 Resend] drm/exynos: Use devm_clk_get in exynos_mixer.c

2012-11-23 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 | 59 + 1 files changed, 16 insertions(+), 43 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b

[PATCH Resend] drm/exynos: Use devm_* APIs in exynos_hdmi.c

2012-11-23 Thread Sachin Kamat
devm_* functions are device managed and make error handling and exit code simpler. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_hdmi.c | 60 +++-- 1 files changed, 13 insertions(+), 47 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c

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

2012-11-23 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 | 31 ++--- 1 files changed, 7 insertions(+), 24 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c

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

2012-11-23 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. Signed-off-by: Rahul Sharma Signed-off-by: Fahad Kunnathadi Signed-off-by: Shirish S Based on exynos-drm-next branch of http://git.kernel.org/?p=linux/kernel/g

Re: [PATCH Resend] drm/exynos: Use devm_clk_get in exynos_drm_fimd.c

2012-11-23 Thread Sachin Kamat
On 23 November 2012 15:21, Inki Dae wrote: > The subject mentions just only 'use devm_clk_get in exynos_dev_fimd.c' but > this patch removes unnecessary clk_disable calls also. Just separate this > patch into two as you mentioned. For this, already applied old one. So could > you send another one?

[PATCH 1/1] drm/exynos: remove unnecessary clk_disable calls in exynos_drm_fimd.c

2012-11-23 Thread Sachin Kamat
Also fixes an error related to returning 'ret' without initialising with error code. Signed-off-by: Sachin Kamat --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 22 +- 1 files changed, 5 insertions(+), 17 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b

  1   2   >