[PATCH v2 0/4] drm/msm: HDMI support on IFC6410

2016-09-01 Thread Archit Taneja
. Archit Taneja (4): drm/msm/mdp4: Fix issue with LCDC/LVDS port parsing drm/msm/hdmi: Clean up HDMI gpio DT bindings arm: dts: qcom: apq8064: Add display DT nodes arm: dts: qcom: apq8064-ifc6410: Add HDMI support .../devicetree/bindings/display/msm/hdmi.txt | 11 +-- arch/arm/boot/dts/qcom

[PATCH v2 1/4] drm/msm/mdp4: Fix issue with LCDC/LVDS port parsing

2016-09-01 Thread Archit Taneja
available. While we're at it, use of_graph_get_endpoint_by_regs instead of of_graph_get_next_endpoint to make it more explicit that the LVDS output is at port 0. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.c | 23 --- 1 file changed, 12 insertions(+), 11

[PATCH v2 2/4] drm/msm/hdmi: Clean up HDMI gpio DT bindings

2016-09-01 Thread Archit Taneja
d a missing lpm gpio used on some platforms. Make the necessary changes in the driver to incorporate these changes. There hasn't been any upstream DT that uses the HDMI bindings, so it's okay to change and move around these properties. Cc: Rob Herring Cc: devicetree at vger.kernel.org Signed-o

[PATCH v2 3/4] arm: dts: qcom: apq8064: Add display DT nodes

2016-09-01 Thread Archit Taneja
at vger.kernel.org Signed-off-by: Archit Taneja --- arch/arm/boot/dts/qcom-apq8064.dtsi | 91 + 1 file changed, 91 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index 74a9b6c..b688fb6 100644 --- a/arch/arm/boot/dts/qcom

[PATCH v2 4/4] arm: dts: qcom: apq8064-ifc6410: Add HDMI support

2016-09-01 Thread Archit Taneja
: devicetree at vger.kernel.org Signed-off-by: Archit Taneja --- arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 74 ++ 1 file changed, 74 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts index 2eeb090..3d37cab

[PATCH] drm/bridge: adv7511: add support for the 2nd chip

2016-09-02 Thread Archit Taneja
Hi, On 9/2/2016 2:13 AM, Sergei Shtylyov wrote: > The Renesas Wheat board has 2 ADV7513 chips on the same I2C bus, however > the ADV751x driver only supports 1 chip as it tries to assign the packet/ > EDID/CEC memory I2C devices to the fixed I2C addresses. Assign these I2C > addresses at the

[PATCH 02/10] drm: Extract drm_bridge.h

2016-09-02 Thread Archit Taneja
On 8/31/2016 9:39 PM, Daniel Vetter wrote: > We don't want to burry the bridge structures kerneldoc in drm_crtc.h. > > Cc: Archit Taneja Reviewed-by: Archit Taneja > Signed-off-by: Daniel Vetter > --- > Documentation/gpu/drm-kms-helpers.rst | 7 ++ > drivers

[PATCH 05/10] drm/doc: Polish for drm_plane.[hc]

2016-09-02 Thread Archit Taneja
On 8/31/2016 9:39 PM, Daniel Vetter wrote: > Big thing is untangling and carefully documenting the different uapi > types of planes. I also sprinkled a few more cross references around > to make this easier to discover. > > As usual, remove the kerneldoc for internal functions which are not >

[PATCH 4/4 v2] drm/bridge: adv7511: Initialize audio packet on adv7533

2016-09-02 Thread Archit Taneja
Hi, On 8/30/2016 5:11 AM, John Stultz wrote: > From: Andy Green > > Set the initial audio packet settings to allow the audio > driver to work. > > Cc: David Airlie > Cc: Archit Taneja > Cc: Laurent Pinchart > Cc: Wolfram Sang <wsa+renesas at sang-engineering.

[PATCH v2] drm/bridge: adv7511: add support for the 2nd chip

2016-09-12 Thread Archit Taneja
On 09/06/2016 01:13 AM, Sergei Shtylyov wrote: > The Renesas Wheat board has 2 ADV7513 chips on the same I2C bus, however > the ADV751x driver only supports 1 chip as it tries to assign the packet/ > EDID/CEC memory I2C devices to the fixed I2C addresses. Assign these I2C > addresses at the

[PATCH v3 1/4] drm/bridge: Add RGB to VGA bridge support

2016-09-12 Thread Archit Taneja
Hi, On 09/08/2016 05:47 PM, Maxime Ripard wrote: > Some boards have an entirely passive RGB to VGA bridge, based on either > DACs or resistor ladders. > > Those might or might not have an i2c bus routed to the VGA connector in > order to access the screen EDIDs. > > Add a bridge that doesn't do

[RFC][PATCH 5/4] arm: dts: qcom: apq8064: Add dsi, gpu and iommu nodes

2016-09-12 Thread Archit Taneja
Hi, On 09/08/2016 05:02 AM, John Stultz wrote: > Sort of tagging on to Archit's patchset here. > > Adds the core gpu, and dsi nodes for the apq8064 needed > to get graphics working on the nexus7 and other devices. > > Feedback would be greatly appreciated! > > Cc: Archit T

[PATCH] drm: msm: mdp4: mark symbols static where possible

2016-09-12 Thread Archit Taneja
4:5: warning: no previous > prototype for 'mdp4_plane_set_property' [-Wmissing-prototypes] > > In fact, these functions are only used in the file in which they are > declared and don't need a declaration, but can be made static. > So this patch marks these functions with 'static'. Reviewed-by:

