[PATCH v1 02/14] drm: exynos: hdmi: support for platform variants

2012-10-04 Thread Rahul Sharma
From: Tomasz Stanislawski This patch implements check if HDMI is version 1.3 by using a driver variant instead of platform data. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_hdmi.c | 25 - 1 files changed, 24 inser

[PATCH v1 09/14] drm: exynos: hdmi: add support for platform variants for mixer

2012-10-04 Thread Rahul Sharma
This patch adds the support for multiple mixer versions avaialble in various platform variants. Version is passed as a driver data field instead of paltform data. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_mixer.c | 28 1 files changed, 28

[PATCH v1 03/14] drm: exynos: hdmi: fix interrupt handling

2012-10-04 Thread Rahul Sharma
From: Tomasz Stanislawski This patch fixes 'unsigned < 0' check in probe. Moreover it releases an interrupt at remove. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_hdmi.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff

[PATCH v1 07/14] drm: exynos: hdmi: add support for exynos5 ddc

2012-10-04 Thread Rahul Sharma
This patch adds support for exynos5 ddc with device tree enabled. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_ddc.c | 22 +- 1 files changed, 17 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_ddc.c b/drivers/gpu/drm/exynos

[PATCH v1 11/14] drm: exynos: hdmi: add support for exynos5 mixer

2012-10-04 Thread Rahul Sharma
This patch adds support for exynos5 mixer with device tree enabled. Signed-off-by: Rahul Sharma Signed-off-by: Fahad Kunnathadi --- drivers/gpu/drm/exynos/exynos_mixer.c | 49 +++-- drivers/gpu/drm/exynos/regs-mixer.h |3 ++ 2 files changed, 49 insertions

[PATCH 00/14] drm: exynos: hdmi: add dt based support for exynos5 hdmi

2012-10-05 Thread RAHUL SHARMA
Thanks Joonyoung, I have addressed your comments in v1 set. Please have a look at them. regards, Rahul Sharma On Tue, Oct 2, 2012 at 1:01 PM, Joonyoung Shim wrote: > Hi, > > > On 09/28/2012 11:25 PM, Rahul Sharma wrote: >> >> This patch set adds the DT based support

[PATCH 0/2] add exynos-drm platform device registration to driver

2012-10-12 Thread Rahul Sharma
from non-dt platforms" is posted to linux-samsung-soc mailing list. This patchset is based on branch exynos-drm-next at git://git.infradead.org/users/kmpark/linux-samsung (linux v3.6-rc4) Rahul Sharma (2): drm: exynos: moved exynos drm device registration to drm driver drm: exynos: mo

[PATCH 1/2] drm: exynos: moved exynos drm device registration to drm driver

2012-10-12 Thread Rahul Sharma
This patch moved the exynos-drm platform device registration to the drm driver. When DT is enabled, platform devices needs to be registered within the driver code. This patch fits the requirement of both DT and Non DT based drm drivers. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos

[PATCH 2/2] drm: exynos: moved exynos drm hdmi device registration to drm driver

2012-10-12 Thread Rahul Sharma
This patch moved the exynos-drm-hdmi platform device registration to the drm driver. When DT is enabled, platform devices needs to be registered within the driver code. This patch fits the requirement of both DT and Non DT based drm drivers. Signed-off-by: Rahul Sharma --- drivers/gpu/drm

[PATCH 2/2] drm: exynos: moved exynos drm hdmi device registration to drm driver

2012-10-12 Thread RAHUL SHARMA
On Fri, Oct 12, 2012 at 6:22 AM, Inki Dae wrote: > > > 2012? 10? 12? ???? Rahul Sharma?? ??: > >> This patch moved the exynos-drm-hdmi platform device registration to the >> drm >> driver. When DT is enabled, platform devices needs to be registered within >>

[PATCH v1 0/2] add exynos-drm platform device registration to driver

2012-10-12 Thread Rahul Sharma
from non-dt platforms" is posted to linux-samsung-soc mailing list. This patchset is based on branch exynos-drm-next at git://git.infradead.org/users/kmpark/linux-samsung (linux v3.6-rc4) v1: - moved exynos_drm_hdmi_pdev to drm hdmi layer - added exynos_platform_device_hdmi_register interf

[PATCH v1 1/2] drm: exynos: moved exynos drm device registration to drm driver

2012-10-12 Thread Rahul Sharma
This patch moved the exynos-drm platform device registration to the drm driver. When DT is enabled, platform devices needs to be registered within the driver code. This patch fits the requirement of both DT and Non DT based drm drivers. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos

[PATCH v1 2/2] drm: exynos: moved exynos drm hdmi device registration to drm driver

