[PATCH v2 3/5] dt/bindings: qcom_nandc: Add DT bindings

2015-07-21 Thread Archit Taneja
Add DT bindings document for the Qualcomm NAND controller driver. Cc: devicet...@vger.kernel.org Signed-off-by: Archit Taneja --- .../devicetree/bindings/mtd/qcom_nandc.txt | 48 ++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree

[PATCH v2 0/5] mtd: Qualcomm NAND controller driver

2015-07-21 Thread Archit Taneja
5/1/16/317 v2: - Added a new BBT flag that allows us to read BBM in raw mode - reduce memcpy-s in the driver - some refactor and clean ups because of above changes Archit Taneja (5): mtd: nand: Create a BBT flag to access bad block markers in raw mode mtd: nand: Qualcomm NAND controller drive

[PATCH v2 3/5] dt/bindings: qcom_nandc: Add DT bindings

2015-07-21 Thread Archit Taneja
Add DT bindings document for the Qualcomm NAND controller driver. Cc: devicet...@vger.kernel.org Signed-off-by: Archit Taneja arch...@codeaurora.org --- .../devicetree/bindings/mtd/qcom_nandc.txt | 48 ++ 1 file changed, 48 insertions(+) create mode 100644

[PATCH v2 0/5] mtd: Qualcomm NAND controller driver

2015-07-21 Thread Archit Taneja
/317 v2: - Added a new BBT flag that allows us to read BBM in raw mode - reduce memcpy-s in the driver - some refactor and clean ups because of above changes Archit Taneja (5): mtd: nand: Create a BBT flag to access bad block markers in raw mode mtd: nand: Qualcomm NAND controller driver dt

[PATCH v2 2/5] mtd: nand: Qualcomm NAND controller driver

2015-07-21 Thread Archit Taneja
NAND_BBT_ACCESS_BBM_RAW to read the factory provided bad block markers. Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/mtd/nand/Kconfig |7 + drivers/mtd/nand/Makefile |1 + drivers/mtd/nand/qcom_nandc.c | 2019 + 3 files changed

[PATCH v2 4/5] arm: qcom: dts: Add NAND controller node for ipq806x

2015-07-21 Thread Archit Taneja
The nand controller in IPQ806x is of the 'EBI2 type'. Use the corresponding compatible string. Cc: devicet...@vger.kernel.org Signed-off-by: Archit Taneja arch...@codeaurora.org --- arch/arm/boot/dts/qcom-ipq8064.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm

[PATCH v2 5/5] arm: qcom: dts: Enale NAND node on IPQ8064 AP148 platform

2015-07-21 Thread Archit Taneja
Enable the NAND controller node on the AP148 platform. Provide pinmux information. Cc: devicet...@vger.kernel.org Signed-off-by: Archit Taneja arch...@codeaurora.org --- arch/arm/boot/dts/qcom-ipq8064-ap148.dts | 36 1 file changed, 36 insertions(+) diff --git

[PATCH v2 1/5] mtd: nand: Create a BBT flag to access bad block markers in raw mode

2015-07-21 Thread Archit Taneja
. This results in the nand driver's ecc-read_oob() op to be called, which works with ECC enabled. Create a new BBT option flag that tells nand_bbt to force the mode to MTD_OPS_RAW. This would result in the correct op being called for the underlying nand controller driver. Signed-off-by: Archit Taneja

Re: linux-next: build failure after merge of the drm-misc tree

2015-07-13 Thread Archit Taneja
Hi, On 07/14/2015 08:22 AM, Stephen Rothwell wrote: Hi all, After merging the drm-misc tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/gpu/drm/virtio/virtgpu_drm_bus.c: In function 'virtio_pci_kick_out_firmware_fb':

Re: linux-next: build failure after merge of the drm-misc tree

2015-07-13 Thread Archit Taneja
Hi, On 07/14/2015 08:22 AM, Stephen Rothwell wrote: Hi all, After merging the drm-misc tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/gpu/drm/virtio/virtgpu_drm_bus.c: In function 'virtio_pci_kick_out_firmware_fb':

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-06-30 Thread Archit Taneja
compilation flag and module param ? I guess this won't be hard to do once we have a common fbdev emulation config option. We could consider this as a drm top level module param. I'll keep this in mind. Thanks, Archit Benjamin 2015-06-30 9:56 GMT+02:00 Archit Taneja : Hi, On 06/30/2015

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-06-30 Thread Archit Taneja
have something in a week or so. I agree it will help a lot (there are already two new drivers since we started discussing this!) Archit -Daniel On Wed, Mar 25, 2015 at 10:21 AM, Daniel Vetter wrote: On Wed, Mar 25, 2015 at 01:47:54PM +0530, Archit Taneja wrote: Hi, On 03/13/2015 02:36 PM

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-06-30 Thread Archit Taneja
compilation flag and module param ? I guess this won't be hard to do once we have a common fbdev emulation config option. We could consider this as a drm top level module param. I'll keep this in mind. Thanks, Archit Benjamin 2015-06-30 9:56 GMT+02:00 Archit Taneja arch...@codeaurora.org

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-06-30 Thread Archit Taneja
have something in a week or so. I agree it will help a lot (there are already two new drivers since we started discussing this!) Archit -Daniel On Wed, Mar 25, 2015 at 10:21 AM, Daniel Vetter dan...@ffwll.ch wrote: On Wed, Mar 25, 2015 at 01:47:54PM +0530, Archit Taneja wrote: Hi, On 03/13