[PATCH] drm/bridge: analogix_dp: Improve panel on time

2016-09-12 Thread Archit Taneja
On 09/07/2016 04:53 PM, Sean Paul wrote: > In order to reduce the time required to turn on the panel, this patch > makes 2 assumptions: > 1- In detect(): if there's a panel, we're connected. > 2- In get_modes(): if there's a panel, let the panel driver decide if > it should prepare/unprepare

[PATCH v2 2/4] drm/msm/hdmi: Clean up HDMI gpio DT bindings

2016-09-13 Thread Archit Taneja
On 9/12/2016 6:49 PM, Rob Herring wrote: > On Thu, Sep 01, 2016 at 07:06:52PM +0530, Archit Taneja wrote: >> Make the following changes in the HDMI gpio bindings: >> >> - Use "-gpios" as the suffix for all the gpio names >> - Move all the gpios to optiona

[PATCH v2 2/4] drm/msm/hdmi: Clean up HDMI gpio DT bindings

2016-09-13 Thread Archit Taneja
On 9/13/2016 12:42 PM, Archit Taneja wrote: > > > On 9/12/2016 6:49 PM, Rob Herring wrote: >> On Thu, Sep 01, 2016 at 07:06:52PM +0530, Archit Taneja wrote: >>> Make the following changes in the HDMI gpio bindings: >>> >>> - Use "-gpios"

[PATCH v3 0/4] drm/msm: HDMI support on IFC6410

2016-09-13 Thread Archit Taneja
on HDMI gpio bindings as suggested by Rob H. Archit Taneja (4): drm/msm/mdp4: Fix issue with LCDC/LVDS port parsing drm/msm/hdmi: Clean up HDMI gpio DT bindings arm: dts: qcom: apq8064: Add display DT nodes arm: dts: qcom: apq8064-ifc6410: Add HDMI support .../devicetree/bindings/display

[PATCH v3 1/4] drm/msm/mdp4: Fix issue with LCDC/LVDS port parsing

2016-09-13 Thread Archit Taneja
available. While we're at it, use of_graph_get_endpoint_by_regs instead of of_graph_get_next_endpoint to make it more explicit that the LVDS output is at port 0. Tested-by: John Stultz Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.c | 23 --- 1 file

[PATCH v3 2/4] drm/msm/hdmi: Clean up HDMI gpio DT bindings

2016-09-13 Thread Archit Taneja
y to change and move around these properties. Cc: Rob Herring Cc: devicetree at vger.kernel.org Signed-off-by: Archit Taneja --- v3: - Removed HDMI DDC clk/data gpios. .../devicetree/bindings/display/msm/hdmi.txt| 9 - drivers/gpu/drm/msm/hdmi/hdmi.c

[PATCH v3 3/4] arm: dts: qcom: apq8064: Add display DT nodes

2016-09-13 Thread Archit Taneja
at vger.kernel.org Tested-by: John Stultz Signed-off-by: Archit Taneja --- arch/arm/boot/dts/qcom-apq8064.dtsi | 91 + 1 file changed, 91 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index 74a9b6c..b688fb6 100644

[PATCH v3 4/4] arm: dts: qcom: apq8064-ifc6410: Add HDMI support

2016-09-13 Thread Archit Taneja
: devicetree at vger.kernel.org Signed-off-by: Archit Taneja --- arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 74 ++ 1 file changed, 74 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts index 2eeb090..3d37cab

[PATCH v3 3/4] arm: dts: qcom: apq8064: Add display DT nodes

2016-09-15 Thread Archit Taneja
On 9/14/2016 3:14 AM, Stephen Boyd wrote: > On 09/13/2016 08:21 AM, Archit Taneja wrote: >> APQ8064 contains a MDP4 based display controller. It contains a HDMI, LVDS >> and 2 DSI outputs. >> >> Add display DT nodes for MDP4, HDMI TX and HDMI PHY. MDP4 based display &

[PATCH 05/10] drm/doc: Polish for drm_plane.[hc]

2016-09-21 Thread Archit Taneja
On 09/19/2016 06:43 PM, Daniel Vetter wrote: > On Fri, Sep 02, 2016 at 03:00:38PM +0530, Archit Taneja wrote: >> >> >> On 8/31/2016 9:39 PM, Daniel Vetter wrote: >>> Big thing is untangling and carefully documenting the different uapi >>> types of pl

[PATCH] drm: Fix plane type uabi breakage

2016-09-23 Thread Archit Taneja
ile sprinkle at least some warning over them. > > Fixes: 532b36712ddf ("drm/doc: Polish for drm_plane.[hc]") > Cc: Archit Taneja > Cc: Sean Paul > Signed-off-by: Daniel Vetter Reviewed-by: Archit Taneja > --- > include/drm/drm_blend.h | 3 +++ > include/drm/d

[PATCH v2 2/4] drm/bridge: adv7511: Initialize regulators

2016-09-23 Thread Archit Taneja
-by: Archit Taneja --- v2: - Use regulator_bulk_* API to configure regulators as suggested by Laurent. - Set up regulators for ADV7511 too. drivers/gpu/drm/bridge/adv7511/adv7511.h | 4 ++ drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 85 +--- 2 files changed, 80

[PATCH 1/2 v4] drm/bridge: adv7511: Add Audio support.

2016-09-23 Thread Archit Taneja
On 09/17/2016 04:47 AM, John Stultz wrote: > This patch adds support to Audio for both adv7511 and adv7533 > bridge chips. > > This patch was originally from [1] by Lars-Peter Clausen > and was adapted by Archit Taneja and > Srinivas Kandagatla . > > Then I heavily rew