2012-10-12 Thread Rahul Sharma
This patch moved the exynos-drm-hdmi platform device registration to the drm driver. When DT is enabled, platform devices needs to be registered within the driver code. This patch fits the requirement of both DT and Non DT based drm drivers. Signed-off-by: Rahul Sharma --- drivers/gpu/drm

[PATCH v2 0/2] add exynos-drm platform device registration to driver

2012-10-16 Thread Rahul Sharma
erface v2: - moved register/unregister hdmi device function declarations to exynos_drm_drv.h Rahul Sharma (2): drm: exynos: moved exynos drm device registration to drm driver drm: exynos: moved exynos drm hdmi device registration to drm driver drivers/gpu/drm/exynos/exynos_drm_drv

[PATCH v2 1/2] drm: exynos: moved exynos drm device registration to drm driver

2012-10-16 Thread Rahul Sharma
This patch moved the exynos-drm platform device registration to the drm driver. When DT is enabled, platform devices needs to be registered within the driver code. This patch fits the requirement of both DT and Non DT based drm drivers. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos

[PATCH v2 2/2] drm: exynos: moved exynos drm hdmi device registration to drm driver

2012-10-16 Thread Rahul Sharma
This patch moved the exynos-drm-hdmi platform device registration to the drm driver. When DT is enabled, platform devices needs to be registered within the driver code. This patch fits the requirement of both DT and Non DT based drm drivers. Signed-off-by: Rahul Sharma --- drivers/gpu/drm

[PATCH] drm: exynos: removed warning due to missing typecast for mixer driver data

2012-10-31 Thread Rahul Sharma
Removing the warning by adding proper type casting where local pointer variable of type mixer driver data is assigned with void pointer. This patch is based on branch exynos-drm-next at git://git.infradead.org/users/kmpark/linux-samsung Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos

[PATCH 0/3] drm: exynos: hdmi: add exynos5 support for drm hdmi

2012-09-12 Thread Rahul Sharma
git://git.infradead.org/users/kmpark/linux-samsung (linux v3.6-rc4) Rahul Sharma (3): drm: exynos: hdmi: add exynos5 support to mixer driver drm: exynos: hdmi: add exynos5 support to hdmi driver drm: exynos: hdmi: clean dependency on plf data for mixer, hdmi context drivers/gpu/drm/e

[PATCH 1/3] drm: exynos: hdmi: add exynos5 support to mixer driver

2012-09-12 Thread Rahul Sharma
Added support for exynos5 to drm mixer driver. Exynos5 works with dt enabled while in exynos4 mixer device information can be passed either way (dt or plf data). This situation is taken cared. Signed-off-by: Rahul Sharma Signed-off-by: Shirish S Signed-off-by: Fahad Kunnathadi --- drivers/gpu

[PATCH 2/3] drm: exynos: hdmi: add exynos5 support to hdmi driver

2012-09-12 Thread Rahul Sharma
Added support for exynos5 to hdmi driver. Resource init is splitted for exynos5 and exynos4. Exynos5 hdmi driver is dt based while exynos4 hdmi driver is not. Signed-off-by: Rahul Sharma Signed-off-by: Shirish S Signed-off-by: Fahad Kunnathadi --- drivers/gpu/drm/exynos/exynos_hdmi.c | 300

[PATCH 3/3] drm: exynos: hdmi: clean dependency on plf data for mixer, hdmi context

2012-09-12 Thread Rahul Sharma
exynos-drm-hdmi need context pointers from hdmi and mixer. These pointers were expected from the plf data. Cleaned this dependency by exporting i/f which are called by hdmi, mixer driver probes for setting their context. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_drm_hdmi.c

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

2012-11-20 Thread Rahul Sharma
Hi All, Kindly review the following patch-set. regards, Rahul Sharma On Fri, Nov 9, 2012 at 9:51 PM, Rahul Sharma wrote: > 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

[PATCH v1] drm: exynos: fix for loosing display mode header during mode adjustment

2012-11-20 Thread Rahul Sharma
This patch is to preserve the display mode header during the mode adjustment. Display mode header is overwritten with the adjusted mode header which is throwing the stack dump. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmi.c |9 + 1 files changed, 9 insertions

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

2012-11-21 Thread Rahul Sharma
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 patch adds code for composing AVI and A