[RFC 2/2] drm/dsi: Get DSI host by DT device node

2015-06-29 Thread Archit Taneja
of all the hosts DSI that are currently registered. This list will be used to find the mipi_dsi_host corresponding to the device_node passed in of_find_mipi_dsi_host_by_node. Signed-off-by: Archit Taneja --- drivers/gpu/drm/drm_mipi_dsi.c | 30 ++ include/drm

[RFC 1/2] drm/dsi: Create dummy DSI devices

2015-06-29 Thread Archit Taneja
device. The driver calling this needs to be aware of the mipi_dsi_host it wants to attach to, and also the DSI virtual channel the DSI device intends to use. Signed-off-by: Archit Taneja --- drivers/gpu/drm/drm_mipi_dsi.c | 78 -- include/drm/drm_mipi_dsi.h

[RFC 0/2] drm/dsi: DSI for devices with different control bus

2015-06-29 Thread Archit Taneja
are passed on to the host via mipi_dsi_attach(). This method will require the device driver to get a phandle to the DSI host since there is no parent-child relation between the two. Is there a better way to do this? Please let me know! Archit Taneja (2): drm/dsi: Create dummy DSI devices drm

[RFC 1/2] drm/dsi: Create dummy DSI devices

2015-06-29 Thread Archit Taneja
device. The driver calling this needs to be aware of the mipi_dsi_host it wants to attach to, and also the DSI virtual channel the DSI device intends to use. Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/drm_mipi_dsi.c | 78

[RFC 2/2] drm/dsi: Get DSI host by DT device node

2015-06-29 Thread Archit Taneja
of all the hosts DSI that are currently registered. This list will be used to find the mipi_dsi_host corresponding to the device_node passed in of_find_mipi_dsi_host_by_node. Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/drm_mipi_dsi.c | 30

[RFC 0/2] drm/dsi: DSI for devices with different control bus

2015-06-29 Thread Archit Taneja
are passed on to the host via mipi_dsi_attach(). This method will require the device driver to get a phandle to the DSI host since there is no parent-child relation between the two. Is there a better way to do this? Please let me know! Archit Taneja (2): drm/dsi: Create dummy DSI devices drm

Re: [PATCH] clk: qcom: Use parent rate when set rate to pixel RCG clock

2015-06-26 Thread Archit Taneja
On 06/26/2015 04:05 AM, Hai Li wrote: Since the parent rate has been recalculated, pixel RCG clock should rely on it to find the correct M/N values during set_rate, instead of calling __clk_round_rate() to its parent again. Tested-by: Archit Taneja Signed-off-by: Hai Li --- drivers

Re: [PATCH] clk: qcom: Use parent rate when set rate to pixel RCG clock

2015-06-26 Thread Archit Taneja
On 06/26/2015 04:05 AM, Hai Li wrote: Since the parent rate has been recalculated, pixel RCG clock should rely on it to find the correct M/N values during set_rate, instead of calling __clk_round_rate() to its parent again. Tested-by: Archit Taneja arch...@codeaurora.org Signed-off

Re: [PATCH 1/3] drm/msm: dsi host: add missing of_node_put()

2015-06-22 Thread Archit Taneja
On 06/22/2015 09:30 PM, Srinivas Kandagatla wrote: On 22/06/15 15:54, Archit Taneja wrote: Decrement device node refcount if of_get_child_by_name is successfully called. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/dsi/dsi_host.c | 2 ++ 1 file changed, 2 insertions(+) diff

[PATCH 2/3] drm/msm: dsi host: Use device graph parsing to parse connected panel

2015-06-22 Thread Archit Taneja
. Signed-off-by: Archit Taneja --- Documentation/devicetree/bindings/drm/msm/dsi.txt | 15 ++ drivers/gpu/drm/msm/dsi/dsi_host.c| 64 +-- 2 files changed, 63 insertions(+), 16 deletions(-) diff --git a/Documentation/devicetree/bindings/drm/msm/dsi.txt b

[PATCH 3/3] drm/msm: mdp4 lvds: get panel node via of graph parsing

2015-06-22 Thread Archit Taneja
We currently get the output connected to LVDS by looking for a phandle called 'qcom,lvds-panel' under the mdp DT node. Use the more standard of_graph approach to create an lvds output port, and retrieve the panel node from the port's endpoint data. Signed-off-by: Archit Taneja --- drivers/gpu

[PATCH 1/3] drm/msm: dsi host: add missing of_node_put()

2015-06-22 Thread Archit Taneja
Decrement device node refcount if of_get_child_by_name is successfully called. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/dsi/dsi_host.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/msm/dsi/dsi_host.c b/drivers/gpu/drm/msm/dsi/dsi_host.c index de04009

[PATCH 0/3] drm/msm: Use device graph to parse connected panels