[PATCH 2/2 v4] drm/bridge: adv7511: Enable the audio data and clock pads on adv7533

2016-09-23 Thread Archit Taneja
On 09/17/2016 04:47 AM, John Stultz wrote: > From: Srinivas Kandagatla > > This patch enables the Audio Data and Clock pads to the adv7533 bridge. > Without this patch audio can not be played. > > Cc: David Airlie > Cc: Archit Taneja > Cc: Laurent Pinchart > Cc

[PATCH v3 03/13] drm: bridge: Link encoder and bridge in core code

2016-11-30 Thread Archit Taneja
On 11/30/2016 4:35 PM, Laurent Pinchart wrote: > Hi Archit, > > On Wednesday 30 Nov 2016 16:30:53 Archit Taneja wrote: >> On 11/30/2016 03:53 PM, Laurent Pinchart wrote: >>> On Wednesday 30 Nov 2016 10:35:02 Archit Taneja wrote: >>>> On 11/29/2

[PATCH v5 2/5] drm/bridge: Add RGB to VGA bridge support

2016-10-03 Thread Archit Taneja
Hi Maxime, On 09/30/2016 08:07 PM, Maxime Ripard wrote: > Some boards have an entirely passive RGB to VGA bridge, based on either > DACs or resistor ladders. > > Those might or might not have an i2c bus routed to the VGA connector in > order to access the screen EDIDs. > > Add a bridge that

[PATCH 1/2] drm/bridge: analogix_dp: Add analogix_dp_psr_supported

2016-10-03 Thread Archit Taneja
On 09/27/2016 06:58 PM, Sean Paul wrote: > On Fri, Sep 23, 2016 at 10:06 AM, Tomeu Vizoso > wrote: >> So users know whether PSR should be enabled or not. >> >> Signed-off-by: Tomeu Vizoso >> Cc: Sean Paul >> Cc: Yakir Yang >> Cc: Archit Taneja >

[PATCH 2/2] drm/rockchip: analogix_dp: Refuse to enable PSR if panel doesn't support it

2016-10-03 Thread Archit Taneja
s. >> >> Signed-off-by: Tomeu Vizoso > > Thanks for digging into this. > > Reviewed-by: Sean Paul > queued to drm-misc. Archit > > >> Cc: Sean Paul >> Cc: Yakir Yang >> Cc: Archit Taneja >> --- >> drivers/gpu/drm/rockchip

[PATCH v3 3/3] drm/bridge: add Silicon Image SiI8620 driver

2016-10-06 Thread Archit Taneja
On 10/06/2016 02:47 PM, Daniel Vetter wrote: > On Thu, Oct 06, 2016 at 11:02:58AM +0200, Andrzej Hajda wrote: >> Hi Daniel, Archit, >> >> On 30.09.2016 12:33, Andrzej Hajda wrote: >>> On 30.09.2016 12:07, Daniel Vetter wrote: >>>> On Fri, Sep 30, 201

[PATCH v5 2/5] drm/bridge: Add RGB to VGA bridge support

2016-10-06 Thread Archit Taneja
On 10/06/2016 12:51 PM, Maxime Ripard wrote: > Hi Archit, > > On Mon, Oct 03, 2016 at 04:40:57PM +0530, Archit Taneja wrote: >> Hi Maxime, >> >> On 09/30/2016 08:07 PM, Maxime Ripard wrote: >>> Some boards have an entirely passive RGB to VGA bridge, based on

[PATCH v5 2/5] drm/bridge: Add RGB to VGA bridge support

2016-10-07 Thread Archit Taneja
On 10/07/2016 02:34 AM, Laurent Pinchart wrote: > Hi Sean, > > On Thursday 06 Oct 2016 15:53:28 Sean Paul wrote: >> On Thu, Oct 6, 2016 at 1:27 PM, Laurent Pinchart wrote: >>> On Thursday 06 Oct 2016 17:09:57 Archit Taneja wrote: >>>> On 10/06/2016 12:51 P

[PATCH v5 2/5] drm/bridge: Add RGB to VGA bridge support

2016-10-10 Thread Archit Taneja
On 10/07/2016 02:44 PM, Maxime Ripard wrote: > On Fri, Oct 07, 2016 at 10:27:31AM +0530, Archit Taneja wrote: >> >> >> On 10/07/2016 02:34 AM, Laurent Pinchart wrote: >>> Hi Sean, >>> >>> On Thursday 06 Oct 2016 15:53:28 Sean Paul wrote: >&

[PATCH v5 2/5] drm/bridge: Add RGB to VGA bridge support

2016-10-10 Thread Archit Taneja
On 10/10/2016 12:45 PM, Laurent Pinchart wrote: > Hi Archit, > > On Monday 10 Oct 2016 11:05:10 Archit Taneja wrote: >> On 10/07/2016 02:44 PM, Maxime Ripard wrote: >>> On Fri, Oct 07, 2016 at 10:27:31AM +0530, Archit Taneja wrote: > > [snip] > >>>

[RFC PATCH 00/11] Introduce writeback connectors

2016-10-14 Thread Archit Taneja
Hi Brian, On 10/11/2016 08:23 PM, Brian Starkey wrote: > Hi, > > This RFC series introduces a new connector type: > DRM_MODE_CONNECTOR_WRITEBACK > It is a follow-on from a previous discussion: [1] > > Writeback connectors are used to expose the memory writeback engines > found in some display

[PATCH] drm/msm/mdp5: handle non-fullscreen base plane case

