[PATCH v2 3/5] drm/msm/dsi: Create a helper to check if there is a connected device

2015-08-02 Thread Archit Taneja
. Later, this will check if we have an external bridge or not. This helper isn't used in dsi_connector related code as that's specific to only when a drm_panel is connected. Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/msm/dsi/dsi.c | 2 +- drivers/gpu/drm/msm/dsi

Re: [PATCH v3 5/5] arm: qcom: dts: Enable NAND node on IPQ8064 AP148 platform

2015-08-04 Thread Archit Taneja
On 8/4/2015 2:28 AM, Stephen Boyd wrote: On 08/03, Archit Taneja wrote: @@ -93,5 +115,19 @@ sata@2900 { status = ok; }; + + nand@1ac0 { + status = ok; + + pinctrl-0

Re: [PATCH v3 5/5] arm: qcom: dts: Enable NAND node on IPQ8064 AP148 platform

2015-08-04 Thread Archit Taneja
On 8/4/2015 1:05 AM, Andy Gross wrote: On Mon, Aug 03, 2015 at 10:38:18AM +0530, Archit Taneja wrote: 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

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

2015-08-04 Thread Archit Taneja
On 8/4/2015 5:08 AM, Stephen Boyd wrote: On 08/03, Archit Taneja wrote: The Qualcomm NAND controller is found in SoCs like IPQ806x, MSM7xx, MDM9x15 series. There are some checker errors and le32 usage is not correct: drivers/mtd/nand/qcom_nandc.c:383:13: warning: mixing different enum types

Re: [PATCH 3/5] drm/i2c: adv7511: Refactor encoder slave functions

2015-07-30 Thread Archit Taneja
Hi Boris, Laurent, On 07/28/2015 08:08 PM, Boris Brezillon wrote: Archit, Laurent, On Tue, 28 Jul 2015 13:47:37 +0530 Archit Taneja arch...@codeaurora.org wrote: Hi, On 07/27/2015 02:29 PM, Laurent Pinchart wrote: Hi Archit, (CC'ing Boris Brezillon) Thank you for the patch. On Monday 27

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

2015-07-28 Thread Archit Taneja
On 07/29/2015 07:18 AM, Stephen Boyd wrote: On 07/27/2015 09:34 PM, Archit Taneja wrote: Hi, On 07/25/2015 06:21 AM, Stephen Boyd wrote: On 07/21/2015 03:34 AM, Archit Taneja wrote: + int size) +{Looks like a +struct desc_info *desc; +struct dma_async_tx_descriptor

Re: [PATCH v1 7/7] ARM: dts: ifc6410: add inforce LVDS panel support

2015-07-28 Thread Archit Taneja
Hi Srini, On 07/28/2015 06:24 PM, Srinivas Kandagatla wrote: This patch adds LVDS panel for IFC6410. Signed-off-by: Rob Clark robdcl...@gmail.com [Rob Clark: WIP patch] Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@linaro.org --- arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 66

Re: [RFC 05/21] drm/omap: Remove FB_KMS_HELPER and FB related config options

2015-08-05 Thread Archit Taneja
On 08/01/2015 03:32 PM, Laurent Pinchart wrote: Hi Archit, Thank you for the patch. On Monday 13 July 2015 12:13:52 Archit Taneja wrote: Remove FB_* config options since the driver doesn't call any fbdev functions directly. Remove FB_KMS_HELPER as this would now be selected by the top

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

2015-08-02 Thread Archit Taneja
. 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 v1: - original series: https://lkml.org/lkml/2015/1/16/317 Archit Taneja (5): mtd: nand: Create a BBT flag to access bad block markers

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

2015-08-02 Thread Archit Taneja
The nand controller in IPQ806x is of the 'EBI2 type'. Use the corresponding compatible string. Cc: devicet...@vger.kernel.org Reviewed-by: Andy Gross agr...@codeaurora.org Signed-off-by: Archit Taneja arch...@codeaurora.org --- arch/arm/boot/dts/qcom-ipq8064.dtsi | 15 +++ 1 file

[PATCH v3 5/5] arm: qcom: dts: Enable NAND node on IPQ8064 AP148 platform

2015-08-02 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 v3 3/5] dt/bindings: qcom_nandc: Add DT bindings

2015-08-02 Thread Archit Taneja
Add DT bindings document for the Qualcomm NAND controller driver. Cc: devicet...@vger.kernel.org v3: - Don't use '0x' when specifying nand controller address space - Add optional property for on-flash bbt usage Acked-by: Andy Gross agr...@codeaurora.org Signed-off-by: Archit Taneja arch

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

2015-08-02 Thread Archit Taneja
because of above changes Reviewed-by: Andy Gross agr...@codeaurora.org Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/mtd/nand/Kconfig |7 + drivers/mtd/nand/Makefile |1 + drivers/mtd/nand/qcom_nandc.c | 1913 + 3 files

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

2015-08-02 Thread Archit Taneja
...@codeaurora.org Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/mtd/nand/nand_base.c | 6 +- drivers/mtd/nand/nand_bbt.c | 6 +- include/linux/mtd/bbm.h | 7 +++ 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/nand_base.c b/drivers

Re: [PATCH 2/5] drm/i2c: adv7511: Initial support for adv7533

2015-08-02 Thread Archit Taneja
On 07/28/2015 08:57 AM, Bjorn Andersson wrote: On Sun 26 Jul 23:16 PDT 2015, Archit Taneja wrote: From: Lars-Peter Clausen l...@metafoo.de [..] diff --git a/drivers/gpu/drm/i2c/adv7511.c b/drivers/gpu/drm/i2c/adv7511.c [..] +static const struct of_device_id adv7511_of_ids

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

2015-07-30 Thread Archit Taneja
On 7/30/2015 12:03 AM, Stephen Boyd wrote: On 07/29, Archit Taneja wrote: On 07/29/2015 07:18 AM, Stephen Boyd wrote: On 07/27/2015 09:34 PM, Archit Taneja wrote: Hi, On 07/25/2015 06:21 AM, Stephen Boyd wrote: On 07/21/2015 03:34 AM, Archit Taneja wrote: + int size

Re: [PATCH 3/5] drm/i2c: adv7511: Refactor encoder slave functions

2015-07-31 Thread Archit Taneja
On 07/31/2015 02:42 PM, Boris Brezillon wrote: Hi Archit, On Fri, 31 Jul 2015 10:56:20 +0530 Archit Taneja arch...@codeaurora.org wrote: Hi Boris, Laurent, On 07/28/2015 08:08 PM, Boris Brezillon wrote: Archit, Laurent, On Tue, 28 Jul 2015 13:47:37 +0530 Archit Taneja arch

[PATCH 2/5] drm/i2c: adv7511: Initial support for adv7533

2015-07-27 Thread Archit Taneja
the DSI blocks. Use DT compatible strings to populate the adv7533 type enum. Add minimal register configurations belonging to the DSI/CEC register map. Signed-off-by: Lars-Peter Clausen l...@metafoo.de Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/i2c/adv7511.c | 155

[PATCH 4/5] drm/i2c: adv7511: Add drm_bridge/connector for ADV7533

2015-07-27 Thread Archit Taneja
bridge and connector entities, and when it's ADV7511, we create a slave encoder as before. Since the i2c driver is still wrapped around by the drm_i2c_slave_encoder struct. We make sure the encoder_init op returns an error when the device type is ADV7533. Signed-off-by: Archit Taneja arch

[PATCH 3/5] drm/i2c: adv7511: Refactor encoder slave functions

2015-07-27 Thread Archit Taneja
also be used by bridge and connecter helper functions. Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/i2c/adv7511.c | 80 ++- 1 file changed, 57 insertions(+), 23 deletions(-) diff --git a/drivers/gpu/drm/i2c/adv7511.c b/drivers/gpu

[PATCH 1/5] drm/i2c: adv7511: Fix mutex deadlock when interrupts are disabled

2015-07-27 Thread Archit Taneja
) In adv7511_irq_process, don't call drm_helper_hpd_irq_event when not called from interrupt context. It doesn't serve any purpose there anyway. Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/i2c/adv7511.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 0/5] drm/i2c: adv7511: ADV7533 support