Re: [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, >>> &

[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

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 >&g

[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

Re: [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.sha...@samsung.com] >> Sent: Friday, Nov

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

2012-11-23 Thread Rahul Sharma
x27;s Complement calculation for check sum. 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/git/daeinki/drm-exynos.git drivers/gpu/drm/exynos/exynos_hdmi.c |

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

2012-11-26 Thread Rahul Sharma
Hi Mr. Dae, On Sat, Nov 24, 2012 at 11:34 AM, Inki Dae wrote: > Let's update one more time. Below is my comments. > >> -Original Message----- >> From: Rahul Sharma [mailto:rahul.sha...@samsung.com] >> Sent: Friday, November 23, 2012 9:04 PM >> To: dri-deve

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

2012-11-26 Thread Rahul Sharma
x27;s Complement calculation for check sum. v3: - Moved enums, macros to exynos_hdmi.c. - Corrected hex format. - Added static to hdmi_reg_infoframe. 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.o

[PATCH 0/3] drm/exynos: add runtime pm support for hdmi and mixer.

2012-11-28 Thread Rahul Sharma
Rahul Sharma (3): drm/exynos: added runtime pm support for hdmi drm/exynos: add runtime pm support for mixer drm/exynos: add support for hdmiphy power control for exynos5 drivers/gpu/drm/exynos/exynos_hdmi.c | 81 +--- drivers/gpu/drm/exynos/exynos_mixer.c

[PATCH 1/3] drm/exynos: added runtime pm support for hdmi

2012-11-28 Thread Rahul Sharma
This patch adds runtime power management support for exynos drm hdmi driver. Signed-off-by: Rahul Sharma Signed-off-by: Shirish S --- drivers/gpu/drm/exynos/exynos_hdmi.c | 60 + 1 files changed, 52 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm

[PATCH 2/3] drm/exynos: add runtime pm support for mixer

2012-11-28 Thread Rahul Sharma
This patch adds support for runtime power management for drm mixer driver. Signed-off-by: Rahul Sharma Signed-off-by: Shirish S --- drivers/gpu/drm/exynos/exynos_mixer.c | 65 + 1 files changed, 58 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm

[PATCH 3/3] drm/exynos: add support for hdmiphy power control for exynos5

2012-11-28 Thread Rahul Sharma
hence not added. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmi.c | 21 + drivers/gpu/drm/exynos/regs-hdmi.h |5 + 2 files changed, 26 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos

Re: [PATCH 0/3] drm/exynos: add runtime pm support for hdmi and mixer.

2012-12-13 Thread Rahul Sharma
Hi All, Kindly review the following patch set for Runtime PM Changes for Mixer and Hdmi. regards, Rahul Sharma On Wed, Nov 28, 2012 at 11:30 AM, Rahul Sharma wrote: > This patch set adds support for runtime power management for hdmi and > mixer devices. Its also adds support for hdmiphy

[PATCH 0/2] drm/exynos: add support for more resolutions to exynos5

2012-12-18 Thread Rahul Sharma
refresh rates enabled as a result to this exercise. Rahul Sharma (2): drm/exynos: hdmi: add support for extra permissable resolutions drm/exynos: mixer: add support for extra resolutions drivers/gpu/drm/exynos/exynos_hdmi.c | 1004 - drivers/gpu/drm/exynos

[PATCH 1/2] drm/exynos: hdmi: add support for extra permissable resolutions

2012-12-18 Thread Rahul Sharma
rates. It also reduces the duplication of the timing data. Signed-off-by: Rahul Sharma Signed-off-by: Sean Paul Signed-off-by: Shirish S Signed-off-by: Akshay Saraswat --- drivers/gpu/drm/exynos/exynos_hdmi.c | 1004 -- 1 files changed, 354 insertions(+), 650

[PATCH 2/2] drm/exynos: mixer: add support for extra resolutions

2012-12-18 Thread Rahul Sharma
Extend the mixer configuration to include more resolutions that can be generated by the mixer. This adds 640x480, 720x576 and 1680x1050. Signed-off-by: Sean Paul Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_mixer.c |8 1 files changed, 4 insertions(+), 4 deletions

Re: [PATCH 1/2] drm/exynos: hdmi: add support for extra permissable resolutions

2012-12-18 Thread Rahul Sharma
On Tue, Dec 18, 2012 at 8:35 PM, Sean Paul wrote: > On Tue, Dec 18, 2012 at 9:12 AM, Rahul Sharma > wrote: >> Program the core and timing generator registers using the timing data >> provided in drm_display_mode instead of using hardcoded configurations. >> This a

[PATCH 0/4] drm/exynos: add support for extra resolutions to exynos5

2012-12-28 Thread Rahul Sharma
the display mode. This patch series is based on branch "exynos-drm-next" at http://git.kernel.org/?p=linux/kernel/git/daeinki/drm-exynos.git Rahul Sharma (3): drm/exynos: add display-mode-check operation to exynos_mixer_ops struct drm/exynos: implement display-mode-check callbac

[PATCH 1/4] drm/exynos: add display-mode-check operation to exynos_mixer_ops struct

2012-12-28 Thread Rahul Sharma
check-mode and hdmi check-timing callbacks are called one after another and ANDed result is returned back. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_drm_hdmi.c | 12 drivers/gpu/drm/exynos/exynos_drm_hdmi.h | 3 +++ 2 files changed, 15 insertions(+) diff --git

[PATCH 2/4] drm/exynos: implement display-mode-check callback in mixer driver

2012-12-28 Thread Rahul Sharma
This patch adds the implementation of check_mode callback in the mixer driver. Based on the mixer version, correct set of restrictions will be exposed by the mixer driver. A resolution will be acceptable only if passes the criteria set by mixer and hdmi IPs. Signed-off-by: Rahul Sharma Signed

[PATCH 3/4] drm/exynos: mixer: set correct mode for range of resolutions

2012-12-28 Thread Rahul Sharma
With this patch, mixer driver find the correct resolution mode for the range of resolutions, upto 1080 vertical lines. Resolution will be categorized to NTSC SD, PAL SD or HD and the correct mode is set to the mixer configuration register. Signed-off-by: Rahul Sharma Signed-off-by: Sean Paul

[PATCH 4/4] drm/exynos: hdmi: support extra resolutions using drm_display_mode timings

2012-12-28 Thread Rahul Sharma
: Rahul Sharma Signed-off-by: Sean Paul Signed-off-by: Shirish S Signed-off-by: Akshay Saraswat --- drivers/gpu/drm/exynos/exynos_hdmi.c | 1022 +- 1 file changed, 374 insertions(+), 648 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers

[PATCH] drm/exynos: let drm handle edid allocations

2012-12-28 Thread Rahul Sharma
There's no need to allocate edid twice and do a memcpy when drm helpers exist to do just that. This patch cleans that interaction up, and doesn't keep the edid hanging around in the connector. Signed-off-by: Sean Paul Signed-off-by: Rahul Sharma --- This patch is based on branch &

Re: [PATCH] drm/exynos: let drm handle edid allocations

2013-01-01 Thread Rahul Sharma
On Wed, Jan 2, 2013 at 6:05 AM, 김승우 wrote: > Hi Rahul, > > On 2012년 12월 28일 16:01, Rahul Sharma wrote: >> There's no need to allocate edid twice and do a memcpy when drm helpers >> exist to do just that. This patch cleans that interaction up, and >> doesn'

[PATCH v2] drm/exynos: let drm handle edid allocations

2013-01-02 Thread Rahul Sharma
There's no need to allocate edid twice and do a memcpy when drm helpers exist to do just that. This patch cleans that interaction up, and doesn't keep the edid hanging around in the connector. v2: - changed vidi_get_edid callback inside vidi driver. Signed-off-by: Sean Paul Signed-off

Re: [PATCH 1/4] drm/exynos: add display-mode-check operation to exynos_mixer_ops struct

2013-01-02 Thread Rahul Sharma
On Wed, Jan 2, 2013 at 10:37 PM, Sean Paul wrote: > On Thu, Dec 27, 2012 at 6:38 AM, Rahul Sharma > wrote: >> This patch adds the display mode check operation to exynos_mixer_ops >> in drm-common-hdmi. In Exynos SoCs, mixer IP can put certain restrictions >> on the propo

Re: [PATCH 2/4] drm/exynos: implement display-mode-check callback in mixer driver

2013-01-02 Thread Rahul Sharma
On Wed, Jan 2, 2013 at 10:45 PM, Sean Paul wrote: > On Thu, Dec 27, 2012 at 6:38 AM, Rahul Sharma > wrote: >> This patch adds the implementation of check_mode callback in the mixer >> driver. Based on the mixer version, correct set of restrictions will be >> expose

Re: [PATCH 3/4] drm/exynos: mixer: set correct mode for range of resolutions

2013-01-02 Thread Rahul Sharma
On Wed, Jan 2, 2013 at 10:46 PM, Sean Paul wrote: > On Thu, Dec 27, 2012 at 6:38 AM, Rahul Sharma > wrote: >> With this patch, mixer driver find the correct resolution mode for >> the range of resolutions, upto 1080 vertical lines. Resolution will >> be categorized to N

[PATCH v3] drm/exynos: let drm handle edid allocations

2013-01-03 Thread Rahul Sharma
nside vidi driver. Signed-off-by: Sean Paul Signed-off-by: Rahul Sharma Signed-off-by: Seung-Woo Kim --- This patch is based on branch "exynos-drm-next" at http://git.kernel.org/?p=linux/kernel/git/daeinki/drm-exynos.git drivers/gpu/drm/exynos/exynos_drm_connector.c | 37 ++--

[PATCH] drm/exynos: move finish page flip to a common place

2013-01-04 Thread Rahul Sharma
This patch implements the exynos_drm_crtc_finish_pageflip in exynos_drm_crtc.c. This avoids the duplication of same code in mixer, fimd and vidi. Signed-off-by: Rahul Sharma --- This patch is based on branch "exynos-drm-next" at http://git.kernel.org/?p=linux/kernel/git/daeinki/drm-

[PATCH] drm/exynos: move finish page flip to a common place

2013-01-04 Thread Rahul Sharma
This patch implements the exynos_drm_crtc_finish_pageflip in exynos_drm_crtc.c. This avoids the duplication of same code in mixer, fimd and vidi. Signed-off-by: Rahul Sharma Signed-off-by: Stephane Marchesin --- This patch is based on branch "exynos-drm-next" at http://git.kernel.or

Re: [PATCH 0/2] drm/exynos: add support for more resolutions to exynos5

2013-01-04 Thread Rahul Sharma
Please Abandon this patch set. Same code is posted under new patch set at http://comments.gmane.org/gmane.comp.video.dri.devel/78392 regards, Rahul Sharma On Tue, Dec 18, 2012 at 7:42 PM, Rahul Sharma wrote: > This patch set adds support for more resolutions and refresh rates to Sams

[PATCH v4] drm/exynos: let drm handle edid allocations

2013-01-06 Thread Rahul Sharma
o fail for Virtual Connectors like VIDI. Thanks to Seung-Woo Kim. v3: - removed MAX_EDID as it is not used anymore. v2: - changed vidi_get_edid callback inside vidi driver. Signed-off-by: Sean Paul Signed-off-by: Rahul Sharma Signed-off-by: Seung-Woo Kim --- This patch is based on branch "exyn

[PATCH v2 0/4] drm/exynos: add support for extra resolutions to exynos5

2013-01-06 Thread Rahul Sharma
;exynos-drm-next" at http://git.kernel.org/?p=linux/kernel/git/daeinki/drm-exynos.git Rahul Sharma (3): drm/exynos: add display-mode-check operation to exynos_mixer_ops struct drm/exynos: implement display-mode-check callback in mixer driver drm/exynos: mixer: set correct mode for rang

[PATCH v2 1/4] drm/exynos: add display-mode-check operation to exynos_mixer_ops struct

2013-01-06 Thread Rahul Sharma
check-mode and hdmi check-timing callbacks are called one after another and ANDed result is returned back. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_drm_hdmi.c | 12 drivers/gpu/drm/exynos/exynos_drm_hdmi.h | 5 - drivers/gpu/drm/exynos/exynos_hdmi.c

[PATCH v2 2/4] drm/exynos: implement display-mode-check callback in mixer driver

2013-01-06 Thread Rahul Sharma
This patch adds the implementation of check_mode callback in the mixer driver. Based on the mixer version, correct set of restrictions will be exposed by the mixer driver. A resolution will be acceptable only if passes the criteria set by mixer and hdmi IPs. Signed-off-by: Rahul Sharma Signed

[PATCH v2 3/4] drm/exynos: mixer: set correct mode for range of resolutions

2013-01-06 Thread Rahul Sharma
With this patch, mixer driver find the correct resolution mode for the range of resolutions, upto 1080 vertical lines. Resolution will be categorized to NTSC SD, PAL SD or HD and the correct mode is set to the mixer configuration register. Signed-off-by: Rahul Sharma Signed-off-by: Sean Paul

[PATCH v2 4/4] drm/exynos: hdmi: support extra resolutions using drm_display_mode timings

2013-01-06 Thread Rahul Sharma
: Rahul Sharma Signed-off-by: Sean Paul Signed-off-by: Shirish S Signed-off-by: Akshay Saraswat --- drivers/gpu/drm/exynos/exynos_hdmi.c | 1022 +- 1 file changed, 374 insertions(+), 648 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers

[PATCH v3 0/4] drm/exynos: add support for extra resolutions to exynos5

2013-01-06 Thread Rahul Sharma
*" - organised the implementation of check_timing callback in mixer driver. This patch series is based on branch "exynos-drm-next" at http://git.kernel.org/?p=linux/kernel/git/daeinki/drm-exynos.git Rahul Sharma (3): drm/exynos: add display-mode-check operation to exynos_mixer_ops

[PATCH v3 1/4] drm/exynos: add display-mode-check operation to exynos_mixer_ops struct

2013-01-06 Thread Rahul Sharma
check-mode and hdmi check-timing callbacks are called one after another and ANDed result is returned back. Signed-off-by: Rahul Sharma Reviewed-by: Sean Paul --- drivers/gpu/drm/exynos/exynos_drm_hdmi.c | 12 drivers/gpu/drm/exynos/exynos_drm_hdmi.h | 5 - drivers/gpu/drm

[PATCH v3 2/4] drm/exynos: implement display-mode-check callback in mixer driver

2013-01-06 Thread Rahul Sharma
This patch adds the implementation of check_timing callback in the mixer driver. Based on the mixer version, correct set of restrictions will be exposed by the mixer driver. A resolution will be acceptable only if passes the criteria set by mixer and hdmi IPs. Signed-off-by: Rahul Sharma Signed

[PATCH v3 3/4] drm/exynos: mixer: set correct mode for range of resolutions

2013-01-06 Thread Rahul Sharma
With this patch, mixer driver find the correct resolution mode for the range of resolutions, upto 1080 vertical lines. Resolution will be categorized to NTSC SD, PAL SD or HD and the correct mode is set to the mixer configuration register. Signed-off-by: Rahul Sharma Signed-off-by: Sean Paul

[PATCH v3 4/4] drm/exynos: hdmi: support extra resolutions using drm_display_mode timings

2013-01-06 Thread Rahul Sharma
: Rahul Sharma Signed-off-by: Sean Paul Signed-off-by: Shirish S Signed-off-by: Akshay Saraswat --- drivers/gpu/drm/exynos/exynos_hdmi.c | 1022 +- 1 file changed, 374 insertions(+), 648 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers

Re: [RFC v2 0/5] Common Display Framework

2013-01-09 Thread Rahul Sharma
operation in hdmi/dp panel, I need to implement edid parser inside the panel driver. It will be meaningful to add get_edid control operation for hdmi/dp. regards, Rahul Sharma. On Tue, Jan 8, 2013 at 9:43 PM, Rob Clark wrote: > On Tue, Jan 8, 2013 at 2:25 AM, Laurent Pinchart > wrote: >

Re: [RFC PATCH 4/4] alsa/soc: add hdmi audio codec based on cdf

2013-01-13 Thread Rahul Sharma
Thanks Sachin, On Mon, Jan 14, 2013 at 11:13 AM, Sachin Kamat wrote: > +CC: ALSA mailing list, Mark Brown > > On 13 January 2013 18:22, Rahul Sharma wrote: >> This patch registers hdmi-audio codec to the ALSA framework. This is the >> second >> client to the hdmi

[PATCH v4 0/4] drm/exynos: add support for extra resolutions to exynos5

2013-01-15 Thread Rahul Sharma
ing from check_mode - callback parameter is changed to type "struct fb_videomode *" from "void *" - organised the implementation of check_timing callback in mixer driver. This patch series is based on branch "exynos-drm-fixes" at http://git.kernel.org/?p=linux/kernel/

[PATCH v4 1/4] drm/exynos: add display-mode-check operation to exynos_mixer_ops struct

2013-01-15 Thread Rahul Sharma
check-mode and hdmi check-timing callbacks are called one after another and ANDed result is returned back. Signed-off-by: Rahul Sharma Reviewed-by: Sean Paul --- drivers/gpu/drm/exynos/exynos_drm_hdmi.c | 12 drivers/gpu/drm/exynos/exynos_drm_hdmi.h | 5 - drivers/gpu/drm

[PATCH v4 2/4] drm/exynos: implement display-mode-check callback in mixer driver

2013-01-15 Thread Rahul Sharma
This patch adds the implementation of check_timing callback in the mixer driver. Based on the mixer version, correct set of restrictions will be exposed by the mixer driver. A resolution will be acceptable only if passes the criteria set by mixer and hdmi IPs. Signed-off-by: Rahul Sharma Signed

[PATCH v4 3/4] drm/exynos: mixer: set correct mode for range of resolutions

2013-01-15 Thread Rahul Sharma
With this patch, mixer driver find the correct resolution mode for the range of resolutions, upto 1080 vertical lines. Resolution will be categorized to NTSC SD, PAL SD or HD and the correct mode is set to the mixer configuration register. Signed-off-by: Rahul Sharma Signed-off-by: Sean Paul

[PATCH v4 4/4] drm/exynos: hdmi: support extra resolutions using drm_display_mode timings

2013-01-15 Thread Rahul Sharma
: Rahul Sharma Signed-off-by: Sean Paul Signed-off-by: Shirish S Signed-off-by: Akshay Saraswat --- drivers/gpu/drm/exynos/exynos_hdmi.c | 1022 +- 1 file changed, 374 insertions(+), 648 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers

[PATCH 0/2] drm/exynos: add dt support to exynos4 mixer and hdmi

2013-01-25 Thread Rahul Sharma
This patch enables the DT based search to DRM Mixer and HDMI driver for Samsung Exynos4 family soc. This set is base on "exynos-drm-fixes" branch at http://git.kernel.org/?p=linux/kernel/git/daeinki/drm-exynos.git Rahul Sharma (2): drm/exynos: add support for dt based search to ex

[PATCH 1/2] drm/exynos: add support for dt based search to exynos4 hdmi

2013-01-25 Thread Rahul Sharma
Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_ddc.c | 2 ++ drivers/gpu/drm/exynos/exynos_hdmi.c| 6 ++ drivers/gpu/drm/exynos/exynos_hdmiphy.c | 2 ++ 3 files changed, 10 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_ddc.c b/drivers/gpu/drm/exynos

[PATCH 2/2] drm/exynos: add support for dt based search to exynos4 mixer

2013-01-25 Thread Rahul Sharma
Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_mixer.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c index c414584..67f50b5 100644 --- a/drivers/gpu/drm/exynos/exynos_mixer.c +++ b/drivers/gpu

[PATCH] drm: modify pages_to_sg prime helper to create optimized SG table

2013-01-29 Thread Rahul Sharma
os-drm-fixes" branch at http://git.kernel.org/?p=linux/kernel/git/daeinki/drm-exynos.git Signed-off-by: Rahul Sharma --- drivers/gpu/drm/drm_prime.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/drm_prime.c b/drivers/gpu/drm/drm_prime.c index 7f12

Re: [PATCH v2] drm/exynos: Get HDMI version from device tree

2013-01-30 Thread Rahul Sharma
ware of the ip > version itself and should the driver only aware of it through device > tree? So I thought using the version property is proper way. > I want to second Sylwester's proposal. Compatibility information should be carried in compatible string. 'version' property is

Re: [PATCH 1/2] drm/exynos: add support for dt based search to exynos4 hdmi

2013-01-31 Thread Rahul Sharma
Thanks Mr. Dae, I will include DT binding documentation in Arch side patches. I am following the mentioned thread. regards, Rahul Sharma. On Wed, Jan 30, 2013 at 12:07 PM, Inki Dae wrote: > Hi Rahul, > > Could you add descriptions to dt document file? For this, you can > refer

Re: [PATCH] drm: modify pages_to_sg prime helper to create optimized SG table

2013-01-31 Thread Rahul Sharma
On Tue, Jan 29, 2013 at 10:40 PM, Aaron Plattner wrote: > On 01/28/2013 05:38 AM, Rahul Sharma wrote: >> >> It fixes the issue arises due to passing 'nr_pages' in place of 'nents' to >> sg_alloc_table. When ARM_HAS_SG_CHAIN is disabled, it is causing f

Re: [PATCH] drm: modify pages_to_sg prime helper to create optimized SG table

2013-01-31 Thread Rahul Sharma
On Thu, Jan 31, 2013 at 2:23 PM, Daniel Vetter wrote: > On Thu, Jan 31, 2013 at 9:38 AM, Rahul Sharma wrote: >> On Tue, Jan 29, 2013 at 10:40 PM, Aaron Plattner >> wrote: >>> On 01/28/2013 05:38 AM, Rahul Sharma wrote: >>>> >>>> It fixes the is

Re: [PATCH] drm: modify pages_to_sg prime helper to create optimized SG table

2013-01-31 Thread Rahul Sharma
On Thu, Jan 31, 2013 at 5:47 PM, Daniel Vetter wrote: > On Thu, Jan 31, 2013 at 12:54 PM, Rahul Sharma wrote: >> I have parsed the related code and it looks fine to me. I couldn't find >> any code section, expecting sg-tables with single-page sgl entries. I >> just wa

[PATCH 0/3] drm: exynos: hdmi: add exynos5 support for drm hdmi

2012-09-12 Thread Rahul Sharma
git://git.infradead.org/users/kmpark/linux-samsung (linux v3.6-rc4) Rahul Sharma (3): drm: exynos: hdmi: add exynos5 support to mixer driver drm: exynos: hdmi: add exynos5 support to hdmi driver drm: exynos: hdmi: clean dependency on plf data for mixer, hdmi context drivers/gpu/drm/e

[PATCH 1/3] drm: exynos: hdmi: add exynos5 support to mixer driver

2012-09-12 Thread Rahul Sharma
Added support for exynos5 to drm mixer driver. Exynos5 works with dt enabled while in exynos4 mixer device information can be passed either way (dt or plf data). This situation is taken cared. Signed-off-by: Rahul Sharma Signed-off-by: Shirish S Signed-off-by: Fahad Kunnathadi --- drivers/gpu

[PATCH 2/3] drm: exynos: hdmi: add exynos5 support to hdmi driver

2012-09-12 Thread Rahul Sharma
Added support for exynos5 to hdmi driver. Resource init is splitted for exynos5 and exynos4. Exynos5 hdmi driver is dt based while exynos4 hdmi driver is not. Signed-off-by: Rahul Sharma Signed-off-by: Shirish S Signed-off-by: Fahad Kunnathadi --- drivers/gpu/drm/exynos/exynos_hdmi.c | 300

[PATCH 3/3] drm: exynos: hdmi: clean dependency on plf data for mixer, hdmi context

2012-09-12 Thread Rahul Sharma
exynos-drm-hdmi need context pointers from hdmi and mixer. These pointers were expected from the plf data. Cleaned this dependency by exporting i/f which are called by hdmi, mixer driver probes for setting their context. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_drm_hdmi.c

Re: [PATCH 1/3] drm: exynos: hdmi: add exynos5 support to mixer driver

2012-09-13 Thread RAHUL SHARMA
AM, Inki Dae wrote: > > -Original Message- > From: Joonyoung Shim [mailto:jy0922.s...@samsung.com] > Sent: Thursday, September 13, 2012 10:44 AM > To: Rahul Sharma > Cc: dri-devel@lists.freedesktop.org; sw0312@samsung.com; > inki@samsung.com; kyungmin.p.

Re: [PATCH 2/3] drm: exynos: hdmi: add exynos5 support to hdmi driver

2012-09-13 Thread RAHUL SHARMA
> Hi, Rahul. > > Overall, i think this patch causes messy codes. > > > On 09/12/2012 09:08 PM, Rahul Sharma wrote: >> >> Added support for exynos5 to hdmi driver. Resource init >> is splitted for exynos5 and exynos4. Exynos5 hdmi driver >> is dt based whil

Re: [PATCH 3/3] drm: exynos: hdmi: clean dependency on plf data for mixer, hdmi context

2012-09-13 Thread RAHUL SHARMA
r context. > > > It is reasonable to me. This can remove struct exynos_drm_common_hdmi_pd. > > Thanks. > I am talking about exynos_drm_common_hdmi_pd only. With above change, it won't be required anymore. regards, Rahul Sharma > >> Signed-off-by: Ra

[PATCH 00/14] drm: exynos: hdmi: add dt based support for exynos5 hdmi

2012-09-28 Thread Rahul Sharma
This patch set adds the DT based support for Samsung's Exynos5250 in DRM-HDMI. It includes disabling of hdmi internal interrupt, suppport for platform variants for hdmi and mixer, support to disable video processor based on platform type and removal of drm common platform data. Rahul Shar

[PATCH 01/14] media: s5p-hdmi: add HPD GPIO to platform data

2012-09-28 Thread Rahul Sharma
From: Tomasz Stanislawski This patch extends s5p-hdmi platform data by a GPIO identifier for Hot-Plug-Detection pin. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- include/media/s5p_hdmi.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/m

[PATCH 02/14] drm: exynos: hdmi: support for platform variants

2012-09-28 Thread Rahul Sharma
From: Tomasz Stanislawski This patch implements check if HDMI is version 1.3 by using a driver variant instead of platform data. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_hdmi.c | 25 - 1 files changed, 24 inser

[PATCH 04/14] drm: exynos: hdmi: use s5p-hdmi platform data

2012-09-28 Thread Rahul Sharma
From: Tomasz Stanislawski The 'exynos-drm-hdmi' driver makes use of s5p-tv platform devices. Therefore the driver should use the same platform data to prevent crashes caused by dereferencing incorrect types. This patch corrects the exynos-drm-hdmi driver to the platform data from s5p-hdmi. Sign

[PATCH 03/14] drm: exynos: hdmi: fix interrupt handling

2012-09-28 Thread Rahul Sharma
From: Tomasz Stanislawski This patch fixes 'unsigned < 0' check in probe. Moreover it releases an interrupt at remove. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_hdmi.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff

[PATCH 06/14] drm: exynos: remove drm hdmi platform data struct

2012-09-28 Thread Rahul Sharma
This patch removes the drm hdmi platform data structure which is no longer in use by drm hdmi driver after this patch set get merged. s5p hdmi platform data structure is used instead. Signed-off-by: Rahul Sharma --- include/drm/exynos_drm.h | 13 - 1 files changed, 0 insertions

[PATCH 05/14] drm: exynos: hdmi: turn off HPD interrupt in HDMI chip

2012-09-28 Thread Rahul Sharma
From: Tomasz Stanislawski The plug/unplug interrupt are handled by a separate interrupt. So there is no need to replicate this mechanism in HDMI core. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_hdmi.c |5 + 1 files changed, 1 inse

[PATCH 09/14] drm: exynos: hdmi: add support for platform variants for mixer

2012-09-28 Thread Rahul Sharma
This patch adds the support for multiple mixer versions avaialble in various platform variants. Version is passed as a driver data field instead of paltform data. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_mixer.c | 28 1 files changed, 28

[PATCH 07/14] drm: exynos: hdmi: add support for exynos5 ddc

2012-09-28 Thread Rahul Sharma
This patch adds support for exynos5 ddc with device tree enabled. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_ddc.c | 22 +- 1 files changed, 17 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_ddc.c b/drivers/gpu/drm/exynos

[PATCH 10/14] drm: exynos: hdmi: add support to disable video processor in mixer

2012-09-28 Thread Rahul Sharma
This patch adds support for disabling the video processor code based on the platform type. This is done based on a field in the mixer driver data which changes with the platform variant. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_mixer.c | 151

<    1   2   3   4   5   6   7   >