2016-10-14 Thread Archit Taneja
atomic_check() and assign the stages appropriately. The patch looks good. I couldn't test the problematic scenario since I don't have an easy way to reproduce it, but it doesn't break regular usage (where base layer is full screen). Reviewed-by: Archit Taneja > > Signed-off-by: Rob Clark >

[PATCH] drm/arcpgu: Accommodate adv7511 switch to DRM bridge

2016-10-15 Thread Archit Taneja
Hi, On 10/14/2016 6:57 PM, Eugeniy Paltsev wrote: > ARC PGU driver starts crashing on initialization after > 'commit e12c2f645557 ("drm/i2c: adv7511: Convert to drm_bridge")' > This happenes because in "arcpgu_drm_hdmi_init" function we get pointer > of "drm_i2c_encoder_driver" structure, which

[PATCH] drm/msm/mdp5: handle non-fullscreen base plane case

2016-10-15 Thread Archit Taneja
On 10/13/2016 10:18 PM, Rob Clark wrote: > If the bottom-most layer is not fullscreen, we need to use the BASE > mixer stage for solid fill (ie. MDP5_CTL_BLEND_OP_FLAG_BORDER_OUT). The > blend_setup() code pretty much handled this already, we just had to > figure this out in _atomic_check() and

[PATCH] drm/msm/mdp5: handle non-fullscreen base plane case

2016-10-15 Thread Archit Taneja
On 10/15/2016 5:02 PM, Rob Clark wrote: > On Sat, Oct 15, 2016 at 5:39 AM, Archit Taneja > wrote: >> >> On 10/13/2016 10:18 PM, Rob Clark wrote: >>> >>> If the bottom-most layer is not fullscreen, we need to use the BASE >>> mixer stage for soli

[PATCH] drm/msm/mdp5: handle non-fullscreen base plane case

2016-10-15 Thread Archit Taneja
On 10/15/2016 6:38 PM, Rob Clark wrote: > On Sat, Oct 15, 2016 at 8:57 AM, Archit Taneja > wrote: >> >> >> On 10/15/2016 5:02 PM, Rob Clark wrote: >>> >>> On Sat, Oct 15, 2016 at 5:39 AM, Archit Taneja >>> wrote: >

[PATCH v5 00/13] Centralize format information

2016-10-18 Thread Archit Taneja
Hi, On 10/18/2016 04:11 AM, Laurent Pinchart wrote: > Hello, > > Various pieces of information about DRM formats (number of planes, color > depth, chroma subsampling, ...) are scattered across different helper > functions in the DRM core. Callers of those functions often need to access > more

[PATCH v2] drm/arcpgu: Accommodate adv7511 switch to DRM bridge

2016-10-19 Thread Archit Taneja
ble work with drm bridge hdmi encoder > interface. The hdmi connector code isn't needed anymore as we expect > the adv7511 bridge driver to create/manage the connector. Looks good now. Reviewed-by: Archit Taneja > > Signed-off-by: Eugeniy Paltsev

[PATCH v2] drm/bridge: adv7511: Remove unused code blocks

2016-10-19 Thread Archit Taneja
Hi., On 10/19/2016 6:37 PM, Sharma, Jitendra wrote: > Hi Laurent, > > > On 10/19/2016 5:21 PM, Laurent Pinchart wrote: >> Hi Jitendra, >> >> Thank you for the patch. >> >> On Wednesday 19 Oct 2016 17:12:48 Jitendra Sharma wrote: >>> Remove redundant condition check >>> Remove not necessary

[PATCH 2/4] drm/i2c: tda998x: Remove obsolete drm_connector_register() call

2016-10-20 Thread Archit Taneja
On 10/20/2016 01:50 PM, Laurent Pinchart wrote: > Hi Russell, > > On Wednesday 19 Oct 2016 10:35:21 Russell King - ARM Linux wrote: >> On Wed, Oct 19, 2016 at 12:19:30PM +0300, Laurent Pinchart wrote: >>> On Wednesday 19 Oct 2016 10:11:22 Russell King - ARM Linux wrote: In any case, I don't

[PATCH 2/4] drm/i2c: tda998x: Remove obsolete drm_connector_register() call

2016-10-20 Thread Archit Taneja
On 10/20/2016 02:45 PM, Russell King - ARM Linux wrote: > On Thu, Oct 20, 2016 at 02:38:25PM +0530, Archit Taneja wrote: >> >> >> On 10/20/2016 01:50 PM, Laurent Pinchart wrote: >>> Hi Russell, >>> >>> On Wednesday 19 Oct 2016 10:35:21 Russell K

[PATCH 4/8] drm: Add encoder_type field to the drm_bridge structure

2016-10-20 Thread Archit Taneja
Hi, On 10/19/2016 07:55 PM, Laurent Pinchart wrote: > The drm_bridge object models on- or off-chip hardware encoders and > provide an abstract control API to display drivers. In order to help > display drivers creating the right kind of drm_encoder object, expose > the type of the hardware

[PATCH 2/8] drm: bridge: vga-dac: Add adi,adv7123 compatible string

2016-10-21 Thread Archit Taneja
On 10/19/2016 07:55 PM, Laurent Pinchart wrote: > The ADV7123 is a transparent VGA DAC. Unlike dumb VGA DACs it can be > controlled through a power save pin, and requires a power supply. > However, on most boards where the device is used neither the power save > signal nor the power supply are

[PATCH 1/8] drm: bridge: Add LVDS encoder driver