2015-07-27 Thread Archit Taneja
posted sometime back: drm/dsi: DSI for devices with different control bus https://lkml.org/lkml/2015/6/30/42 Archit Taneja (4): drm/i2c: adv7511: Fix mutex deadlock when interrupts are disabled drm/i2c: adv7511: Refactor encoder slave functions drm/i2c: adv7511: Add drm_bridge/connector

Re: [PATCH 00/25] drm: fb emulation: Step 1: Create new drm_fb_helper wrapper funcs

2015-07-13 Thread Archit Taneja
On 07/13/2015 01:37 PM, Daniel Vetter wrote: On Mon, Jul 13, 2015 at 12:07:56PM +0530, Archit Taneja wrote: DRM drivers using drm_fb_helpers still call some fbdev core functions. This makes the driver depend on CONFIG_FB, resulting in complicated Kconfig options, and preventing us from

Re: [PATCH 03/25] drm/fb_helper: Create wrappers for fb_sys_read/write funcs

2015-07-13 Thread Archit Taneja
On 07/13/2015 01:01 PM, Daniel Vetter wrote: On Mon, Jul 13, 2015 at 12:07:59PM +0530, Archit Taneja wrote: Some drm drivers populate their fb_ops with fb_sys_read/write fb sysfs ops. Create a drm_fb_helper function that wraps around these calls. This is part of an effort to prevent drm

