Re: [PATCH v2 5/7] drm/ltdc: Use the panel-bridge helper.

2017-05-31 Thread Archit Taneja
On 05/31/2017 01:37 PM, Boris Brezillon wrote: Hi Archit, Le Wed, 31 May 2017 13:31:16 +0530, Archit Taneja a écrit : Hi Boris, On 05/31/2017 11:56 AM, Boris Brezillon wrote: Hi Philippe, Le Tue, 30 May 2017 16:55:42 +, Philippe CORNU a écrit : Hi Eric, I took your patch for the

Re: [PATCH v2 2/2] dt-bindings: drm/bridge: Document Cadence DSI bridge bindings

2017-06-03 Thread Archit Taneja
Hi, On 06/02/2017 05:34 PM, Boris Brezillon wrote: Document the bindings used for the Cadence DSI bridge. Signed-off-by: Boris Brezillon --- .../bindings/display/bridge/cdns,dsi.txt | 55 ++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devi

Re: [PATCH v2 1/2] drm/bridge: Add Cadence DSI driver

2017-06-03 Thread Archit Taneja
On 6/2/2017 5:34 PM, Boris Brezillon wrote: Add a driver for Cadence DPI -> DSI bridge. Signed-off-by: Boris Brezillon --- Changes in v2: - rebase on v4.12-rc1 and adapt to driver to the drm_bridge API changes - return the correct error when devm_clk_get(sysclk) fails - add missing depends on

Re: [PATCH v5 07/10] drm/bridge/synopsys: dw-hdmi: Use bridge->mode_valid() callback

2017-06-05 Thread Archit Taneja
On 05/30/2017 03:59 PM, Philipp Zabel wrote: Hi Archit, On Tue, 2017-05-30 at 15:54 +0530, Archit Taneja wrote: Hi, On 05/25/2017 07:49 PM, Jose Abreu wrote: Now that we have a callback to check if bridge supports a given mode we can use it in Synopsys Designware HDMI bridge so that we

Re: [PATCH v3] drm/bridge: Refactor out the panel wrapper from the lvds-encoder bridge.