2016-10-21 Thread Archit Taneja
On 10/19/2016 07:55 PM, Laurent Pinchart wrote: > The LVDS encoder driver is a DRM bridge driver that supports the > parallel to LVDS encoders that don't require any configuration. The > driver thus doesn't interact with the device, but creates an LVDS > connector for the panel and exposes its

[PATCH 2/8] drm: bridge: vga-dac: Add adi,adv7123 compatible string

2016-10-21 Thread Archit Taneja
On 10/21/2016 03:52 PM, Laurent Pinchart wrote: > Hi Archit, > > On Friday 21 Oct 2016 10:43:34 Archit Taneja wrote: >> On 10/19/2016 07:55 PM, Laurent Pinchart wrote: >>> The ADV7123 is a transparent VGA DAC. Unlike dumb VGA DACs it can be >>> controlled throu

[PATCH 2nd RESEND v2 3/3] drm/bridge: add Silicon Image SiI8620 driver

2016-09-25 Thread Archit Taneja
Hi, On 9/14/2016 2:03 PM, Andrzej Hajda wrote: > SiI8620 transmitter converts eTMDS/HDMI signal to MHL 3.0. > It is controlled via I2C bus. Its interaction with other > devices in video pipeline is performed mainly on HW level. > The only interaction it does on device driver level is >

[PATCH v2 2/4] drm/bridge: adv7511: Initialize regulators

2016-09-26 Thread Archit Taneja
On 9/25/2016 11:05 PM, Laurent Pinchart wrote: > Hi Archit, > > Thank you for the patch. > > On Friday 23 Sep 2016 14:50:28 Archit Taneja wrote: >> Maintain a table of regulator names expect by ADV7511 and ADV7533. >> Use regulator_bulk_* api to configure these.

[PATCH V5 3/4] drm/bridge: Add driver for GE B850v3 LVDS/DP++ Bridge

2016-09-26 Thread Archit Taneja
Hi Peter, On 09/26/2016 01:57 PM, Peter Senna Tschudin wrote: > Patch 1/4 is already on linux-next, but what about this one? Ping? I'd posted some queries a couple of times which you didn't answer to. Could you please respond to them before we try to get this merged? Archit > > On Tuesday,

[PATCH 2nd RESEND v2 3/3] drm/bridge: add Silicon Image SiI8620 driver

2016-09-26 Thread Archit Taneja
On 09/26/2016 03:06 PM, Andrzej Hajda wrote: > Hi, > > Thanks for review. > > > On 25.09.2016 19:01, Archit Taneja wrote: >> Hi, >> >> On 9/14/2016 2:03 PM, Andrzej Hajda wrote: >>> SiI8620 transmitter converts eTMDS/HDMI signal to MHL 3.0. >

[PATCH 2nd RESEND v2 3/3] drm/bridge: add Silicon Image SiI8620 driver

2016-09-26 Thread Archit Taneja
On 09/26/2016 05:01 PM, Archit Taneja wrote: > > > On 09/26/2016 03:06 PM, Andrzej Hajda wrote: >> Hi, >> >> Thanks for review. >> >> >> On 25.09.2016 19:01, Archit Taneja wrote: >>> Hi, >>> >>> On 9/14/2016 2:03 PM, Andrzej

[PATCH V5 3/4] drm/bridge: Add driver for GE B850v3 LVDS/DP++ Bridge

2016-09-26 Thread Archit Taneja
Hi, Some comments. On 08/09/2016 10:11 PM, Peter Senna Tschudin wrote: > Add a driver that create a drm_bridge and a drm_connector for the LVDS > to DP++ display bridge of the GE B850v3. > > There are two physical bridges on the video signal pipeline: a > STDP4028(LVDS to DP) and a STDP2690(DP

[PATCH V5 3/4] drm/bridge: Add driver for GE B850v3 LVDS/DP++ Bridge

2016-09-26 Thread Archit Taneja
On 09/26/2016 05:24 PM, Peter Senna Tschudin wrote: > > On Monday, September 26, 2016 12:29 CEST, Archit Taneja codeaurora.org> wrote: > >> Hi, >> >> Some comments. > > Thank you for the review! > >> >> On 08/09/2016 10:11 PM, Peter

[PATCH V5 3/4] drm/bridge: Add driver for GE B850v3 LVDS/DP++ Bridge

2016-09-26 Thread Archit Taneja
Hi, On 09/26/2016 02:28 PM, Peter Senna Tschudin wrote: > Hi Archit, > > On Monday, September 26, 2016 10:31 CEST, Archit Taneja codeaurora.org> wrote: > >> Hi Peter, >> >> On 09/26/2016 01:57 PM, Peter Senna Tschudin wrote: >>> Patch 1/4 is already on

[PATCH v3 3/3] drm/bridge: add Silicon Image SiI8620 driver

2016-09-30 Thread Archit Taneja
Hi Andrezj, On 09/26/2016 07:10 PM, Andrzej Hajda wrote: > SiI8620 transmitter converts eTMDS/HDMI signal to MHL 3.0. > It is controlled via I2C bus. Its interaction with other > devices in video pipeline is performed mainly on HW level. > The only interaction it does on device driver level is >

[PATCH 13/17] drm/bridge: Use recommened kerneldoc for struct member refs

2017-01-02 Thread Archit Taneja
g). > > Also some minor drive-by polish where it makes sense, I read a lot > of docs ... > > Cc: Archit Taneja > Cc: Jani Nikula > Cc: Chris Wilson > Signed-off-by: Daniel Vetter > --- > drivers/gpu/drm/drm_bridge.c | 27 +++-

[PATCH v7 3/5] drm: bridge: add support for TI ths8135