Re: [RFC 00/21] drm: fb emulation: Step 3: Remove FB_KMS_HELPER config from drivers

2015-07-14 Thread Archit Taneja
Hi, On 07/13/2015 09:07 PM, Daniel Vetter wrote: On Mon, Jul 13, 2015 at 11:30:34AM -0400, Alex Deucher wrote: On Mon, Jul 13, 2015 at 2:43 AM, Archit Taneja arch...@codeaurora.org wrote: With the top level DRM_FBDEV_EMULATION option, drivers don't need to select DRM_FB_KMS_HELPER or other FB

Re: [PATCH 12/25] drm/tegra: Use new drm_fb_helper functions

2015-07-14 Thread Archit Taneja
On 07/14/2015 02:20 PM, Thierry Reding wrote: On Mon, Jul 13, 2015 at 12:08:08PM +0530, Archit Taneja wrote: [...] diff --git a/drivers/gpu/drm/tegra/fb.c b/drivers/gpu/drm/tegra/fb.c [...] @@ -224,11 +224,11 @@ static int tegra_fbdev_probe(struct drm_fb_helper *helper, if (IS_ERR

Re: [RFC 00/21] drm: fb emulation: Step 3: Remove FB_KMS_HELPER config from drivers

2015-07-14 Thread Archit Taneja
On 07/14/2015 01:32 PM, Thierry Reding wrote: On Tue, Jul 14, 2015 at 12:01:51PM +0530, Archit Taneja wrote: Hi, On 07/13/2015 09:07 PM, Daniel Vetter wrote: On Mon, Jul 13, 2015 at 11:30:34AM -0400, Alex Deucher wrote: On Mon, Jul 13, 2015 at 2:43 AM, Archit Taneja arch...@codeaurora.org

[RFC v2 0/6] drm: fb emulation: Step 2: Create a fbdev emulation config option

2015-07-13 Thread Archit Taneja
), all enable fbdev emulation by default. For these drivers, if we explicitly disable fbdev emulation, the 'hope' is that we will cleanly bail out with an error. We set DRM_FBDEV_EMULATION to 'y' by default, since most drivers rely on it. Archit Taneja (6): drm: Add top level Kconfig option

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

2015-07-13 Thread Archit Taneja
of distributions expect the fbdev interface in the kernel. Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/Kconfig | 12 +++ drivers/gpu/drm/Makefile| 2 +- include/drm/drm_fb_helper.h | 192 3 files changed, 205 insertions(+), 1

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

2015-07-13 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

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

2015-07-13 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 | 8 ++-- 3 files changed, 3 insertions(+), 21 deletions(-) diff --git a/drivers/gpu/drm/msm/Kconfig b/drivers/gpu/drm/msm

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

2015-07-13 Thread Archit Taneja
/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...@codeaurora.org --- drivers/gpu/drm

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

2015-07-13 Thread Archit Taneja
/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/Makefile| 4

[RFC 11/21] drm/nouveau: Remove FB_KMS_HELPER and FB related config options

2015-07-13 Thread Archit Taneja
-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/nouveau/Kconfig | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/gpu/drm/nouveau/Kconfig b/drivers/gpu/drm/nouveau/Kconfig index 5ab13e7..f7e275a6 100644 --- a/drivers/gpu/drm/nouveau/Kconfig +++ b/drivers/gpu/drm

[RFC 03/21] drm/armada: Remove FB_KMS_HELPER and FB related config options

2015-07-13 Thread Archit Taneja
+ker...@arm.linux.org.uk Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/armada/Kconfig | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/armada/Kconfig b/drivers/gpu/drm/armada/Kconfig index 50ae88a..c31454d 100644 --- a/drivers/gpu/drm/armada/Kconfig

[RFC 06/21] drm/exynos: Remove FB_KMS_HELPER and FB related config options

2015-07-13 Thread Archit Taneja
@samsung.com Cc: Joonyoung Shim jy0922.s...@samsung.com Cc: Seung-Woo Kim sw0312@samsung.com Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/exynos/Kconfig | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/gpu/drm/exynos/Kconfig b/drivers/gpu/drm/exynos

[RFC 13/21] drm/bochs: Remove FB_KMS_HELPER and FB related config options

2015-07-13 Thread Archit Taneja
...@linux.ie Cc: Gerd Hoffmann kra...@redhat.com Cc: Daniel Vetter daniel.vet...@ffwll.ch Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/bochs/Kconfig | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/bochs/Kconfig b/drivers/gpu/drm/bochs/Kconfig index

[RFC 21/21] drm/tilcdc: Remove FB_KMS_HELPER config option

2015-07-13 Thread Archit Taneja
jsa...@ti.com Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/tilcdc/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/tilcdc/Kconfig b/drivers/gpu/drm/tilcdc/Kconfig index 78beafb..72e7944 100644 --- a/drivers/gpu/drm/tilcdc/Kconfig +++ b/drivers

[RFC 12/21] drm/udl: Remove FB_KMS_HELPER and FB related config options

2015-07-13 Thread Archit Taneja
stub fb helper functions here, but this would require some changes in the core fbdev structs. Cc: David Airlie airl...@linux.ie Cc: Haixia Shi h...@chromium.org Cc: Stéphane Marchesin marc...@chromium.org Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/udl/Kconfig | 5

[RFC 17/21] drm/atmel-hlcdc: Remove FB_KMS_HELPER config option

2015-07-13 Thread Archit Taneja
: Nicolas Ferre nicolas.fe...@atmel.com Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/atmel-hlcdc/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/atmel-hlcdc/Kconfig b/drivers/gpu/drm/atmel-hlcdc/Kconfig index 99b4f06..32bcc4b 100644

[RFC 18/21] drm/imx: Remove FB_KMS_HELPER config option

2015-07-13 Thread Archit Taneja
The driver internally uses drm_fb_cma helpers to emulate fbdev and allocate buffers. It doesn't need to select DRM_FB_KMS_HELPER. This will be managed by the config option DRM_KMS_CMA_HELPER. Cc: Philipp Zabel p.za...@pengutronix.de Signed-off-by: Archit Taneja arch...@codeaurora.org

[RFC 19/21] drm/rcar-du: Remove FB_KMS_HELPER config option

2015-07-13 Thread Archit Taneja
The driver internally uses drm_fb_cma helpers to emulate fbdev and allocate buffers. It doesn't need to select DRM_FB_KMS_HELPER. This will be managed by the config option DRM_KMS_CMA_HELPER. Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Archit Taneja arch

[RFC 14/21] drm/amdgpu: Remove FB_KMS_HELPER and FB related config options

2015-07-13 Thread Archit Taneja
alexander.deuc...@amd.com Cc: Oded Gabbay oded.gab...@gmail.com Cc: Christian König christian.koe...@amd.com Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/amd/amdgpu/Kconfig | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/Kconfig b/drivers

[RFC 16/21] drm/fb_cma_helper: Remove FB_KMS_HELPER and FB related config options

2015-07-13 Thread Archit Taneja
l...@metafoo.de Cc: Daniel Vetter daniel.vet...@ffwll.ch Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/Kconfig | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index 8fd670b..3e540e3 100644 --- a/drivers/gpu/drm

[RFC 20/21] drm/shmobile: Remove FB_KMS_HELPER config option

2015-07-13 Thread Archit Taneja
The driver internally uses drm_fb_cma helpers to emulate fbdev and allocate buffers. It doesn't need to select DRM_FB_KMS_HELPER. This will be managed by the config option DRM_KMS_CMA_HELPER. Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Archit Taneja arch

[RFC 15/21] drm/virtio: Remove FB_KMS_HELPER and FB related config options

2015-07-13 Thread Archit Taneja
...@linux.ie Cc: Gerd Hoffmann kra...@redhat.com Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/virtio/Kconfig | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/virtio/Kconfig b/drivers/gpu/drm/virtio/Kconfig index 9983ead..e1afc3d 100644 --- a/drivers

[PATCH 02/10] drm/r128: clean up: create a separate Kconfig file

2015-07-13 Thread Archit Taneja
Remove the DRM_R128 config option from the top level drm Kconfig file and create a new Kconfig file within the driver folder. Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/Kconfig | 9 + drivers/gpu/drm/r128/Kconfig | 8 2 files changed, 9

[PATCH 01/10] drm/tdfx: clean up: create a separate Kconfig file

2015-07-13 Thread Archit Taneja
Remove the DRM_TDFX from the top level drm Kconfig file and create a new Kconfig file within the driver folder. Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/Kconfig | 7 +-- drivers/gpu/drm/tdfx/Kconfig | 6 ++ 2 files changed, 7 insertions(+), 6 deletions

[PATCH 03/10] drm/radeon: clean up: move config option to driver's own Kconfig file

2015-07-13 Thread Archit Taneja
Remove the DRM_RADEON config option from the top level drm Kconfig file and move it to the Kconfig file within the driver folder. Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/Kconfig| 21 - drivers/gpu/drm/radeon/Kconfig | 21

[PATCH 10/10] drm/misc: clean up: group device specific Kconfigs

2015-07-13 Thread Archit Taneja
Move the VGEM Kconfig option along with other DRM Kconfig options. Add a comment saying that the device specific Kconfig options start from here. Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/Kconfig | 18 ++ 1 file changed, 10 insertions(+), 8 deletions

[PATCH 04/10] drm/amdgpu: clean up: move config option to driver's own Kconfig file

2015-07-13 Thread Archit Taneja
Remove the DRM_AMDGPU config option from the top level drm Kconfig file and move to Kconfig file within the driver folder. Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/Kconfig| 19 --- drivers/gpu/drm/amd/amdgpu/Kconfig | 19

[PATCH 00/10] drm/misc: Kconfig cleanup

2015-07-13 Thread Archit Taneja
The top level drm Kconfig is a bit messy at the moment. Most of the drm drivers have their own Kconfig files, but a few have their Kconfig files in the top level Kconfig option itself. Create new Kconfig files for drivers that don't have one. This cleans up the Kconfig quite a bit Archit Taneja

[PATCH 02/25] drm/fb_helper: Create a wrapper for unlink_framebuffer

2015-07-13 Thread Archit Taneja
Some drm drivers call unlink_framebuffer. Create a drm_fb_helper function that wraps around these calls. This is part of an effort to prevent drm drivers from calling fbdev functions directly, in order to make fbdev emulation a top level drm option. Signed-off-by: Archit Taneja arch

[PATCH 01/25] drm/fb_helper: Add drm_fb_helper functions to manage fb_info creation

2015-07-13 Thread Archit Taneja
amount of memory, it shouldn't be an issue. Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/drm_fb_helper.c | 53 + include/drm/drm_fb_helper.h | 4 2 files changed, 57 insertions(+) diff --git a/drivers/gpu/drm

[PATCH 00/25] drm: fb emulation: Step 1: Create new drm_fb_helper wrapper funcs

2015-07-13 Thread Archit Taneja
to be converted to use drm_fb_helpers. For more info, have a look at the threads: http://lists.freedesktop.org/archives/dri-devel/2015-March/078729.html http://lists.freedesktop.org/archives/dri-devel/2015-March/078975.html Archit Taneja (25): drm/fb_helper: Add drm_fb_helper functions to manage fb_info

[PATCH 07/25] drm/cirrus: Use new drm_fb_helper functions

2015-07-13 Thread Archit Taneja
-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/cirrus/cirrus_drv.c | 7 --- drivers/gpu/drm/cirrus/cirrus_fbdev.c | 39 +++ 2 files changed, 12 insertions(+), 34 deletions(-) diff --git a/drivers/gpu/drm/cirrus/cirrus_drv.c b/drivers/gpu/drm/cirrus

[PATCH 08/25] drm/rockchip: Use new drm_fb_helper functions

2015-07-13 Thread Archit Taneja
...@ffwll.ch Cc: Rob Clark robdcl...@gmail.com Cc: Daniel Kurtz djku...@chromium.org Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c | 47 +++ 1 file changed, 12 insertions(+), 35 deletions(-) diff --git a/drivers/gpu/drm

[PATCH 08/10] drm/via: clean up: create a separate Kconfig file

2015-07-13 Thread Archit Taneja
Remove the DRM_VIA config option from the top level drm Kconfig file and create a new Kconfig file within the driver folder. Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/Kconfig | 7 +-- drivers/gpu/drm/via/Kconfig | 6 ++ 2 files changed, 7 insertions

[PATCH 09/10] drm/savage: clean up: create a separate Kconfig file

2015-07-13 Thread Archit Taneja
Remove the DRM_SAVAGE config option from the top level drm Kconfig file and create a new Kconfig file within the driver folder. Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/Kconfig| 8 +--- drivers/gpu/drm/savage/Kconfig | 7 +++ 2 files changed, 8

[PATCH 06/10] drm/mga: clean up: create a separate Kconfig file

2015-07-13 Thread Archit Taneja
Remove the DRM_MGA config option from the top level drm Kconfig file and create a new Kconfig file within the driver folder. Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/Kconfig | 9 + drivers/gpu/drm/mga/Kconfig | 8 2 files changed, 9 insertions

[PATCH 05/10] drm/i810: clean up: create a separate Kconfig file

2015-07-13 Thread Archit Taneja
Remove the DRM_I810 config option from the top level drm Kconfig file and create a new Kconfig file within the driver folder. Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/Kconfig | 9 + drivers/gpu/drm/i810/Kconfig | 8 2 files changed, 9

[PATCH 07/10] drm/sis: clean up: create a separate Kconfig file

2015-07-13 Thread Archit Taneja
Remove the DRM_SIS config option from the top level drm Kconfig file and create a new Kconfig file within the driver folder. Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/Kconfig | 9 + drivers/gpu/drm/sis/Kconfig | 8 2 files changed, 9 insertions

[PATCH 05/25] drm/fb_helper: Create a wrapper for fb_set_suspend

2015-07-13 Thread Archit Taneja
Some drm drivers call fb_set_suspend. Create a drm_fb_helper function that wraps around these calls. This is part of an effort to prevent drm drivers from calling fbdev functions directly, in order to make fbdev emulation a top level drm option. Signed-off-by: Archit Taneja arch

[PATCH 06/25] drm/fb_helper: Create a wrapper for remove_conflicting_framebuffers

2015-07-13 Thread Archit Taneja
Some drm drivers call remove_conflicting_framebuffers. Create a drm_fb_helper function that wraps around these calls. This is part of an effort to prevent drm drivers from calling fbdev functions directly, in order to make fbdev emulation a top level drm option. Signed-off-by: Archit Taneja arch

[PATCH 04/25] drm/fb_helper: Create wrappers for blit, copyarea and fillrect funcs

2015-07-13 Thread Archit Taneja
directly, in order to make fbdev emulation a top level drm option. Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/Kconfig | 6 ++ drivers/gpu/drm/drm_fb_helper.c | 48 + include/drm/drm_fb_helper.h | 14

[PATCH 18/25] drm/qxl: Use new drm_fb_helper functions

2015-07-13 Thread Archit Taneja
Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/qxl/qxl_fb.c | 40 +--- 1 file changed, 13 insertions(+), 27 deletions(-) diff --git a/drivers/gpu/drm/qxl/qxl_fb.c b/drivers/gpu/drm/qxl/qxl_fb.c index 6b6e57e..41c422f 100644 --- a/drivers

[PATCH 15/25] drm/gma500: Use new drm_fb_helper functions

2015-07-13 Thread Archit Taneja
Use the newly created wrapper drm_fb_helper functions instead of calling core fbdev functions directly. They also simplify the fb_info creation. COMPILE TESTED ONLY. Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/gma500/accel_2d.c| 6 ++--- drivers/gpu/drm/gma500

[PATCH 13/25] drm/msm: Use new drm_fb_helper functions

2015-07-13 Thread Archit Taneja
Use the newly created wrapper drm_fb_helper functions instead of calling core fbdev functions directly. They also simplify the fb_info creation. Cc: Rob Clark robdcl...@gmail.com Cc: Stephane Viau sv...@codeaurora.org Cc: Hai Li h...@codeaurora.org Signed-off-by: Archit Taneja arch

[PATCH 09/25] drm/armada: Use new drm_fb_helper functions

2015-07-13 Thread Archit Taneja
Use the newly created wrapper drm_fb_helper functions instead of calling core fbdev functions directly. They also simplify the fb_info creation. COMPILE TESTED ONLY. Cc: Russell King rmk+ker...@arm.linux.org.uk Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/armada

[PATCH 11/25] drm/omap: Use new drm_fb_helper functions

2015-07-13 Thread Archit Taneja
Use the newly created wrapper drm_fb_helper functions instead of calling core fbdev functions directly. They also simplify the fb_info creation. COMPILE TESTED ONLY. Cc: Tomi Valkeinen tomi.valkei...@ti.com Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Archit Taneja arch

[PATCH 14/25] drm/exynos: Use new drm_fb_helper functions

2015-07-13 Thread Archit Taneja
-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/exynos/exynos_drm_fbdev.c | 45 +-- 1 file changed, 12 insertions(+), 33 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fbdev.c b/drivers/gpu/drm/exynos/exynos_drm_fbdev.c index e0b085b..6975b70

[PATCH 22/25] drm/boschs: Use new drm_fb_helper functions

2015-07-13 Thread Archit Taneja
-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/bochs/bochs_drv.c | 6 +++--- drivers/gpu/drm/bochs/bochs_fbdev.c | 34 +++--- 2 files changed, 14 insertions(+), 26 deletions(-) diff --git a/drivers/gpu/drm/bochs/bochs_drv.c b/drivers/gpu/drm/bochs/bochs_drv.c

[PATCH 21/25] drm/udl: Use new drm_fb_helper functions

2015-07-13 Thread Archit Taneja
-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/udl/udl_fb.c | 40 1 file changed, 12 insertions(+), 28 deletions(-) diff --git a/drivers/gpu/drm/udl/udl_fb.c b/drivers/gpu/drm/udl/udl_fb.c index 5fc16ce..9fd6e83 100644 --- a/drivers/gpu/drm/udl

[PATCH 25/25] drm/fb_cma_helper: Use new drm_fb_helper functions

2015-07-13 Thread Archit Taneja
Use the newly created wrapper drm_fb_helper functions instead of calling core fbdev functions directly. They also simplify the fb_info creation. COMPILE TESTED ONLY. Cc: Lars-Peter Clausen l...@metafoo.de Cc: Daniel Vetter daniel.vet...@ffwll.ch Signed-off-by: Archit Taneja arch

[PATCH 24/25] drm/virtio: Use new drm_fb_helper functions

2015-07-13 Thread Archit Taneja
Use the newly created wrapper drm_fb_helper functions instead of calling core fbdev functions directly. They also simplify the fb_info creation. COMPILE TESTED ONLY. Cc: David Airlie airl...@linux.ie Cc: Gerd Hoffmann kra...@redhat.com Signed-off-by: Archit Taneja arch...@codeaurora.org

[PATCH 16/25] drm/mgag200: Use new drm_fb_helper functions

2015-07-13 Thread Archit Taneja
-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/mgag200/mgag200_drv.c | 3 ++- drivers/gpu/drm/mgag200/mgag200_fb.c | 36 -- drivers/gpu/drm/mgag200/mgag200_main.c | 2 +- 3 files changed, 11 insertions(+), 30 deletions(-) diff --git a/drivers/gpu

[PATCH 10/25] drm/ast: Use new drm_fb_helper functions

2015-07-13 Thread Archit Taneja
: Alex Deucher alexander.deuc...@amd.com Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/ast/ast_fb.c | 47 1 file changed, 17 insertions(+), 30 deletions(-) diff --git a/drivers/gpu/drm/ast/ast_fb.c b/drivers/gpu/drm/ast/ast_fb.c

[PATCH 17/25] drm/radeon: Use new drm_fb_helper functions

2015-07-13 Thread Archit Taneja
Use the newly created wrapper drm_fb_helper functions instead of calling core fbdev functions directly. They also simplify the fb_info creation. COMPILE TESTED ONLY. Cc: Alex Deucher alexander.deuc...@amd.com Cc: Christian König christian.koe...@amd.com Signed-off-by: Archit Taneja arch

[PATCH 23/25] drm/amdgpu: Use new drm_fb_helper functions

2015-07-13 Thread Archit Taneja
Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 4 ++- drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | 43 +++-- 2 files changed, 17 insertions(+), 30 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers

[PATCH 20/25] drm/nouveau: Use new drm_fb_helper functions

2015-07-13 Thread Archit Taneja
-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/nouveau/nouveau_drm.c | 3 ++- drivers/gpu/drm/nouveau/nouveau_fbcon.c | 38 +++-- 2 files changed, 14 insertions(+), 27 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_drm.c b/drivers/gpu/drm/nouveau

[RFC 07/21] drm/gma500: Remove FB_KMS_HELPER and FB related config options

2015-07-13 Thread Archit Taneja
daniel.vet...@ffwll.ch Cc: Patrik Jakobsson patrik.r.jakobs...@gmail.com Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/gma500/Kconfig | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/gma500/Kconfig b/drivers/gpu/drm/gma500/Kconfig index 17f928e..8906d67

[RFC 09/21] drm/radeon: Remove FB_KMS_HELPER and FB related config options

2015-07-13 Thread Archit Taneja
alexander.deuc...@amd.com Cc: Christian König christian.koe...@amd.com Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/radeon/Kconfig | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/radeon/Kconfig b/drivers/gpu/drm/radeon/Kconfig index 82c623b..3f1af32

[RFC 08/21] drm/mgag200: Remove FB_KMS_HELPER and FB related config options

2015-07-13 Thread Archit Taneja
daniel.vet...@ffwll.ch Cc: David Airlie airl...@linux.ie Cc: Alex Deucher alexander.deuc...@amd.com Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/mgag200/Kconfig | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/mgag200/Kconfig b/drivers/gpu/drm/mgag200

[RFC 05/21] drm/omap: Remove FB_KMS_HELPER and FB related config options

2015-07-13 Thread Archit Taneja
tomi.valkei...@ti.com Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/omapdrm/Kconfig | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/Kconfig b/drivers/gpu/drm/omapdrm/Kconfig index 6c220cd

[RFC 04/21] drm/ast: Remove FB_KMS_HELPER and FB related config options

2015-07-13 Thread Archit Taneja
...@linux.ie Cc: Y.C. Chen yc_c...@aspeedtech.com Cc: Alex Deucher alexander.deuc...@amd.com Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/ast/Kconfig | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/ast/Kconfig b/drivers/gpu/drm/ast/Kconfig index

[RFC 01/21] drm/cirrus: Remove FB_KMS_HELPER and FB related config options

2015-07-13 Thread Archit Taneja
tred...@nvidia.com Cc: Zach Reizner za...@google.com Cc: Russell King rmk+ker...@arm.linux.org.uk Cc: Fabian Frederick f...@skynet.be Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/cirrus/Kconfig | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/cirrus

[RFC 10/21] drm/qxl: Remove FB_KMS_HELPER and FB related config options

2015-07-13 Thread Archit Taneja
stub fb helper functions here, but this would require some changes in the core fbdev structs. Cc: David Airlie airl...@linux.ie Cc: Frediano Ziglio fzig...@redhat.com Cc: Maarten Lankhorst maarten.lankho...@canonical.com Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/qxl

[RFC 02/21] drm/rockchip: Remove FB_KMS_HELPER and FB related config options

2015-07-13 Thread Archit Taneja
@rock-chips.com Cc: Daniel Vetter dan...@ffwll.ch Cc: Rob Clark robdcl...@gmail.com Cc: Daniel Kurtz djku...@chromium.org Signed-off-by: Archit Taneja arch...@codeaurora.org --- drivers/gpu/drm/rockchip/Kconfig | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/rockchip/Kconfig

[RFC 00/21] drm: fb emulation: Step 3: Remove FB_KMS_HELPER config from drivers

2015-07-13 Thread Archit Taneja
some FB stuff even after these changes. They are qxl, udl and nouveau. These are handled a bit differently compared to the other patches. Archit Taneja (21): drm/cirrus: Remove FB_KMS_HELPER and FB related config options drm/rockchip: Remove FB_KMS_HELPER and FB related config options drm

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

[PATCH] drm/msm/mdp5: high precision vblank timestamp support

2015-10-26 Thread Archit Taneja
to determine whether we're in blanking period or not, and an adjusted value of this counter is used to get vpos as expected by get_scanout_position. Since there is no way to calculate hpos, we always set it to 0. Signed-off-by: Archit Taneja <arch...@codeaurora.org> --- drivers/gpu/drm/msm/md

Re: [PATCH] drm/msm/mdp5: high precision vblank timestamp support

2015-10-26 Thread Archit Taneja
On 10/27/2015 05:33 AM, Rob Clark wrote: On Mon, Oct 26, 2015 at 5:54 AM, Archit Taneja <arch...@codeaurora.org> wrote: MDP5 has line count and frame count registers for each interface. Enable these counters and use them to implement the get_vblank_timestamp drm driver op. The line c

Re: [PATCH] clk: qcom: msm8960: Fix dsi1/2 halt bits

2015-10-26 Thread Archit Taneja
go away. Fixes: 5532cfb567fe ("clk: qcom: mmcc-8960: Add DSI related clocks") Cc: Archit Taneja <arch...@codeaurora.org> Signed-off-by: Stephen Boyd <sb...@codeaurora.org> --- Acked-by: Archit Taneja <arch...@codeaurora.org> -- The Qualcomm Innovation Center, Inc. is

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

2015-11-09 Thread Archit Taneja
Hi, On 10/12/2015 01:33 AM, Brian Norris wrote: Hi Boris, On Fri, Oct 02, 2015 at 08:27:38AM +0200, Boris Brezillon wrote: Brian, Archit, On Thu, 1 Oct 2015 19:44:34 -0700 Brian Norris <computersforpe...@gmail.com> wrote: On Wed, Aug 19, 2015 at 10:19:02AM +0530, Archit Taneja wrote:

Re: [RFC v2 4/5] drm/dsi: Add routine to unregister dsi device

2015-11-02 Thread Archit Taneja
On 11/02/2015 04:12 PM, Andrzej Hajda wrote: On 11/02/2015 07:28 AM, Archit Taneja wrote: On 10/30/2015 07:51 PM, Andrzej Hajda wrote: On 10/06/2015 11:24 AM, Archit Taneja wrote: A driver calling mipi_dsi_device_new might want to unregister the device once it's done. It might also require

<    1   2   3   4   >