[Intel-gfx] [MIPI SEQ PARSING v2 PATCH 10/11] drm/i915: Add functions to execute the new sequences from VBT

2015-09-09 Thread Deepak M
-by: Deepak M --- drivers/gpu/drm/i915/intel_dsi_panel_vbt.c | 84 +++- 1 file changed, 83 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_dsi_panel_vbt.c b/drivers/gpu/drm/i915/intel_dsi_panel_vbt.c index b0d09f6..2263559 100644 --- a/drivers/gpu/drm

[Intel-gfx] [RFC CABC v3 PATCH 2/2] drm/i915: CABC support for backlight control

2015-09-10 Thread Deepak M
supported by panel. (Daniel Vetter) v3: - Use for_each_dsi_port macro for handling port C also (Gaurav) - Rebase Signed-off-by: Deepak M --- drivers/gpu/drm/i915/Makefile |1 + drivers/gpu/drm/i915/intel_dsi.c | 18 +++--- drivers/gpu/drm/i915/intel_panel.c | 23

[Intel-gfx] [RFC CABC v3 PATCH 1/2] drm/i915: Parsing the PWM cntrl and CABC ON/OFF fileds in VBT

2015-09-10 Thread Deepak M
For dual link panel scenarios there are new fileds added in the VBT which indicate on which port the PWM cntrl and CABC ON/OFF commands needs to be sent. v2: Rebase v3: Rebase Signed-off-by: Deepak M --- drivers/gpu/drm/i915/intel_bios.c | 13 + drivers/gpu/drm/i915/intel_bios.h

[Intel-gfx] [RFC CABC v3 PATCH 0/2] CABC patch list