2017-01-03 Thread Archit Taneja
Hi Sekhar, On 1/2/2017 4:38 PM, Sekhar Nori wrote: > Hi Archit, > > On Wednesday 14 December 2016 10:35 AM, Archit Taneja wrote: >> >> >> On 12/13/2016 03:39 PM, Bartosz Golaszewski wrote: >>> THS8135 is a configurable video DAC, but no configuration is ac

[PATCH V7 3/4] drm/bridge: Add driver for GE B850v3 LVDS/DP++ Bridge

2017-01-05 Thread Archit Taneja
gt; Video output > > Cc: Martyn Welch > Cc: Martin Donnelly > Cc: Daniel Vetter > Cc: Enric Balletbo i Serra > Cc: Philipp Zabel > Cc: Rob Herring > Cc: Fabio Estevam > CC: David Airlie > CC: Thierry Reding > CC: Thierry Reding > CC: Archit Taneja > Re

[PATCH] rnndb: dsi: Add DSI PHY 14nm domains

2017-01-07 Thread Archit Taneja
Add DSI PHY 14nm domains for DSI PHY common, DSI PHY lane and DSI PLL registers. Used in MSM8996. Signed-off-by: Archit Taneja --- rnndb/dsi/dsi.xml | 128 ++ 1 file changed, 128 insertions(+) diff --git a/rnndb/dsi/dsi.xml b/rnndb/dsi

[PATCH 00/10] drm/msm/dsi: Dual DSI and 8x96 PHY/PLL support

2017-01-07 Thread Archit Taneja
(single DSI) on DB820c. Archit Taneja (6): drm/msm/dsi: Don't error if a DSI host doesn't have a device connected drm/msm/dsi: Add 8x96 info in dsi_cfg drm/msm/dsi: Add a PHY op that initializes version specific stuff drm/msm/dsi: Reset both PHYs before clock operation for dual DSI drm

[PATCH 01/10] drm/msm/dsi: Don't error if a DSI host doesn't have a device connected

2017-01-07 Thread Archit Taneja
evice even if it doesn't have a bridge/panel connected to it. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/dsi/dsi_host.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/msm/dsi/dsi_host.c b/drivers/gpu/drm/msm/dsi/dsi_host.c index 3538b7

[PATCH 02/10] drm/msm/dsi: Add 8x96 info in dsi_cfg

2017-01-07 Thread Archit Taneja
-off-by: Archit Taneja --- drivers/gpu/drm/msm/dsi/dsi_cfg.c | 25 + drivers/gpu/drm/msm/dsi/dsi_cfg.h | 1 + 2 files changed, 26 insertions(+) diff --git a/drivers/gpu/drm/msm/dsi/dsi_cfg.c b/drivers/gpu/drm/msm/dsi/dsi_cfg.c index 63436d8..a5d75c9 100644 --- a/drivers

[PATCH 03/10] drm/msm/dsi: Add a PHY op that initializes version specific stuff

2017-01-07 Thread Archit Taneja
Create an init() op for dsi_phy which sets up things specific to a given DSI PHY. The dsi_phy driver probe expects every DSI version to get a "dsi_phy_regulator" mmio base. This isn't the case for 8x96. Creating an init() op will allow us to accommodate such differences. Signed-off-

[PATCH 05/10] drm/msm/dsi: Pass down use case to PHY

2017-01-07 Thread Archit Taneja
From: Hai Li <h...@codeaurora.org> For some new types of DSI PHY, more settings depend on use cases controlled by DSI manager. This change allows DSI manager to setup PHY with a use case. Signed-off-by: Hai Li Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/dsi/dsi.h

[PATCH 04/10] drm/msm/dsi: Return more timings from PHY to host

2017-01-07 Thread Archit Taneja
From: Hai Li <h...@codeaurora.org> The DSI host is required to configure more timings calculated in PHY. By introducing a shared structure, this change allows more timing information passed from PHY to host. Signed-off-by: Hai Li Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/dsi

[PATCH 07/10] drm/msm/dsi: Move PHY operations out of host

2017-01-07 Thread Archit Taneja
Hai Li Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/dsi/dsi.h | 18 ++- drivers/gpu/drm/msm/dsi/dsi_host.c | 46 +++--- drivers/gpu/drm/msm/dsi/dsi_manager.c | 178 ++-- drivers/gpu/drm/msm/dsi/phy/dsi_phy.c

[PATCH 09/10] drm/msm/dsi: Add new method to calculate 14nm PHY timings

2017-01-07 Thread Archit Taneja
From: Hai Li <h...@codeaurora.org> The 14nm DSI PHY on 8x96 (called PHY v2 downstream) requires a different set of calculations for computing D-PHY timing params. Create a timing_calc_v2 func for the newer v2 PHYs. Signed-off-by: Hai Li Signed-off-by: Archit Taneja --- drivers/gpu/drm/m

[PATCH 08/10] drm/msm/dsi: Udpate generated headers for 14nm PHY and PLL

2017-01-07 Thread Archit Taneja
Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/dsi/dsi.xml.h | 252 ++ 1 file changed, 252 insertions(+) diff --git a/drivers/gpu/drm/msm/dsi/dsi.xml.h b/drivers/gpu/drm/msm/dsi/dsi.xml.h index 4958594..234b3b3 100644 --- a/drivers/gpu/drm/msm/dsi

[PATCH 06/10] drm/msm/dsi: Reset both PHYs before clock operation for dual DSI

