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

2015-07-13 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 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 --- drivers/gpu/drm/sti/Kconfig | 6 -- drivers/gpu/drm/sti/sti_drm_drv.c | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff

[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 --- drivers/gpu/drm/i915/Kconfig | 15 --- drivers/gpu/drm/i915/Makefile| 4 ++-- drivers/gpu/drm/i915

[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

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

2015-07-13 Thread Archit Taneja
: Zach Reizner Cc: Russell King <rmk+kernel at arm.linux.org.uk> Cc: Fabian Frederick Signed-off-by: Archit Taneja --- drivers/gpu/drm/cirrus/Kconfig | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/cirrus/Kconfig b/drivers/gpu/drm/cirrus/Kconfig index 9864559..0

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

2015-07-13 Thread Archit Taneja
: Daniel Vetter Cc: Rob Clark Cc: Daniel Kurtz Signed-off-by: Archit Taneja --- drivers/gpu/drm/rockchip/Kconfig | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/rockchip/Kconfig b/drivers/gpu/drm/rockchip/Kconfig index 35215f6..65d5fdd 100644 --- a/drivers/gpu/drm/rockchip

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

2015-07-13 Thread Archit Taneja
rmk+kernel at arm.linux.org.uk> Signed-off-by: Archit Taneja --- 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 +++ b/drive

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

2015-07-13 Thread Archit Taneja
: "Y.C. Chen" Cc: Alex Deucher Signed-off-by: Archit Taneja --- 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 8a784c4..15f6ce7 100644 --- a/drivers/gpu/drm/ast/Kconfig +++ b/drivers/g

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

2015-07-13 Thread Archit Taneja
: Laurent Pinchart Signed-off-by: Archit Taneja --- 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..340ece7 100644 --- a/drivers/gpu/drm/omapdrm/Kconfig +++ b/drivers/gpu/drm

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

2015-07-13 Thread Archit Taneja
: Joonyoung Shim Cc: Seung-Woo Kim Signed-off-by: Archit Taneja --- drivers/gpu/drm/exynos/Kconfig | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/gpu/drm/exynos/Kconfig b/drivers/gpu/drm/exynos/Kconfig index 43003c4..d253007 100644 --- a/drivers/gpu/drm/exynos/Kconfig +++ b/drivers

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

2015-07-13 Thread Archit Taneja
: Patrik Jakobsson Signed-off-by: Archit Taneja --- 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 100644 --- a/drivers/gpu/drm/gma500/Kconfig +++ b/drivers/gpu/drm/gma500

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

2015-07-13 Thread Archit Taneja
: David Airlie Cc: Alex Deucher Signed-off-by: Archit Taneja --- drivers/gpu/drm/mgag200/Kconfig | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/mgag200/Kconfig b/drivers/gpu/drm/mgag200/Kconfig index 3a1c5fb..520e5e6 100644 --- a/drivers/gpu/drm/mgag200/Kconfig +++ b

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

2015-07-13 Thread Archit Taneja
: "Christian König" Signed-off-by: Archit Taneja --- 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 100644 --- a/drivers/gpu/drm/radeon/Kconfig +++ b/drive

[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 Cc: Frediano Ziglio Cc: Maarten Lankhorst Signed-off-by: Archit Taneja --- drivers/gpu/drm/qxl/Kconfig | 5 - drivers/gpu/drm/qxl/qxl_fb.c | 4 2 files changed, 4 insertions

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

2015-07-13 Thread Archit Taneja
gives dependency issues. For now, make the driver depend on DRM_FBDEV_EMULATION config option. We should remove this once the driver can work without FB_BACKLIGHT too. Cc: David Airlie Cc: Ben Skeggs Cc: Alexandre Courbot Signed-off-by: Archit Taneja --- drivers/gpu/drm/nouveau/Kconfig | 7

[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 Cc: Haixia Shi Cc: "Stéphane Marchesin" Signed-off-by: Archit Taneja --- drivers/gpu/drm/udl/Kconfig | 5 - drivers/gpu/drm/udl/udl_fb.c | 10 ++ 2 files c

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

2015-07-13 Thread Archit Taneja
: Gerd Hoffmann Cc: Daniel Vetter Signed-off-by: Archit Taneja --- 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 5f8b0c2..f739763 100644 --- a/drivers/gpu/drm/bochs/Kconfig +++ b/drivers/gpu

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

2015-07-13 Thread Archit Taneja
: Oded Gabbay Cc: "Christian König" Signed-off-by: Archit Taneja --- drivers/gpu/drm/amd/amdgpu/Kconfig | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/Kconfig b/drivers/gpu/drm/amd/amdgpu/Kconfig index da7dcbf..2396482 100644 --- a/drivers/gpu/drm/

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

2015-07-13 Thread Archit Taneja
: Gerd Hoffmann Signed-off-by: Archit Taneja --- 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/gpu/drm/virtio/Kconfig +++ b/drivers/gpu/drm/virtio

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

2015-07-13 Thread Archit Taneja
Cc: Daniel Vetter Signed-off-by: Archit Taneja --- 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/Kconfig +++ b/drivers/gpu/drm/Kconfig @@ -89,10 +89,6

[RFC 17/21] drm/atmel-hlcdc: 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: Boris Brezillon Cc: Sylvain Rochet Cc: Nicolas Ferre Signed-off-by: Archit Taneja --- drivers

[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 Signed-off-by: Archit Taneja --- drivers/gpu/drm/imx/Kconfig | 1 - 1 file changed

[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 Signed-off-by: Archit Taneja --- drivers/gpu/drm/rcar-du/Kconfig | 1 - 1 file

[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 Signed-off-by: Archit Taneja --- drivers/gpu/drm/shmobile/Kconfig | 1 - 1 file

[RFC 21/21] drm/tilcdc: 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: Ezequiel Garcia Cc: Tomi Valkeinen Cc: Jyri Sarha Signed-off-by: Archit Taneja --- drivers/gpu

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

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

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

2015-07-14 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': >

[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 >> wrote: >>> With the top level DRM_FBDEV_EMULATION option, drivers don't need to >>> select DRM_

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

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

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

2015-07-22 Thread Archit Taneja
xed 'unused variable' warnings in bochs, ast, udl and radeon - Fixed stray goto labels in cirrus, exynos, mgag Archit Taneja (25): drm/fb_helper: Add drm_fb_helper functions to manage fb_info creation drm/fb_helper: Create a wrapper for unlink_framebuffer drm/fb_helper: Create wrappers for

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

2015-07-22 Thread Archit Taneja
amount of memory, it shouldn't be an issue. Signed-off-by: Archit Taneja --- drivers/gpu/drm/drm_fb_helper.c | 80 + include/drm/drm_fb_helper.h | 4 +++ 2 files changed, 84 insertions(+) diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm

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

2015-07-22 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 --- drivers/gpu

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

2015-07-22 Thread Archit Taneja
-by: Archit Taneja --- drivers/gpu/drm/Kconfig | 1 + drivers/gpu/drm/drm_fb_helper.c | 26 ++ include/drm/drm_fb_helper.h | 5 + 3 files changed, 32 insertions(+) diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index c46ca31..6ab503b 100644

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

2015-07-22 Thread Archit Taneja
directly, in order to make fbdev emulation a top level drm option. Signed-off-by: Archit Taneja --- drivers/gpu/drm/Kconfig | 6 drivers/gpu/drm/drm_fb_helper.c | 78 + include/drm/drm_fb_helper.h | 14 3 files changed, 98

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

2015-07-22 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 --- drivers/gpu/drm

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

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

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

2015-07-22 Thread Archit Taneja
Use the newly created wrapper drm_fb_helper functions instead of calling core fbdev functions directly. COMPILE TESTED ONLY. Cc: Thierry Reding Cc: Zach Reizner Cc: Russell King <rmk+kernel at arm.linux.org.uk> Cc: Fabian Frederick Signed-off-by: Archit Taneja --- drivers/gpu/drm/

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

2015-07-22 Thread Archit Taneja
Kurtz Signed-off-by: Archit Taneja --- drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c | 47 +++ 1 file changed, 12 insertions(+), 35 deletions(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c b/drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c index 5b0dc0f

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

2015-07-22 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+kernel at arm.linux.org.uk> Signed-off-by: Archit Taneja --- drivers/gpu/drm/armada/armada_fbdev.

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

2015-07-22 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. Cleaned up the error handling in astfb_create a bit. COMPILE TESTED ONLY. Cc: David Airlie Cc: "Y.C. Chen" Cc: Alex Deucher Signed-off-

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

2015-07-22 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 Cc: Laurent Pinchart Signed-off-by: Archit Taneja --- drivers/gpu/drm/omapdrm/omap_fbdev.c | 34

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

2015-07-22 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: Thierry Reding Cc: "Terje Bergström" Cc: Stephen Warren Signed-off-by: Archit Taneja --- drivers/gpu/drm/

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

2015-07-22 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 Cc: Stephane Viau Cc: Hai Li Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/msm_fbdev.c | 34

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

2015-07-22 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: Inki Dae Cc: Joonyoung Shim Cc: Seung-Woo Kim Signed-off-by: Archit Taneja --- drivers/gpu/drm/exynos/exynos_drm_fbdev.c

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

2015-07-22 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: Patrik Jakobsson Cc: Daniel Vetter Signed-off-by: Archit Taneja --- drivers/gpu/drm/gma500/accel_2d.c| 6

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

2015-07-22 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: Daniel Vetter Cc: David Airlie Cc: Alex Deucher Signed-off-by: Archit Taneja --- drivers/gpu/drm/mgag200/mgag200_drv.c

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

2015-07-22 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 Cc: "Christian König" Signed-off-by: Archit Taneja --- drivers/gpu/drm/radeon/radeon_

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

2015-07-22 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 Cc: Frediano Ziglio Cc: Maarten Lankhorst Signed-off-by: Archit Taneja --- drivers/gpu/drm/qxl/qxl_fb.c

[PATCH v2 19/25] drm/i915: Use new drm_fb_helper functions

2015-07-22 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: Daniel Vetter Cc: Jani Nikula Signed-off-by: Archit Taneja --- drivers/gpu/drm/i915/i915_dma.c| 3 ++- drivers/gpu

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

2015-07-22 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 Cc: Ben Skeggs Cc: Alexandre Courbot Signed-off-by: Archit Taneja --- drivers/gpu/drm/nouveau/nouveau_drm.c

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

2015-07-22 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 Cc: Haixia Shi Cc: "Stéphane Marchesin" Signed-off-by: Archit Taneja --- drivers/gpu/drm/udl/udl

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

2015-07-22 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 Cc: Gerd Hoffmann Cc: Daniel Vetter Signed-off-by: Archit Taneja --- drivers/gpu/drm/bochs/bochs_drv.c

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

2015-07-22 Thread Archit Taneja
önig" Signed-off-by: Archit Taneja --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 4 ++- drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | 45 ++--- 2 files changed, 17 insertions(+), 32 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/

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

2015-07-22 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 Cc: Gerd Hoffmann Signed-off-by: Archit Taneja --- drivers/gpu/drm/virtio/virtgpu_drm_bus.c | 3

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

2015-07-22 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 Cc: Daniel Vetter Signed-off-by: Archit Taneja --- drivers/gpu/drm/drm_fb_cma_helper.c | 45

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

2015-07-22 Thread Archit Taneja
On 07/22/2015 01:11 PM, Daniel Vetter wrote: > On Wed, Jul 22, 2015 at 12:29:36PM +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 optio

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

2015-07-22 Thread Archit Taneja
- resend version has v2 changes in changelog, 'compile tested only' is removed. Archit Taneja (25): drm/fb_helper: Add drm_fb_helper functions to manage fb_info creation drm/fb_helper: Create a wrapper for unlink_framebuffer drm/fb_helper: Create wrappers for fb_sys_read/write funcs drm

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

2015-07-22 Thread Archit Taneja
amount of memory, it shouldn't be an issue. v2: - Added kerneldocs - Added a check for non-NULL fb_helper before proceeding. This will make the helpers work when we have a module param for fbdev emulation Signed-off-by: Archit Taneja --- drivers/gpu/drm/drm_fb_helper.c | 80

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

2015-07-22 Thread Archit Taneja
-NULL fb_helper before proceeding. This will make the helpers work when we have a module param for fbdev emulation Signed-off-by: Archit Taneja --- drivers/gpu/drm/drm_fb_helper.c | 13 + include/drm/drm_fb_helper.h | 2 ++ 2 files changed, 15 insertions(+) diff --git

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

2015-07-22 Thread Archit Taneja
kerneldocs - Follow the drm way of aligning of arguments in func definitions - Remove unnecessary checks for non NULL fb_info Signed-off-by: Archit Taneja --- drivers/gpu/drm/Kconfig | 1 + drivers/gpu/drm/drm_fb_helper.c | 26 ++ include/drm/drm_fb_helper.h

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

2015-07-22 Thread Archit Taneja
directly, in order to make fbdev emulation a top level drm option. v2: - Added kerneldocs - Follow the drm way of aligning of arguments in func definitions - Remove unnecessary checks for non NULL fb_info Signed-off-by: Archit Taneja --- drivers/gpu/drm/Kconfig | 6 drivers/gpu/drm

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

2015-07-22 Thread Archit Taneja
-NULL fb_helper before proceeding. This will make the helpers work when we have a module param for fbdev emulation - Follow the drm way of aligning of arguments in func definitions Signed-off-by: Archit Taneja --- drivers/gpu/drm/drm_fb_helper.c | 13 + include/drm/drm_fb_helper.h

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

2015-07-22 Thread Archit Taneja
the drm way of aligning of arguments in func definitions Signed-off-by: Archit Taneja --- drivers/gpu/drm/drm_fb_helper.c | 15 +++ include/drm/drm_fb_helper.h | 4 2 files changed, 19 insertions(+) diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm

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

2015-07-22 Thread Archit Taneja
Use the newly created wrapper drm_fb_helper functions instead of calling core fbdev functions directly. v2: - Remove stray goto label out_iounmap Cc: Thierry Reding Cc: Zach Reizner Cc: Russell King <rmk+kernel at arm.linux.org.uk> Cc: Fabian Frederick Signed-off-by: Archit

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

2015-07-22 Thread Archit Taneja
-by: Archit Taneja --- drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c | 47 +++ 1 file changed, 12 insertions(+), 35 deletions(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c b/drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c index 5b0dc0f..f261512 100644

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

2015-07-22 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: Russell King <rmk+kernel at arm.linux.org.uk> Signed-off-by: Archit Taneja --- drivers/gpu/drm/armada/armada_fbdev.

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

2015-07-22 Thread Archit Taneja
" Cc: Alex Deucher Signed-off-by: Archit Taneja --- drivers/gpu/drm/ast/ast_fb.c | 48 1 file changed, 17 insertions(+), 31 deletions(-) diff --git a/drivers/gpu/drm/ast/ast_fb.c b/drivers/gpu/drm/ast/ast_fb.c index ff68eef..f31db28 100644 --- a/d

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

2015-07-22 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: Tomi Valkeinen Cc: Laurent Pinchart Signed-off-by: Archit Taneja --- drivers/gpu/drm/omapdrm/omap_fbdev.c | 34

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

2015-07-22 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. v2: - Fix up error handling path in tegra_fbdev_probe Cc: Thierry Reding Cc: "Terje Bergström" Cc: Stephen Warren Signed-off-by: Arc

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

2015-07-22 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 Cc: Stephane Viau Cc: Hai Li Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/msm_fbdev.c | 34

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

2015-07-22 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. v2: - Remove unnecessary dealloc cmap in error handling path Cc: Inki Dae Cc: Joonyoung Shim Cc: Seung-Woo Kim Signed-off-by: Archit Taneja

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

2015-07-22 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. v2: - removed unused variable 'device' in psbfb_create Cc: Patrik Jakobsson Cc: Daniel Vetter Signed-off-by: Archit Taneja --- drivers/gpu/drm

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

2015-07-22 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. v2: - remove unused goto label 'out' Cc: Daniel Vetter Cc: David Airlie Cc: Alex Deucher Signed-off-by: Archit Taneja --- drivers/gpu/drm/mgag200

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

2015-07-22 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. v2: - Fix build break because of missing include of drm_fb_helper in radeon_drv.c Cc: Alex Deucher Cc: "Christian König" Signed-off-

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

2015-07-22 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: David Airlie Cc: Frediano Ziglio Cc: Maarten Lankhorst Signed-off-by: Archit Taneja --- drivers/gpu/drm/qxl/qxl_fb.c | 40

[PATCH RESEND v2 19/25] drm/i915: Use new drm_fb_helper functions

2015-07-22 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: Daniel Vetter Cc: Jani Nikula Signed-off-by: Archit Taneja --- drivers/gpu/drm/i915/i915_dma.c| 3 ++- drivers/gpu/drm/i915/intel_fbdev.c

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

2015-07-22 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. v2: - remove unused variable pdev in nouveau_fbcon_create Cc: David Airlie Cc: Ben Skeggs Cc: Alexandre Courbot Signed-off-by: Archit Taneja

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

2015-07-22 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. v2: - remove unused variable device in udlfb_create Cc: David Airlie Cc: Haixia Shi Cc: "Stéphane Marchesin" Signed-off-by: Arc

[PATCH RESEND v2 22/25] drm/bochs: Use new drm_fb_helper functions

2015-07-22 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. v2: - remove unused variable device in bochsfb_create Cc: David Airlie Cc: Gerd Hoffmann Cc: Daniel Vetter Signed-off-by: Archit Taneja

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

2015-07-22 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. v2: - Fixed PTR_ERR issue mentioned by kbuild bot Cc: Fengguang Wu Cc: Alex Deucher Cc: Oded Gabbay Cc: "Christian König" Signed-off-

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

2015-07-22 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. v2: - add missing header for virtgpu_fb.c Cc: David Airlie Cc: Gerd Hoffmann Signed-off-by: Archit Taneja --- drivers/gpu/drm/virtio

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

2015-07-22 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: Lars-Peter Clausen Cc: Daniel Vetter Signed-off-by: Archit Taneja --- drivers/gpu/drm/drm_fb_cma_helper.c | 45

[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

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

2015-07-27 Thread Archit Taneja
again) 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 --- drivers/gpu/drm/i2c/adv7511.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/d

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

2015-07-27 Thread Archit Taneja
tivate 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 Signed-off-by: Archit Taneja --- drivers/gpu/drm/i2c/adv7511.c

[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 --- 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/drm/i2c/adv7511.c index

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

[PATCH 5/5] drm/i2c: adv7511: Create mipi_dsi_device for ADV7533

2015-07-27 Thread Archit Taneja
parameters (number of data lanes etc) that are required for DSI RX to work correctly. Hardcode few other parameters (rgb, embedded_sync) for now. Signed-off-by: Archit Taneja --- drivers/gpu/drm/i2c/adv7511.c | 106 +++--- 1 file changed, 99 insertions(+), 7 deletions

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

2015-07-28 Thread Archit Taneja
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 July 2015 11:46:57 Archit Taneja wrote: >> ADV7511 is represented as an i2c drm slave encoder device. ADV7533, on >> the oth

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

2015-07-29 Thread Archit Taneja
On 07/29/2015 12:16 AM, Daniel Vetter wrote: > On Wed, Jul 22, 2015 at 02:58:01PM +0530, Archit Taneja wrote: >> Some drm drivers call remove_conflicting_framebuffers. Create a >> drm_fb_helper function that wraps around these calls. >> >> This is part of an effort

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

2015-07-29 Thread Archit Taneja
On 07/29/2015 12:19 AM, Daniel Vetter wrote: > On Tue, Jul 28, 2015 at 08:46:24PM +0200, Daniel Vetter wrote: >> On Wed, Jul 22, 2015 at 02:58:01PM +0530, Archit Taneja wrote: >>> Some drm drivers call remove_conflicting_framebuffers. Create a >>> drm_fb_helper

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

2015-07-31 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 wrote: > >> Hi, >> >> On 07/27/2015 02:29 PM, Laurent Pinchart wrote: >>> Hi Archit, >>> >>&

[patch] drm/omap: checking for NULL instead of IS_ERR()

2015-07-31 Thread Archit Taneja
Hi, On 07/31/2015 03:03 PM, Dan Carpenter wrote: > We recently start using the new drm_fb_helper functions but the error > handling needs to be updated as well to check for IS_ERR() instead of > NULL. > > Fixes: 377eb331375f ('drm/omap: Use new drm_fb_helper functions') > Signed-off-by: Dan

[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 wrote: > >> Hi Boris, Laurent, >> >> On 07/28/2015 08:08 PM, Boris Brezillon wrote: >>> Archit, Laurent, >>> >>>

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

2015-07-31 Thread Archit Taneja
. - Fixed kerneldoc header errors - Some fixes pointed out on the mailing list changes in v2: - Incorporated comments - Misc fixes for build wannings/errors - resend version has v2 changes in changelog, 'compile tested only' is removed. Archit Taneja (24): drm/fb_helper: Add drm_fb_helper functions

[PATCH v3 00/24] rm: fb emulation: Step 1: Create new drm_fb_helper wrapper funcs

2015-07-31 Thread Archit Taneja
. - Fixed kerneldoc header errors - Some fixes pointed out on the mailing list changes in v2: - Incorporated comments - Misc fixes for build wannings/errors - resend version has v2 changes in changelog, 'compile tested only' is removed. Archit Taneja (24): drm/fb_helper: Add drm_fb_helper functions

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

2015-07-31 Thread Archit Taneja
amount of memory, it shouldn't be an issue. v3: - No changes v2: - Added kerneldocs - Added a check for non-NULL fb_helper before proceeding. This will make the helpers work when we have a module param for fbdev emulation Signed-off-by: Archit Taneja --- drivers/gpu/drm/drm_fb_helper.c | 80

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

2015-07-31 Thread Archit Taneja
- Added a check for non-NULL fb_helper before proceeding. This will make the helpers work when we have a module param for fbdev emulation Signed-off-by: Archit Taneja --- drivers/gpu/drm/drm_fb_helper.c | 13 + include/drm/drm_fb_helper.h | 2 ++ 2 files changed, 15 insertions

<    5   6   7   8   9   10   11   12   13   14   >