2015-06-22 Thread Archit Taneja
. The usage of device graphs should also simplify management in dual dsi mode. I haven't tried this out yet, though. Archit Taneja (3): drm/msm: dsi host: add missing of_node_put() drm/msm: dsi host: Use device graph parsing to parse connected panel drm/msm: mdp4 lvds: get panel node via

Re: [PATCH] drm/msm/mdp5: release SMB(shared memory blocks) in various cases

2015-06-22 Thread Archit Taneja
-by: Archit Taneja Signed-off-by: Wentao Xu --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c | 13 + drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.h | 2 + drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c | 33 +--- drivers/gpu/drm/msm/mdp/mdp5/mdp5_smp.c | 87

[PATCH 0/3] drm/msm: Use device graph to parse connected panels

2015-06-22 Thread Archit Taneja
. The usage of device graphs should also simplify management in dual dsi mode. I haven't tried this out yet, though. Archit Taneja (3): drm/msm: dsi host: add missing of_node_put() drm/msm: dsi host: Use device graph parsing to parse connected panel drm/msm: mdp4 lvds: get panel node via

[PATCH 3/3] drm/msm: mdp4 lvds: get panel node via of graph parsing

2015-06-22 Thread Archit Taneja
We currently get the output connected to LVDS by looking for a phandle called 'qcom,lvds-panel' under the mdp DT node. Use the more standard of_graph approach to create an lvds output port, and retrieve the panel node from the port's endpoint data. Signed-off-by: Archit Taneja arch

[PATCH 2/3] drm/msm: dsi host: Use device graph parsing to parse connected panel

2015-06-22 Thread Archit Taneja
. Signed-off-by: Archit Taneja arch...@codeaurora.org --- Documentation/devicetree/bindings/drm/msm/dsi.txt | 15 ++ drivers/gpu/drm/msm/dsi/dsi_host.c| 64 +-- 2 files changed, 63 insertions(+), 16 deletions(-) diff --git a/Documentation/devicetree/bindings/drm

[PATCH 1/3] drm/msm: dsi host: add missing of_node_put()

2015-06-22 Thread Archit Taneja
Decrement device node refcount if of_get_child_by_name is successfully called. Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/msm/dsi/dsi_host.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/msm/dsi/dsi_host.c b/drivers/gpu/drm/msm/dsi/dsi_host.c

Re: [PATCH] drm/msm/mdp5: release SMB(shared memory blocks) in various cases

2015-06-22 Thread Archit Taneja
-by: Archit Taneja arch...@codeaurora.org Signed-off-by: Wentao Xu went...@codeaurora.org --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c | 13 + drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.h | 2 + drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c | 33 +--- drivers/gpu/drm/msm/mdp/mdp5/mdp5_smp.c

Re: [PATCH 1/3] drm/msm: dsi host: add missing of_node_put()

2015-06-22 Thread Archit Taneja
On 06/22/2015 09:30 PM, Srinivas Kandagatla wrote: On 22/06/15 15:54, Archit Taneja wrote: Decrement device node refcount if of_get_child_by_name is successfully called. Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/msm/dsi/dsi_host.c | 2 ++ 1 file changed, 2

Re: [PATCH] drm/msm/mdp5: Always generate active-high sync signals for DSI

2015-05-24 Thread Archit Taneja
On 05/22/2015 07:46 PM, Hai Li wrote: DSI video mode engine can only take active-high sync signals. This change prevents MDP5 sending active-low sync signals to DSI in any case. Signed-off-by: Hai Li Tested-by: Archit Taneja --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_encoder.c | 12

Re: [PATCH] drm/msm/mdp5: Always generate active-high sync signals for DSI

2015-05-24 Thread Archit Taneja
On 05/22/2015 07:46 PM, Hai Li wrote: DSI video mode engine can only take active-high sync signals. This change prevents MDP5 sending active-low sync signals to DSI in any case. Signed-off-by: Hai Li h...@codeaurora.org Tested-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm

Re: [Patch v6 2/2] dmaengine: Add ADM driver

2015-05-21 Thread Archit Taneja
Hi, On 03/17/2015 11:16 AM, Andy Gross wrote: Add the DMA engine driver for the QCOM Application Data Mover (ADM) DMA controller found in the MSM8x60 and IPQ/APQ8064 platforms. The ADM supports both memory to memory transactions and memory to/from peripheral device transactions. The

Re: [Patch v6 2/2] dmaengine: Add ADM driver

2015-05-21 Thread Archit Taneja
Hi, On 03/17/2015 11:16 AM, Andy Gross wrote: Add the DMA engine driver for the QCOM Application Data Mover (ADM) DMA controller found in the MSM8x60 and IPQ/APQ8064 platforms. The ADM supports both memory to memory transactions and memory to/from peripheral device transactions. The

Re: [PATCH] drm/msm: Fix compil issue when DRM_MSM_FBDEV is disabled

2015-05-07 Thread Archit Taneja
Hi, On 05/06/2015 07:58 PM, Rob Clark wrote: On Wed, May 6, 2015 at 9:25 AM, Stephane Viau wrote: When CONFIG_DRM_MSM_FBDEV is not defined, CONFIG_DRM_KMS_FB_HELPER does not get selected and drm_fb_helper_*() helper functions are thus not available. This change fixes these link issues.