2017-01-07 Thread Archit Taneja
by Archit Taneja ] Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/dsi/dsi.h | 1 + drivers/gpu/drm/msm/dsi/dsi_host.c| 25 + drivers/gpu/drm/msm/dsi/dsi_manager.c | 32 +--- 3 files changed, 43 insertions(+), 15 deletions

[PATCH 10/10] drm/msm/dsi: Add PHY/PLL for 8x96

2017-01-07 Thread Archit Taneja
-by: Archit Taneja --- drivers/gpu/drm/msm/Kconfig|7 + drivers/gpu/drm/msm/Makefile |2 + drivers/gpu/drm/msm/dsi/dsi.h |8 + drivers/gpu/drm/msm/dsi/phy/dsi_phy.c |2 + drivers/gpu/drm/msm/dsi/phy/dsi_phy.h |2 + drivers/gpu/drm/msm

[PATCH] drm/bridge: analogix dp: Fix runtime PM state on driver bind

2017-01-09 Thread Archit Taneja
On 01/05/2017 01:01 PM, Sean Paul wrote: > On Fri, Dec 30, 2016 at 4:57 AM, Marek Szyprowski > wrote: >> Analogix_dp_bind() can be called from component framework, which doesn't >> guarantee proper runtime PM state of the device during bind operation, >> so ensure that device is runtime active

[PATCH] drm/msm/dsi: Set msm_dsi->encoders before initializing bridge

2017-01-11 Thread Archit Taneja
he encoder's bridge. That's now managed by the bridge API. Cc: Laurent Pinchart <laurent.pinchart+renesas at ideasonboard.com> Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/dsi/dsi.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/msm/ds

[PATCH v5 0/2] drm/bridge: adv7511: Enable regulators

2017-01-11 Thread Archit Taneja
in the binding docs. - Update the driver to manage regulators for both ADV7511 and ADV7533. - Have separate supply entries for AVDD, DVDD, PVDD, A2VDD pins. - Use regulator_bulk_* API to configure regulators. Archit Taneja (2): dt-bindings: drm/bridge: adv7511: Add regulator bindings drm/bridge: adv7511

[PATCH v5 1/2] dt-bindings: drm/bridge: adv7511: Add regulator bindings

2017-01-11 Thread Archit Taneja
Add the regulator supply properties needed by ADV7511 and ADV7533. Acked-by: Laurent Pinchart Acked-by: Rob Herring Signed-off-by: Archit Taneja --- v5: - Bring back supplies for individual pins - In v2, we had a v3p3-supply for DVDD_3V on ADV7511 and V3P3 pin on ADV7533. We don't really

[PATCH v5 2/2] drm/bridge: adv7511: Initialize regulators

2017-01-11 Thread Archit Taneja
Maintain a table of regulator names expected by ADV7511 and ADV7533. Use regulator_bulk_* api to configure these. Initialize and enable the regulators during probe itself. Controlling these dynamically is left for later. Reviewed-by: Laurent Pinchart Signed-off-by: Archit Taneja --- drivers

[PATCH 0/5 v3] adv7511 EDID probing improvements

2017-01-11 Thread Archit Taneja
be appreciated! Tested on DB410c on 4.10-rc3. Works well for me. Thanks, Archit > > thanks > -john > > New in v3: > * Addressed naming improvements and drm_kms_helper_hotplug_event > usage corrections as suggested by Laurent. > > Cc: David Airlie > Cc: Archit Taneja

[PATCH v2 1/8] drm/msm/mdp5: cfg: Add pipe_cursor block

2017-01-16 Thread Archit Taneja
Define the block in advance so that the generated mdp5.xml.h doesn't break build. Signed-off-by: Archit Taneja <arch...@codeaurora.org> --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h b/drivers/gpu/d

[PATCH v2 5/8] drm/msm/mdp5: Misc cursor plane bits

2017-01-16 Thread Archit Taneja
to the maximum stage # present on the HW. - Create drm_crtc_funcs that doesn't try to implement cursors using the older LM cursor HW. - Pass drm_plane_type in mdp5_plane_init instead of a bool telling whether plane is primary or not. Signed-off-by: Archit Taneja <arch...@codeaurora.

[PATCH v2 4/8] drm/msm/mdp5: Configure COLOR3_OUT propagation

2017-01-16 Thread Archit Taneja
. This is borrowed from downstream MDP5 kernel driver. Without this, we don't see any cursor plane content. Signed-off-by: Archit Taneja <arch...@codeaurora.org> --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/drivers/g

[PATCH v2 7/8] drm/msm/mdp5: Refactor mdp5_plane_atomic_check

2017-01-16 Thread Archit Taneja
, but crtc_state would need to be derived differently. Refactor mdp5_plane_atomic_check to mdp5_plane_atomic_check_with_state such that the latter takes crtc_state as an argument. This is similar to what the intel driver has done for async cursor updates. Signed-off-by: Archit Taneja <arch...@codeaurora.

[PATCH v2 8/8] HACK: drm/msm/mdp5: Add support for legacy cursor updates

2017-01-16 Thread Archit Taneja
. This in turn should ensure that the fb is pinned/prepared. Signed-off-by: Archit Taneja <arch...@codeaurora.org> --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c | 7 ++ drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.h | 1 + drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c

[PATCH v2 0/8] drm/msm/mdp5: Cursor plane stuff

2017-01-16 Thread Archit Taneja
fast path patch in the end as suggested by Maarten. - Minor cleanups. Archit Taneja (8): drm/msm/mdp5: cfg: Add pipe_cursor block drm/msm/mdp5: Prepare CRTC/LM for empty stages drm/msm/mdp5: Use plane helpers to configure src/dst rectangles drm/msm/mdp5: Configure COLOR3_OUT propagation dr