2015-09-10 Thread Deepak M
. Again a filed is added in the VBT to get this data from the version 197 onwards. One of the below patches parses these fields from the VBT. v3: - removed the first patch from the list as it was not necessary - addressed Daniel and Gaurav`s comments. Deepak M (2): drm/i915: Parsing the PWM cntrl and

Re: [Intel-gfx] [RFC CABC v3 PATCH 2/2] drm/i915: CABC support for backlight control

2015-09-14 Thread Deepak, M
>-Original Message- >From: Daniel Vetter [mailto:daniel.vet...@ffwll.ch] On Behalf Of Daniel >Vetter >Sent: Monday, September 14, 2015 3:12 PM >To: Deepak, M >Cc: intel-gfx@lists.freedesktop.org >Subject: Re: [Intel-gfx] [RFC CABC v3 PATCH 2/2] drm/i915: CABC s

[Intel-gfx] [PATCH] drm/i915: CABC support for backlight control

2015-09-14 Thread Deepak M
supported by panel. (Daniel Vetter) v3: - Use for_each_dsi_port macro for handling port C also (Gaurav) - Rebase Signed-off-by: Deepak M --- drivers/gpu/drm/i915/Makefile |1 + drivers/gpu/drm/i915/intel_dsi.c | 18 +- drivers/gpu/drm/i915/intel_dsi_cabc.c | 310

Re: [Intel-gfx] [PATCH] drm/i915: CABC support for backlight control

2015-09-14 Thread Deepak, M
>-Original Message- >From: Jani Nikula [mailto:jani.nik...@linux.intel.com] >Sent: Monday, September 14, 2015 5:51 PM >To: Deepak, M; intel-gfx@lists.freedesktop.org >Cc: Deepak, M >Subject: Re: [Intel-gfx] [PATCH] drm/i915: CABC support for backlight control >

Re: [Intel-gfx] [MIPI SEQ PARSING v2 PATCH 04/11] drm/i915: Using the approprite vbt size if vbt is not in mailbox4 of opregion

2015-09-21 Thread Deepak, M
>-Original Message- >From: Jani Nikula [mailto:jani.nik...@linux.intel.com] >Sent: Thursday, September 17, 2015 7:01 PM >To: Deepak, M; intel-gfx@lists.freedesktop.org >Cc: Deepak, M >Subject: Re: [Intel-gfx] [MIPI SEQ PARSING v2 PATCH 04/11] drm/i915: Using >the a

Re: [Intel-gfx] [MIPI SEQ PARSING v2 PATCH 05/11] drm/i915: Added support the v3 mipi sequence block

2015-09-21 Thread Deepak, M
>-Original Message- >From: Jani Nikula [mailto:jani.nik...@linux.intel.com] >Sent: Thursday, September 17, 2015 8:09 PM >To: Deepak, M; intel-gfx@lists.freedesktop.org >Cc: Deepak, M >Subject: Re: [Intel-gfx] [MIPI SEQ PARSING v2 PATCH 05/11] drm/i915: Added >support

Re: [Intel-gfx] [MIPI SEQ PARSING v2 PATCH 04/11] drm/i915: Using the approprite vbt size if vbt is not in mailbox4 of opregion

2015-09-21 Thread Deepak, M
>-Original Message- >From: Jani Nikula [mailto:jani.nik...@linux.intel.com] >Sent: Thursday, September 17, 2015 5:48 PM >To: Deepak, M; intel-gfx@lists.freedesktop.org >Cc: Deepak, M >Subject: Re: [Intel-gfx] [MIPI SEQ PARSING v2 PATCH 04/11] drm/i915: Using >the a

Re: [Intel-gfx] [MIPI SEQ PARSING v2 PATCH 03/11] drm/i915: Parsing VBT if size of VBT exceeds 6KB

2015-09-21 Thread Deepak, M
>-Original Message- >From: Jani Nikula [mailto:jani.nik...@linux.intel.com] >Sent: Thursday, September 17, 2015 5:41 PM >To: Deepak, M; intel-gfx@lists.freedesktop.org >Cc: Deepak, M >Subject: Re: [Intel-gfx] [MIPI SEQ PARSING v2 PATCH 03/11] drm/i915: Parsing >VBT i

Re: [Intel-gfx] [MIPI SEQ PARSING v2 PATCH 01/11] drm/i915: Adding the parsing logic for the i2c element

2015-09-21 Thread Deepak, M
>-Original Message- >From: Jani Nikula [mailto:jani.nik...@linux.intel.com] >Sent: Thursday, September 17, 2015 2:48 PM >To: Deepak, M; intel-gfx@lists.freedesktop.org >Cc: Deepak, M >Subject: Re: [Intel-gfx] [MIPI SEQ PARSING v2 PATCH 01/11] drm/i915: Adding >the

Re: [Intel-gfx] [PATCH] drm/i915/bios: handle MIPI Sequence Block v3+ gracefully

2015-09-23 Thread Deepak, M
Reviewed-by: Deepak M >-Original Message- >From: Daniel Vetter [mailto:daniel.vet...@ffwll.ch] On Behalf Of Daniel >Vetter >Sent: Wednesday, September 23, 2015 7:02 PM >To: Nikula, Jani >Cc: intel-gfx@lists.freedesktop.org; Deepak, M >Subject: Re: [Intel-gfx]

Re: [Intel-gfx] [PATCH 1/1] drm/i915: make backlight hooks connector specific

2015-09-29 Thread Deepak, M
>-Original Message- >From: Nikula, Jani >Sent: Tuesday, September 15, 2015 12:31 PM >To: Daniel Vetter >Cc: Deepak, M; Adebisi, YetundeX; intel-gfx@lists.freedesktop.org >Subject: Re: [Intel-gfx] [PATCH 1/1] drm/i915: make backlight hooks >connector specific &

[Intel-gfx] [RFC CABC PATCH v2 3/3] drm/i915: CABC support for backlight control

2015-07-24 Thread Deepak M
supported by panel. (Addressed comment from Daniel Vetter) Signed-off-by: Deepak M --- drivers/gpu/drm/i915/Makefile |1 + drivers/gpu/drm/i915/intel_drv.h |3 +- drivers/gpu/drm/i915/intel_dsi.c | 13 ++ drivers/gpu/drm/i915/intel_dsi_cabc.c | 349

[Intel-gfx] [MIPI SEQ PARSING v1 PATCH 2/9] drm/i915: Parsing VBT if size of VBT exceeds 6KB

2015-07-28 Thread Deepak M
Currently the iomap for VBT works only if the size of the VBT is less than 6KB, but if the size of the VBT exceeds 6KB than the physical address and the size of the VBT to be iomapped is specified in the mailbox3 and is iomapped accordingly. Signed-off-by: Deepak M --- drivers/gpu/drm/i915

[Intel-gfx] [MIPI SEQ PARSING v1 PATCH 6/9] drm/i915: GPIO for CHT generic MIPI

2015-07-28 Thread Deepak M
From: Yogesh Mohan Marimuthu The GPIO configuration and register offsets are different from baytrail for cherrytrail. Port the gpio programming accordingly for cherrytrail in this patch. Signed-off-by: Yogesh Mohan Marimuthu --- drivers/gpu/drm/i915/i915_reg.h| 23 ++ drivers

[Intel-gfx] [MIPI SEQ PARSING v1 PATCH 4/9] drm/i915: Added support the v3 mipi sequence block

2015-07-28 Thread Deepak M
-by: Deepak M --- drivers/gpu/drm/i915/intel_bios.c | 119 +++- drivers/gpu/drm/i915/intel_bios.h |8 ++ drivers/gpu/drm/i915/intel_dsi_panel_vbt.c |7 ++ 3 files changed, 114 insertions(+), 20 deletions(-) diff --git a/drivers/gpu/drm/i915

[Intel-gfx] [MIPI SEQ PARSING v1 PATCH 5/9] drm/i915: Added the generic gpio sequence support and gpio table

2015-07-28 Thread Deepak M
The generic gpio is sequence is parsed from the VBT and the GPIO table is updated with the North core, South core and SUS core elements. Signed-off-by: Deepak M --- drivers/gpu/drm/i915/i915_drv.h|5 +- drivers/gpu/drm/i915/i915_reg.h|5 + drivers/gpu/drm/i915

[Intel-gfx] [MIPI SEQ PARSING v1 PATCH 3/9] drm/i915: Using the approprite vbt size if vbt is not in mailbox4 of opregion

2015-07-28 Thread Deepak M
. Signed-off-by: Deepak M --- drivers/gpu/drm/i915/i915_drv.h |5 drivers/gpu/drm/i915/intel_bios.c | 43 +++-- drivers/gpu/drm/i915/intel_opregion.c |7 -- 3 files changed, 35 insertions(+), 20 deletions(-) diff --git a/drivers/gpu/drm/i915

[Intel-gfx] [MIPI SEQ V3 PARSING PATCH 0/9] Patches to support the version 3 of MIPI sequence in VBT.

2015-07-28 Thread Deepak M
in the bdb header cant be relied. So its better to consider the vbt size from the mailbox3 when the VBT is not present in mailbox4. Other patches implements the parsing of the new sequence type which are added in the block 53 and adding new wrapper functions for the struct drm_panel_funcs. Deepak

[Intel-gfx] [MIPI SEQ PARSING v1 PATCH 1/9] drm/i915: Adding the parsing logic for the i2c element

2015-07-28 Thread Deepak M
From: vkorjani New sequence element for i2c is been added in the mipi sequence block of the VBT. This patch parses and executes the i2c sequence. Signed-off-by: vkorjani Signed-off-by: Deepak M --- drivers/gpu/drm/i915/intel_bios.c |6 +++ drivers/gpu/drm/i915/intel_bios.h

[Intel-gfx] [MIPI SEQ PARSING v1 PATCH 7/9] drm: Add few more wrapper functions for drm panel

2015-07-28 Thread Deepak M
these functions. Signed-off-by: Deepak M Signed-off-by: Gaurav K Singh --- include/drm/drm_panel.h | 47 +++ 1 file changed, 47 insertions(+) diff --git a/include/drm/drm_panel.h b/include/drm/drm_panel.h index 13ff44b..c729f6d 100644 --- a/include

[Intel-gfx] [MIPI SEQ PARSING v1 PATCH 8/9] drm/i915: Add functions to execute the new sequences from VBT

2015-07-28 Thread Deepak M
From: Gaurav K Singh New sequences are added in the mipi sequence block of the VBT from version 3 onwards. The sequences are added to make the code more generic as the panel related info are placed in the VBT. Signed-off-by: Gaurav K Singh Signed-off-by: Shobhit Kumar Signed-off-by: Deepak M

[Intel-gfx] [MIPI SEQ PARSING v1 PATCH 9/9] BXT GPIO support for backlight and panel control

2015-07-28 Thread Deepak M
From: Uma Shankar Added the BXT GPIO pin configuration and programming logic for backlight and panel control. Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/intel_dsi_panel_vbt.c | 46 1 file changed, 46 insertions(+) diff --git a/drivers/gpu/drm/i915/intel

<    1   2