2017-06-05 Thread Archit Taneja
nholt Acked-by: Daniel Vetter (v1) Reviewed-by: Boris Brezillon (v2) Acked-by: Archit Taneja (v2) --- New version of the first patch with build fixes. I've re-pushed to get another round of kbuild test, but if it comes back clean, I'd like to merge this one, the vc4 patches (unchanged

Re: [PATCH v2 7/7] drm/atmel-hlcdc: Replace the panel usage with drm_panel_bridge.

2017-06-05 Thread Archit Taneja
Hi, When pushing to drm-misc-next, I got a minor merge conflict when dim tried to rebuild drm-tip. The reason for the conflict was because the following commit was present in drm-tip but not in drm-misc: https://cgit.freedesktop.org/drm-tip/commit/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.

Re: [PATCH v2 7/7] drm/atmel-hlcdc: Replace the panel usage with drm_panel_bridge.

2017-06-06 Thread Archit Taneja
On 06/06/2017 02:27 PM, Boris Brezillon wrote: Hi Archit, On Mon, 5 Jun 2017 21:06:20 +0530 Archit Taneja wrote: Hi, When pushing to drm-misc-next, I got a minor merge conflict when dim tried to rebuild drm-tip. The reason for the conflict was because the following commit was present in

Re: [PATCH v3] drm/bridge: Build the panel wrapper in drm_kms_helper

2017-06-07 Thread Archit Taneja
On 06/06/2017 11:22 PM, Eric Anholt wrote: Maarten Lankhorst writes: This fixes the following depmod error when building drm as a module: depmod: ERROR: Found 6 modules in dependency cycles! depmod: ERROR: Cycle detected: drm -> drm_kms_helper -> drm Fixes: 13dfc0540a57 ("drm/bridge: Refact

Re: [PATCH] drm/atmel-hlcdc: Fix panel registration

2017-06-07 Thread Archit Taneja
On 06/06/2017 05:04 PM, Boris Brezillon wrote: Attach the panel-bridge created by drm_panel_bridge_add() to the parallel RGB encoder. queued to drm-misc-next Thanks, Archit Fixes: 96160a8071b2 ("drm/atmel-hlcdc: Replace the panel usage with drm_panel_bridge.") Signed-off-by: Boris Brezil

Re: [PATCH v3 2/6] dt-bindings: display: Add Synopsys DW MIPI DSI DRM bridge driver

2017-06-08 Thread Archit Taneja
Hi Philippe, Rob, On 06/08/2017 09:10 PM, Rob Herring wrote: On Fri, Jun 02, 2017 at 04:37:11PM +0200, Philippe CORNU wrote: This patch adds documentation of device tree bindings for the Synopsys DesignWare MIPI DSI host DRM bridge driver. Could you drop "DRM bridge driver" from the subject

Re: [PATCH v3 3/6] drm/bridge/synopsys: Add MIPI DSI host controller bridge

2017-06-08 Thread Archit Taneja
Hi Phillipe, Thanks for the clean ups. Some comments inline. On 06/02/2017 08:07 PM, Philippe CORNU wrote: Add a Synopsys Designware MIPI DSI host DRM bridge driver, based on the Rockchip version from rockchip/dw-mipi-dsi.c with phy & bridge APIs. Signed-off-by: Philippe CORNU --- drivers/g

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

2016-10-24 Thread Archit Taneja
On 10/22/2016 12:13 AM, Russell King - ARM Linux wrote: > On Thu, Oct 20, 2016 at 04:56:44PM +0530, Archit Taneja wrote: >> >> >> 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: >>

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

2016-10-24 Thread Archit Taneja
On 10/21/2016 11:39 PM, Russell King - ARM Linux wrote: > On Thu, Oct 20, 2016 at 04:56:44PM +0530, Archit Taneja wrote: >> 3) Rough conversion to bridge: > > So I thought I might give this a try, and see what's needed to complete > the patch, but... > > I thought w

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

2016-10-24 Thread Archit Taneja
On 10/22/2016 03:25 PM, Russell King - ARM Linux wrote: > On Fri, Oct 21, 2016 at 09:04:39PM +0200, Jean-Francois Moine wrote: >> On Wed, Oct 19, 2016 at 12:19:30PM +0300, Laurent Pinchart wrote: >> (sorry, I lost your original mail) >> DRM bridges indeed don't create encoders. That

[PATCH v2 1/6] drm/msm/mdp5: Use per-plane rotation property

2016-10-24 Thread Archit Taneja
. Thanks, Archit > > v2: Drop the BIT() > > Cc: Rob Clark > Cc: Jilai Wang > Cc: Archit Taneja > Signed-off-by: Ville Syrjälä > Reviewed-by: Rob Clark > --- > drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c | 14 +- > 1 file changed, 5 inserti

[PATCH v2 1/6] drm/msm/mdp5: Use per-plane rotation property

2016-10-24 Thread Archit Taneja
On 10/24/2016 03:45 PM, Ville Syrjälä wrote: > On Mon, Oct 24, 2016 at 03:33:18PM +0530, Archit Taneja wrote: >> Hi Ville, >> >> On 10/22/2016 12:52 AM, ville.syrjala at linux.intel.com wrote: >>> From: Ville Syrjälä >>> >>> The global mod

[PATCH v2 1/6] drm/msm/mdp5: Use per-plane rotation property

2016-10-24 Thread Archit Taneja
On 10/24/2016 03:55 PM, Ville Syrjälä wrote: > On Mon, Oct 24, 2016 at 03:52:09PM +0530, Archit Taneja wrote: >> >> >> On 10/24/2016 03:45 PM, Ville Syrjälä wrote: >>> On Mon, Oct 24, 2016 at 03:33:18PM +0530, Archit Taneja wrote: >>>>

[PATCH 3/3] drm/bridge: Add ITE IT6251 bridge driver

2016-10-25 Thread Archit Taneja
Hi, On 10/17/2016 10:03 PM, Marek Vasut wrote: > Add driver for the ITE IT6251 LVDS-to-eDP bridge. > > Signed-off-by: Marek Vasut > Cc: Daniel Vetter > Cc: Sean Cross > --- > drivers/gpu/drm/bridge/Kconfig | 9 + > drivers/gpu/drm/bridge/Makefile | 1 + > drivers/gpu/drm/bridge/it

[PATCH 0/2] drm/msm: Fixes for issues seen on DB410c

2016-10-25 Thread Archit Taneja
clocks enabled. The other reason is a deadlock caused by calling drm_hpd_helper_irq_event in a context that might already hold drm_device's mode_config.mutex. Archit Taneja (2): drm/msm/dsi: Queue HPD helper work in attach/detach callbacks drm/msm: Don't provide 'is_enabl

[PATCH 1/2] drm/msm/dsi: Queue HPD helper work in attach/detach callbacks

2016-10-25 Thread Archit Taneja
work instead. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/dsi/dsi_host.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm/dsi/dsi_host.c b/drivers/gpu/drm/msm/dsi/dsi_host.c index f05ed0e..6f24002 100644 --- a/drivers/gpu/drm/ms

[PATCH 2/2] drm/msm: Don't provide 'is_enabled' PLL clk_ops

2016-10-25 Thread Archit Taneja
terface clocks/power domains beforehand. We remove the is_enabled clk_ops from the PLL clocks for now since they aren't mandatory. This needs to be revisited, since bootloaders can enable display, the enable count maintained by clock framework wouldn't work in such cases. Cc: Stephen Boyd

[PATCH v2 1/8] drm/bridge: rgb-to-vga: Support an enable GPIO

2016-10-25 Thread Archit Taneja
Hi, On 10/20/2016 09:13 AM, Chen-Yu Tsai wrote: > Some rgb-to-vga bridges have an enable GPIO, either directly tied to > an enable pin on the bridge IC, or indirectly controlling a power > switch. > > Add support for it. Does the bridge on your platform have an active/passive DAC, or is it a smar

[PATCH v2 8/8] ARM: dts: sun6i: hummingbird-a31: Enable display output through VGA bridge

2016-10-25 Thread Archit Taneja
On 10/20/2016 09:13 AM, Chen-Yu Tsai wrote: > The Hummingbird A31 board has a RGB-to-VGA bridge which converts RGB > output from the LCD interface to VGA signals. > > Enable this part of the display pipeline. I couldn't find the enable-gpios binding for the bridge that you introduced in the prev

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

2016-10-26 Thread Archit Taneja
Hi Andrzej, On 10/10/2016 01:09 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 > f

[PATCH 2/2] drm/msm: Don't provide 'is_enabled' PLL clk_ops

2016-10-26 Thread Archit Taneja
On 10/26/2016 01:58 AM, Stephen Boyd wrote: > On 10/25, Archit Taneja wrote: >> The DSI/HDMI PLLs in MSM require resources like interface clocks, power >> domains to be enabled before we can access their registers. >> >> The clock framework doesn't have a mech

[PATCH v4 1/3] video: add header file for Mobile High-Definition Link (MHL) interface

2016-10-26 Thread Archit Taneja
On 10/07/2016 12:32 PM, Andrzej Hajda wrote: > This header adds definitions specific to MHL protocol. queued to drm-misc. Thanks, Archit -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

[PATCH v4 2/3] dt-bindings: add Silicon Image SiI8620 bridge bindings

2016-10-26 Thread Archit Taneja
On 10/07/2016 12:32 PM, Andrzej Hajda wrote: > SiI8620 transmitter converts eTMDS/HDMI signal to MHL 3.0. It is controlled > via I2C bus. queued to drm-misc. Thanks, Archit > > Signed-off-by: Andrzej Hajda > Acked-by: Rob Herring > --- > .../bindings/video/bridge/sil-sii8620.txt |

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

2016-10-26 Thread Archit Taneja
On 10/10/2016 01:09 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 > filtering-ou

[PATCH v2 2/2] drm/msm: Set CLK_IGNORE_UNUSED flag for PLL clocks

2016-10-27 Thread Archit Taneja
terface clocks/power domains beforehand. We set the CLK_IGNORE_UNUSED flag for PLL clocks for now. This needs to be revisited, since bootloaders can enable display, and we would want to disable the PLL clocks if there isn't a display driver using them. Cc: Stephen Boyd Signed-off-by: Archit Taneja

[PATCH v2 1/8] drm/bridge: rgb-to-vga: Support an enable GPIO

2016-10-27 Thread Archit Taneja
On 10/25/2016 02:29 PM, Chen-Yu Tsai wrote: > On Tue, Oct 25, 2016 at 4:09 PM, Archit Taneja > wrote: >> Hi, >> >> On 10/20/2016 09:13 AM, Chen-Yu Tsai wrote: >>> >>> Some rgb-to-vga bridges have an enable GPIO, either directly tied to >>

[PATCH 2/3] drm/bridge: adv7533: Initialize regulators

2016-09-01 Thread Archit Taneja
On 09/01/2016 02:00 AM, Laurent Pinchart wrote: > Hi Archit, > > On Wednesday 31 Aug 2016 22:24:30 Archit Taneja wrote: >> On 8/31/2016 9:23 PM, Laurent Pinchart wrote: >>> On Wednesday 31 Aug 2016 16:22:09 Archit Taneja wrote: >>>> ADV7533 requires supply

[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
;t a panel node 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,

[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.or

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

2016-09-01 Thread Archit Taneja
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
g Cc: 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..3d

[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 fi

[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 ++ > dr

[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 > exp

[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 > Cc: Srinivas Kandagatla > C

[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 fi

[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 an

[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: Arc

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

2016-09-12 Thread Archit Taneja
ne.c:84: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 wit

[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" as

[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
;t a panel node 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 +++

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

2016-09-13 Thread Archit Taneja
#x27;s okay 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/h

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

2016-09-13 Thread Archit Taneja
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
g Cc: 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..3d

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

2016-09-14 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
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
: 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: W

[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 > filtering-o

[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, Augu

[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 to

[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 S

[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 > f

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

2017-01-02 Thread Archit Taneja
ldoc tends to be long). > > 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

[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
ng the DSI device 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

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

2017-01-07 Thread Archit Taneja
rnings. Signed-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 10064

[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

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

2017-01-07 Thread Archit Taneja
From: Hai Li 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 | 8 +++ drivers/gpu/drm/msm

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

2017-01-07 Thread Archit Taneja
From: Hai Li 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/dsi.h | 13

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

2017-01-07 Thread Archit Taneja
From: Hai Li Since DSI PHY has been a separate platform device, it should not depend on the resources in host to be functional. This change is to trigger PHY operations in manager, instead of host, so that host and PHY can be completely separated. Signed-off-by: Hai Li Signed-off-by: Archit

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

2017-01-07 Thread Archit Taneja
From: Hai Li 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/msm/dsi/phy/dsi_phy.c | 117

[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
up 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 dele

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

2017-01-07 Thread Archit Taneja
ephen Boyd Signed-off-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 |

[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 b

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

2017-01-11 Thread Archit Taneja
set the encoder's bridge. That's now managed by the bridge API. Cc: Laurent Pinchart 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/dsi/dsi.c b/drivers/gpu/drm/msm/dsi/d

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

2017-01-11 Thread Archit Taneja
n 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: ad

[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 r

[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
would 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: Arc

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

2017-01-16 Thread Archit Taneja
e the DSI mode flags and set the corresponding mode of operation. Signed-off-by: Archit Taneja --- 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 ++--- drivers/

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

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

[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 --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_encoder.c | 31 ++--- drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c | 3 ++- drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.h | 4

[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: Cons

[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 --- 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/drivers/gpu/drm/msm/mdp

[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 --- 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/mdp5_kms.c index 9794cad13

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

2017-01-16 Thread Archit Taneja
rface type. 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-

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

2017-01-16 Thread Archit Taneja
d the 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

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

2017-01-16 Thread Archit Taneja
has 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 --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c | 2

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

2017-01-16 Thread Archit Taneja
#x27;t an update on the crtc (which would de-stage the plane), we would still see the plane in its last 'visible' configuration. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c | 57 --- drivers/gpu/drm/msm/msm_atomic.c

[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 --- 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/drm/msm/mdp/mdp5/mdp5_cfg.h

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

2017-01-16 Thread Archit Taneja
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 --- drivers/gpu/drm/msm/mdp

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