[PATCH v2 2/8] drm/msm/mdp5: Prepare CRTC/LM for empty stages

2017-01-16 Thread Archit Taneja
to be staged at the topmost blender of the LM, which can result in empty stages in between 2) In the future, when we support multiple LMs per CRTC. We could have stages which don't have any pipe assigned to them. Signed-off-by: Archit Taneja <arch...@codeaurora.org> --- drivers/gpu/drm/msm/md

[PATCH v2 3/8] drm/msm/mdp5: Use plane helpers to configure src/dst rectangles

2017-01-16 Thread Archit Taneja
stage the plane), we would still see the plane in its last 'visible' configuration. Signed-off-by: Archit Taneja <arch...@codeaurora.org> --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c | 57 --- drivers/gpu/drm/msm/msm_atomic.c | 21 2 fi

[PATCH v2 6/8] drm/msm/mdp5: Add cursor planes

2017-01-16 Thread Archit Taneja
tes flag. Signed-off-by: Archit Taneja <arch...@codeaurora.org> --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c | 33 ++--- drivers/gpu/drm/msm/msm_atomic.c| 5 - 2 files changed, 26 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/msm

[PATCH v2 2/6] drm/msm: Set encoder's mode of operation using a kms func

2017-01-16 Thread Archit Taneja
and set the corresponding mode of operation. Signed-off-by: Archit Taneja <arch...@codeaurora.org> --- drivers/gpu/drm/msm/dsi/dsi.h | 1 + drivers/gpu/drm/msm/dsi/dsi_host.c | 2 ++ drivers/gpu/drm/msm/dsi/dsi_manager.c | 39 ++--- d

[PATCH v2 1/6] drm/msm: Construct only one encoder for DSI

2017-01-16 Thread Archit Taneja
that the encoder is configured only in video mode. Later, the same encoder would be usable in both modes. Signed-off-by: Archit Taneja <arch...@codeaurora.org> --- drivers/gpu/drm/msm/dsi/dsi.c | 14 +- drivers/gpu/drm/msm/dsi/dsi.h | 4 ++-- drivers/gpu/drm/msm/dsi/dsi_man

[PATCH v2 3/6] drm/msm/mdp5: Prepare for merging video and command encoders

2017-01-16 Thread Archit Taneja
Rename the mdp5_encoder_* ops for active displays to mdp5_vid_encoder_* ops. Signed-off-by: Archit Taneja <arch...@codeaurora.org> --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_encoder.c | 31 ++--- drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c | 3 ++- drivers/gpu/drm/m

[PATCH v2 0/6] drm/msm/mdp5: Encoder related cleanups

2017-01-16 Thread Archit Taneja
previously created LM # of CRTCs, which was a bit unnecessary. Changes in v2: - Rebase over bridge API updates going in 4.11 - Fix issues seen when calling kms func's set_encoder_mode for devices where the control/primary device is of the type mipi_dsi_device Archit Taneja (6): drm/msm: Construct

[PATCH v2 4/6] drm/msm/mdp5: Create single encoder per interface (INTF)

2017-01-16 Thread Archit Taneja
. It can use the the kms func op set_encoder_mode to change the mode of operation, which in turn would configure the interface type for the INTF. In mdp5_cmd_encoder.c, we remove the redundant code, and make the commmand mode funcs as helpers that are used in mdp5_encoder.c Signed-off-by: Archit

[PATCH v2 5/6] drm/msm/mdp5: cfg: Change count to unsigned int

2017-01-16 Thread Archit Taneja
Count can't be non-zero. Changing to uint will also prevent future warnings. Signed-off-by: Archit Taneja <arch...@codeaurora.org> --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h b/d

[PATCH v2 6/6] drm/msm/mdp5: Create only as many CRTCs as we need

2017-01-16 Thread Archit Taneja
TCs we have. Signed-off-by: Archit Taneja <arch...@codeaurora.org> --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c | 39 - 1 file changed, 29 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c b/drivers/gpu/drm/msm/mdp/mdp5/m

Re: [PATCH v3 00/20] dw-hdmi: Cleanups, fixes and updates for v4.11

2017-01-17 Thread Archit Taneja
On 01/17/2017 01:58 PM, Laurent Pinchart wrote: Hello, This patch series contains the part of my pending dw-hdmi patches that have been successfully tested on all three supported platforms (i.MX6, RK3288 and R-Car H3) and have been reviewed without any problem being reported. All patches

Re: [PATCH] drm/doc: Fix up some kms function names

2017-02-26 Thread Archit Taneja
On 2/24/2017 7:11 PM, Eric Engestrom wrote: On Wednesday, 2017-02-22 14:17:41 +0530, Archit Taneja wrote: A couple of the kms functions didn't have the correct/newest names. This prevented them to be identified as refs in the html doc. Signed-off-by: Archit Taneja <arch...@codeaurora.

Re: [PATCH V2 3/4] drm/bridge: Drivers for megachips-stdpxxxx-ge-b850v3-fw (LVDS-DP++)

2017-03-01 Thread Archit Taneja
; Cc: Thierry Reding <tred...@nvidia.com> Cc: Thierry Reding <thierry.red...@gmail.com> Cc: Archit Taneja <arch...@codeaurora.org> Cc: Enric Balletbo <enric.balle...@collabora.com> Signed-off-by: Peter Senna Tschudin <peter.se...@collabora.com> --- Changes from

<    1   2   3   4   5   6   7   8   9   10   >