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
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
/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
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
: 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
: 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
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
: "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
: 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
: 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
: 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
: 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
: "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
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
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
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
: 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
: 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/
: 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
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
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
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
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
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
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
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.
>
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
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':
>
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_
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
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_
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
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
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
-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
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
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
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
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/
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
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.
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-
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
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/
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
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
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
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
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_
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
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
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
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
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
ö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/
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
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
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
- 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
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
-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
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
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
-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
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
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
-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
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.
"
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
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
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
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
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
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
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
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-
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
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
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
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
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
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-
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
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
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
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
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
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
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
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
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
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
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
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,
>>>
>>&
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
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,
>>>
>>>
.
- 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
.
- 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
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
- 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
901 - 1000 of 1385 matches
Mail list logo