Re: [PATCH] drm/msm: Fix compil issue when DRM_MSM_FBDEV is disabled

2015-05-07 Thread Archit Taneja
Hi, On 05/06/2015 07:58 PM, Rob Clark wrote: On Wed, May 6, 2015 at 9:25 AM, Stephane Viau sv...@codeaurora.org wrote: When CONFIG_DRM_MSM_FBDEV is not defined, CONFIG_DRM_KMS_FB_HELPER does not get selected and drm_fb_helper_*() helper functions are thus not available. This change fixes

Re: [PATCH RFC v9 11/20] drm/bridge: Add Synopsys DesignWare MIPI DSI host controller driver

2015-04-15 Thread Archit Taneja
On 04/09/2015 02:13 PM, Thierry Reding wrote: On Thu, Feb 12, 2015 at 02:01:34PM +0800, Liu Ying wrote: [...] diff --git a/drivers/gpu/drm/bridge/dw_mipi_dsi.c b/drivers/gpu/drm/bridge/dw_mipi_dsi.c [...] +struct dw_mipi_dsi { + struct mipi_dsi_host dsi_host; + struct

Re: [PATCH RFC v9 11/20] drm/bridge: Add Synopsys DesignWare MIPI DSI host controller driver

2015-04-15 Thread Archit Taneja
On 04/09/2015 02:13 PM, Thierry Reding wrote: On Thu, Feb 12, 2015 at 02:01:34PM +0800, Liu Ying wrote: [...] diff --git a/drivers/gpu/drm/bridge/dw_mipi_dsi.c b/drivers/gpu/drm/bridge/dw_mipi_dsi.c [...] +struct dw_mipi_dsi { + struct mipi_dsi_host dsi_host; + struct

[PATCH v2] clk: qcom: Add EBI2 clocks for IPQ806x

2015-04-01 Thread Archit Taneja
The NAND controller within EBI2 requires EBI2_CLK and EBI2_ALWAYS_ON_CLK clocks. Create structs for these clocks so that they can be used by the NAND controller driver. Add an entry for EBI2_AON_CLK in the gcc-ipq806x DT binding document. Signed-off-by: Archit Taneja --- v2: - removed hwcg_reg

[PATCH v2] clk: qcom: Add EBI2 clocks for IPQ806x

2015-04-01 Thread Archit Taneja
The NAND controller within EBI2 requires EBI2_CLK and EBI2_ALWAYS_ON_CLK clocks. Create structs for these clocks so that they can be used by the NAND controller driver. Add an entry for EBI2_AON_CLK in the gcc-ipq806x DT binding document. Signed-off-by: Archit Taneja arch...@codeaurora.org --- v2

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-25 Thread Archit Taneja
Hi, On 03/13/2015 02:36 PM, Daniel Vetter wrote: On Fri, Mar 13, 2015 at 11:55:07AM +0530, Archit Taneja wrote: On 03/11/2015 08:47 PM, Daniel Vetter wrote: On Wed, Mar 11, 2015 at 01:51:02PM +0530, Archit Taneja wrote: On 03/10/2015 05:47 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-25 Thread Archit Taneja
Hi, On 03/13/2015 02:36 PM, Daniel Vetter wrote: On Fri, Mar 13, 2015 at 11:55:07AM +0530, Archit Taneja wrote: On 03/11/2015 08:47 PM, Daniel Vetter wrote: On Wed, Mar 11, 2015 at 01:51:02PM +0530, Archit Taneja wrote: On 03/10/2015 05:47 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015

Re: [PATCH v3 3/4] drm/msm/mdp5: Add START signal to kick off certain pipelines

2015-03-23 Thread Archit Taneja
On 03/24/2015 03:40 AM, "Stéphane Viau" wrote: Hi Archit, Hi Stephane, On 03/14/2015 01:19 AM, Stephane Viau wrote: Some interfaces (WB, DSI Command Mode) need to be kicked off through a START Signal. This signal needs to be sent at the right time and requests in some cases to keep track

Re: [PATCH 3/4] drm/msm: Initial add DSI connector support

2015-03-23 Thread Archit Taneja
Hi Hai, On 03/19/2015 02:35 AM, h...@codeaurora.org wrote: Hi Archit, Thanks for your comments. Please see my response for some comments below. Comments without response will be addressed in patch version 2. I will wait for other comments if any to push patch V2. +static int

Re: [PATCH v3 3/4] drm/msm/mdp5: Add START signal to kick off certain pipelines

2015-03-23 Thread Archit Taneja
Hi Stephane, On 03/14/2015 01:19 AM, Stephane Viau wrote: Some interfaces (WB, DSI Command Mode) need to be kicked off through a START Signal. This signal needs to be sent at the right time and requests in some cases to keep track of the pipeline status (eg: whether pipeline registers are

Re: [PATCH v3 3/4] drm/msm/mdp5: Add START signal to kick off certain pipelines

2015-03-23 Thread Archit Taneja
Hi Stephane, On 03/14/2015 01:19 AM, Stephane Viau wrote: Some interfaces (WB, DSI Command Mode) need to be kicked off through a START Signal. This signal needs to be sent at the right time and requests in some cases to keep track of the pipeline status (eg: whether pipeline registers are

Re: [PATCH 3/4] drm/msm: Initial add DSI connector support

2015-03-23 Thread Archit Taneja
Hi Hai, On 03/19/2015 02:35 AM, h...@codeaurora.org wrote: Hi Archit, Thanks for your comments. Please see my response for some comments below. Comments without response will be addressed in patch version 2. I will wait for other comments if any to push patch V2. +static int

Re: [PATCH v3 3/4] drm/msm/mdp5: Add START signal to kick off certain pipelines

2015-03-23 Thread Archit Taneja
On 03/24/2015 03:40 AM, Stéphane Viau wrote: Hi Archit, Hi Stephane, On 03/14/2015 01:19 AM, Stephane Viau wrote: Some interfaces (WB, DSI Command Mode) need to be kicked off through a START Signal. This signal needs to be sent at the right time and requests in some cases to keep track of

Re: [PATCH] clk: qcom: fix RCG M/N counter configuration

2015-03-20 Thread Archit Taneja
On 03/20/2015 10:58 AM, Stephen Boyd wrote: On 03/04, Archit Taneja wrote: Currently, a RCG's M/N counter (used for fraction division) is set to either 'bypass' (counter disabled) or 'dual edge' (counter enabled) based on whether the corresponding rcg struct has a mnd field specified

Re: [PATCH] clk: qcom: fix RCG M/N counter configuration

2015-03-20 Thread Archit Taneja
On 03/20/2015 10:58 AM, Stephen Boyd wrote: On 03/04, Archit Taneja wrote: Currently, a RCG's M/N counter (used for fraction division) is set to either 'bypass' (counter disabled) or 'dual edge' (counter enabled) based on whether the corresponding rcg struct has a mnd field specified

Re: [PATCH 3/4] drm/msm: Initial add DSI connector support

2015-03-18 Thread Archit Taneja
Hi, On 03/14/2015 04:54 AM, Hai Li wrote: This change adds the DSI connector support in msm drm driver. Signed-off-by: Hai Li --- drivers/gpu/drm/msm/Kconfig | 11 + drivers/gpu/drm/msm/Makefile |4 + drivers/gpu/drm/msm/dsi/dsi.c | 203

Re: [PATCH 3/4] drm/msm: Initial add DSI connector support

2015-03-18 Thread Archit Taneja
Hi, On 03/14/2015 04:54 AM, Hai Li wrote: This change adds the DSI connector support in msm drm driver. Signed-off-by: Hai Li h...@codeaurora.org --- drivers/gpu/drm/msm/Kconfig | 11 + drivers/gpu/drm/msm/Makefile |4 + drivers/gpu/drm/msm/dsi/dsi.c | 203

Re: [PATCH 5/5] drm/msm/mdp5: Add hardware configuration for msm8x16

2015-03-15 Thread Archit Taneja
On 03/14/2015 01:15 AM, "Stéphane Viau" wrote: Hi, Hi, On 03/09/2015 06:41 PM, Stephane Viau wrote: This change adds the hw configuration for msm8x16 chipsets in mdp5_cfg module. Note that only one external display interface is present in this configuration (DSI) but has not been enabled

Re: [PATCH 5/5] drm/msm/mdp5: Add hardware configuration for msm8x16

2015-03-15 Thread Archit Taneja
On 03/14/2015 01:15 AM, Stéphane Viau wrote: Hi, Hi, On 03/09/2015 06:41 PM, Stephane Viau wrote: This change adds the hw configuration for msm8x16 chipsets in mdp5_cfg module. Note that only one external display interface is present in this configuration (DSI) but has not been enabled

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-13 Thread Archit Taneja
On 03/13/2015 02:36 PM, Daniel Vetter wrote: On Fri, Mar 13, 2015 at 11:55:07AM +0530, Archit Taneja wrote: On 03/11/2015 08:47 PM, Daniel Vetter wrote: On Wed, Mar 11, 2015 at 01:51:02PM +0530, Archit Taneja wrote: On 03/10/2015 05:47 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-13 Thread Archit Taneja
On 03/11/2015 08:47 PM, Daniel Vetter wrote: On Wed, Mar 11, 2015 at 01:51:02PM +0530, Archit Taneja wrote: On 03/10/2015 05:47 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:52:41PM +0530, Archit Taneja wrote: On 03/10/2015 03:35 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-13 Thread Archit Taneja
On 03/11/2015 08:47 PM, Daniel Vetter wrote: On Wed, Mar 11, 2015 at 01:51:02PM +0530, Archit Taneja wrote: On 03/10/2015 05:47 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:52:41PM +0530, Archit Taneja wrote: On 03/10/2015 03:35 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-13 Thread Archit Taneja
On 03/13/2015 02:36 PM, Daniel Vetter wrote: On Fri, Mar 13, 2015 at 11:55:07AM +0530, Archit Taneja wrote: On 03/11/2015 08:47 PM, Daniel Vetter wrote: On Wed, Mar 11, 2015 at 01:51:02PM +0530, Archit Taneja wrote: On 03/10/2015 05:47 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015

Re: [PATCH 5/5] drm/msm/mdp5: Add hardware configuration for msm8x16

2015-03-12 Thread Archit Taneja
Hi, On 03/09/2015 06:41 PM, Stephane Viau wrote: This change adds the hw configuration for msm8x16 chipsets in mdp5_cfg module. Note that only one external display interface is present in this configuration (DSI) but has not been enabled yet. It will be enabled once drm/msm driver supports DSI

Re: [PATCH 5/5] drm/msm/mdp5: Add hardware configuration for msm8x16

2015-03-12 Thread Archit Taneja
Hi, On 03/09/2015 06:41 PM, Stephane Viau wrote: This change adds the hw configuration for msm8x16 chipsets in mdp5_cfg module. Note that only one external display interface is present in this configuration (DSI) but has not been enabled yet. It will be enabled once drm/msm driver supports DSI

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-11 Thread Archit Taneja
On 03/10/2015 05:47 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:52:41PM +0530, Archit Taneja wrote: On 03/10/2015 03:35 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:22:49PM +0530, Archit Taneja wrote: On 03/10/2015 03:17 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:11

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-11 Thread Archit Taneja
On 03/10/2015 05:47 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:52:41PM +0530, Archit Taneja wrote: On 03/10/2015 03:35 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:22:49PM +0530, Archit Taneja wrote: On 03/10/2015 03:17 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:11

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-10 Thread Archit Taneja
On 03/10/2015 09:03 PM, Jani Nikula wrote: On Tue, 10 Mar 2015, Archit Taneja wrote: On 03/10/2015 03:35 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:22:49PM +0530, Archit Taneja wrote: On 03/10/2015 03:17 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:11:28PM +0530, Archit

Re: [RFC 5/6] drm/imx: Remove local fbdev emulation Kconfig option

2015-03-10 Thread Archit Taneja
On 03/10/2015 04:24 PM, Philipp Zabel wrote: Hi Archit, thanks for the cleanup! Am Dienstag, den 10.03.2015, 15:11 +0530 schrieb Archit Taneja: DRM_IMX_FB_HELPER config is currently used to enable/disable fbdev emulation for the imx kms driver. Remove this local config option and use

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-10 Thread Archit Taneja
On 03/10/2015 03:35 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:22:49PM +0530, Archit Taneja wrote: On 03/10/2015 03:17 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:11:28PM +0530, Archit Taneja wrote: Legacy fbdev emulation support via DRM is achieved through KMS FB helpers

Re: [RFC 3/6] drm/i915: Remove local fbdev emulation Kconfig option

2015-03-10 Thread Archit Taneja
On 03/10/2015 03:31 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:11:30PM +0530, Archit Taneja wrote: DRM_I915_FBDEV config is currently used to enable/disable fbdev emulation for the i915 kms driver. Replace this with the top level DRM_FBDEV_EMULATION config option. Using this config

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-10 Thread Archit Taneja
On 03/10/2015 03:16 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:11:28PM +0530, Archit Taneja wrote: Legacy fbdev emulation support via DRM is achieved through KMS FB helpers. Most modesetting drivers enable provide fbdev emulation by default by selecting KMS FB helpers. A few provide

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-10 Thread Archit Taneja
On 03/10/2015 03:17 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:11:28PM +0530, Archit Taneja wrote: Legacy fbdev emulation support via DRM is achieved through KMS FB helpers. Most modesetting drivers enable provide fbdev emulation by default by selecting KMS FB helpers. A few provide

[RFC 2/6] drm/msm: Remove local fbdev emulation Kconfig option

2015-03-10 Thread Archit Taneja
-off-by: Archit Taneja --- drivers/gpu/drm/msm/Kconfig | 14 -- drivers/gpu/drm/msm/Makefile | 2 +- drivers/gpu/drm/msm/msm_drv.c | 4 ++-- 3 files changed, 3 insertions(+), 17 deletions(-) diff --git a/drivers/gpu/drm/msm/Kconfig b/drivers/gpu/drm/msm/Kconfig index bacbbb7

[RFC 6/6] drm/sti: Remove local fbdev emulation Kconfig option

2015-03-10 Thread Archit Taneja
okay to get remove the #ifdef itself, but just left it here for now to be safe. It can be removed after some testing. Signed-off-by: Archit Taneja --- drivers/gpu/drm/sti/Kconfig | 6 -- drivers/gpu/drm/sti/sti_drm_drv.c | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff

[RFC 4/6] drm/tegra: Remove local fbdev emulation Kconfig option

2015-03-10 Thread Archit Taneja
in tegra_drm struct that adds/removes the terga_fbdev member has been removed completely. This helps in calling stub drm fb helper functions at not much cost. We could clean up fb.c a bit further to reduce the number of #ifdefs, but that's left for later. Signed-off-by: Archit Taneja --- drivers/gpu

[RFC 3/6] drm/i915: Remove local fbdev emulation Kconfig option

2015-03-10 Thread Archit Taneja
in drm_i915_private struct adding/removing members intel_fbdev and fbdev_suspend_work has been removed. This helps us use stub drm helper functions at not much cost. Signed-off-by: Archit Taneja --- drivers/gpu/drm/i915/Kconfig | 15 --- drivers/gpu/drm/i915/Makefile| 4

[RFC 5/6] drm/imx: Remove local fbdev emulation Kconfig option

2015-03-10 Thread Archit Taneja
in certain places. We replace the #ifdef in imx_drm_driver_load with CONFIG_DRM_FBDEV_EMULATION. It's probably okay to get remove the #ifdef itself, but just left it here for now to be safe. It can be removed after some testing. Signed-off-by: Archit Taneja --- drivers/gpu/drm/imx/Kconfig

[RFC 0/6] drm: Add DRM_FBDEV_EMULATION Kconfig option

2015-03-10 Thread Archit Taneja
. The drivers that provide fbdev emulation by default won't be impacted by this. However, if we could make all drivers use DRM_FBDEV_EMULATION, it would clean up individual Kconfigs, and have a centralized place where we touch FB_* configs. Archit Taneja (6): drm: Add top level Kconfig option for DRM fbdev

[RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-10 Thread Archit Taneja
of distributions expect the fbdev interface in the kernel. For now, this config selects both FB_SYS_* and FB_CFB_* configs as some modesetting drivers use the former and other the later. This needs to be taken care of in a better way. Signed-off-by: Archit Taneja --- drivers/gpu/drm/Kconfig | 18

[RFC 4/6] drm/tegra: Remove local fbdev emulation Kconfig option

2015-03-10 Thread Archit Taneja
in tegra_drm struct that adds/removes the terga_fbdev member has been removed completely. This helps in calling stub drm fb helper functions at not much cost. We could clean up fb.c a bit further to reduce the number of #ifdefs, but that's left for later. Signed-off-by: Archit Taneja arch

[RFC 2/6] drm/msm: Remove local fbdev emulation Kconfig option

2015-03-10 Thread Archit Taneja
-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/msm/Kconfig | 14 -- drivers/gpu/drm/msm/Makefile | 2 +- drivers/gpu/drm/msm/msm_drv.c | 4 ++-- 3 files changed, 3 insertions(+), 17 deletions(-) diff --git a/drivers/gpu/drm/msm/Kconfig b/drivers/gpu/drm/msm

[RFC 6/6] drm/sti: Remove local fbdev emulation Kconfig option

2015-03-10 Thread Archit Taneja
okay to get remove the #ifdef itself, but just left it here for now to be safe. It can be removed after some testing. Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/sti/Kconfig | 6 -- drivers/gpu/drm/sti/sti_drm_drv.c | 2 +- 2 files changed, 1 insertion(+), 7

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-10 Thread Archit Taneja
On 03/10/2015 03:17 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:11:28PM +0530, Archit Taneja wrote: Legacy fbdev emulation support via DRM is achieved through KMS FB helpers. Most modesetting drivers enable provide fbdev emulation by default by selecting KMS FB helpers. A few provide

[RFC 3/6] drm/i915: Remove local fbdev emulation Kconfig option

2015-03-10 Thread Archit Taneja
in drm_i915_private struct adding/removing members intel_fbdev and fbdev_suspend_work has been removed. This helps us use stub drm helper functions at not much cost. Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/i915/Kconfig | 15 --- drivers/gpu/drm/i915

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-10 Thread Archit Taneja
On 03/10/2015 03:35 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:22:49PM +0530, Archit Taneja wrote: On 03/10/2015 03:17 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:11:28PM +0530, Archit Taneja wrote: Legacy fbdev emulation support via DRM is achieved through KMS FB helpers

[RFC 0/6] drm: Add DRM_FBDEV_EMULATION Kconfig option

2015-03-10 Thread Archit Taneja
. The drivers that provide fbdev emulation by default won't be impacted by this. However, if we could make all drivers use DRM_FBDEV_EMULATION, it would clean up individual Kconfigs, and have a centralized place where we touch FB_* configs. Archit Taneja (6): drm: Add top level Kconfig option for DRM fbdev

[RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-10 Thread Archit Taneja
of distributions expect the fbdev interface in the kernel. For now, this config selects both FB_SYS_* and FB_CFB_* configs as some modesetting drivers use the former and other the later. This needs to be taken care of in a better way. Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm

[RFC 5/6] drm/imx: Remove local fbdev emulation Kconfig option

2015-03-10 Thread Archit Taneja
in certain places. We replace the #ifdef in imx_drm_driver_load with CONFIG_DRM_FBDEV_EMULATION. It's probably okay to get remove the #ifdef itself, but just left it here for now to be safe. It can be removed after some testing. Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-10 Thread Archit Taneja
On 03/10/2015 03:16 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:11:28PM +0530, Archit Taneja wrote: Legacy fbdev emulation support via DRM is achieved through KMS FB helpers. Most modesetting drivers enable provide fbdev emulation by default by selecting KMS FB helpers. A few provide

Re: [RFC 3/6] drm/i915: Remove local fbdev emulation Kconfig option

2015-03-10 Thread Archit Taneja
On 03/10/2015 03:31 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:11:30PM +0530, Archit Taneja wrote: DRM_I915_FBDEV config is currently used to enable/disable fbdev emulation for the i915 kms driver. Replace this with the top level DRM_FBDEV_EMULATION config option. Using this config

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-10 Thread Archit Taneja
On 03/10/2015 09:03 PM, Jani Nikula wrote: On Tue, 10 Mar 2015, Archit Taneja arch...@codeaurora.org wrote: On 03/10/2015 03:35 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:22:49PM +0530, Archit Taneja wrote: On 03/10/2015 03:17 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03

Re: [RFC 5/6] drm/imx: Remove local fbdev emulation Kconfig option

2015-03-10 Thread Archit Taneja
On 03/10/2015 04:24 PM, Philipp Zabel wrote: Hi Archit, thanks for the cleanup! Am Dienstag, den 10.03.2015, 15:11 +0530 schrieb Archit Taneja: DRM_IMX_FB_HELPER config is currently used to enable/disable fbdev emulation for the imx kms driver. Remove this local config option and use

Re: [PATCH] drm: msm: Fix build when legacy fbdev support isn't set

2015-03-09 Thread Archit Taneja
On 03/09/2015 01:14 PM, Daniel Vetter wrote: On Mon, Mar 09, 2015 at 11:27:06AM +0530, Archit Taneja wrote: On 03/05/2015 09:14 PM, Daniel Vetter wrote: On Thu, Mar 05, 2015 at 07:10:44AM -0500, Rob Clark wrote: On Thu, Mar 5, 2015 at 5:06 AM, Archit Taneja wrote: On 02/23/2015 09:09 PM

Re: [PATCH] drm: msm: Fix build when legacy fbdev support isn't set

2015-03-09 Thread Archit Taneja
On 03/09/2015 01:14 PM, Daniel Vetter wrote: On Mon, Mar 09, 2015 at 11:27:06AM +0530, Archit Taneja wrote: On 03/05/2015 09:14 PM, Daniel Vetter wrote: On Thu, Mar 05, 2015 at 07:10:44AM -0500, Rob Clark wrote: On Thu, Mar 5, 2015 at 5:06 AM, Archit Taneja arch...@codeaurora.org wrote

Re: [PATCH] drm: msm: Fix build when legacy fbdev support isn't set

2015-03-08 Thread Archit Taneja
On 03/05/2015 09:14 PM, Daniel Vetter wrote: On Thu, Mar 05, 2015 at 07:10:44AM -0500, Rob Clark wrote: On Thu, Mar 5, 2015 at 5:06 AM, Archit Taneja wrote: On 02/23/2015 09:09 PM, Daniel Vetter wrote: On Mon, Feb 23, 2015 at 10:03:21AM -0500, Rob Clark wrote: On Mon, Feb 23, 2015 at 9

Re: [PATCH] drm: msm: Fix build when legacy fbdev support isn't set

2015-03-08 Thread Archit Taneja
On 03/05/2015 09:14 PM, Daniel Vetter wrote: On Thu, Mar 05, 2015 at 07:10:44AM -0500, Rob Clark wrote: On Thu, Mar 5, 2015 at 5:06 AM, Archit Taneja arch...@codeaurora.org wrote: On 02/23/2015 09:09 PM, Daniel Vetter wrote: On Mon, Feb 23, 2015 at 10:03:21AM -0500, Rob Clark wrote

Re: [PATCH] drm: msm: Fix build when legacy fbdev support isn't set

2015-03-05 Thread Archit Taneja
On 02/23/2015 09:09 PM, Daniel Vetter wrote: On Mon, Feb 23, 2015 at 10:03:21AM -0500, Rob Clark wrote: On Mon, Feb 23, 2015 at 9:09 AM, Daniel Vetter wrote: On Mon, Feb 23, 2015 at 08:33:36AM -0500, Rob Clark wrote: On Mon, Feb 23, 2015 at 5:29 AM, Archit Taneja wrote

Re: [PATCH] drm: msm: Fix build when legacy fbdev support isn't set

2015-03-05 Thread Archit Taneja
On 02/23/2015 09:09 PM, Daniel Vetter wrote: On Mon, Feb 23, 2015 at 10:03:21AM -0500, Rob Clark wrote: On Mon, Feb 23, 2015 at 9:09 AM, Daniel Vetter dan...@ffwll.ch wrote: On Mon, Feb 23, 2015 at 08:33:36AM -0500, Rob Clark wrote: On Mon, Feb 23, 2015 at 5:29 AM, Archit Taneja arch

Re: [PATCH 4/4] drm/msm/mdp5: Make the intf connection in config module

2015-03-04 Thread Archit Taneja
On 03/04/2015 09:14 PM, "Stéphane Viau" wrote: Hi, Hi Archit, On 03/04/2015 12:06 AM, Stephane Viau wrote: Up until now, we assume that eDP is tight to intf_0 and HDMI to intf_3. This information shall actually come from the mdp5_cfg module since it can change from one chip to another.

Re: [PATCH v2] clk: qcom: Add MSM8916 Global Clock Controller support

2015-03-04 Thread Archit Taneja
comments from Stephen Boyd and Archit Taneja * Fixed some incorrect offsets, parents etc. * Driver is tested on MSM8916-MTP device. For MDSS clocks: Tested-by: Archit Taneja Thanks, Archit -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative

<    3   4   5   6   7   8   9   >