Remove chunk splitting in tinydrm_spi_transfer in tinydrm-helpers as the spi
core will split
a buffer into max_dma_len chunks for the spi controller driver to handle,
automatic byte
swapping in tinydrm_spi_transfer as it doesn't have users.
Signed-off-by: Meghana Madhyastha
---
driver
her segment is required to be multiple of 4. The
size
has to be <65535 due to hardware limitations.
Signed-off-by: Meghana Madhyastha
---
drivers/spi/spi-bcm2835.c | 22 --
1 file changed, 8 insertions(+), 14 deletions(-)
diff --git a/drivers/spi/spi-bcm2835.c b/drivers/s
()
-Change master->max_dma_len in patch 0/2 and explain why it is changed
Meghana Madhyastha (2):
spi: Split spi message into chunks of <65535 in the spi subsystem
drm/tinydrm: Remove chunk splitting in tinydrm_spi_transfer
drivers/gpu/drm/tinydrm/core/tinydrm-helpers.
Remove chunk splitting in tinydrm_spi_transfer in tinydrm-helpers as the spi
core will split
a buffer into max_dma_len chunks for the spi controller driver to handle,
automatic byte
swapping in tinydrm_spi_transfer as it doesn't have users.
Signed-off-by: Meghana Madhyastha
---
driver
Split spi messages into chunks of <65535 in the spi subsystem and remove the
message
length warning in bcm2835_spi_can_dma. This is so that the messages can be
transferred
via dma and that the tinydrm drivers need not split it.
Signed-off-by: Meghana Madhyastha
---
drivers/spi/spi-bcm283
line deletions
-Remove bcm2835_spi_transfer_one_message and add spi_split_transfers_maxsize
in __spi_pump_messages. This solves the DMA time out error.
Meghana Madhyastha (2):
spi: Split spi message into chunks of <65535 in the spi subsystem
drm/tinydrm: Remove chunk splitting
linux-...@vger.kernel.org,Noralf Trønnes ,Sean Paul
,ker...@martin.sperl.org
Cc:
Bcc:
Subject: Re: [PATCH v2 0/2] Chunk splitting of spi transfers
Reply-To:
In-Reply-To:
On Sun, Mar 04, 2018 at 06:38:42PM +0100, Noralf Trønnes wrote:
>
> Den 02.03.2018 12.11, skrev Meghana Madhyastha:
On Sun, Feb 25, 2018 at 02:19:10PM +0100, Lukas Wunner wrote:
> [cc += linux-rpi-ker...@lists.infradead.org]
>
> On Sat, Feb 24, 2018 at 06:15:59PM +, Meghana Madhyastha wrote:
> > I've added bcm2835_spi_transfer_one_message in spi-bcm2835. This calls
> > spi_split_
nsfer length in bcm2835_spi_can_dma().
Signed-off-by: Meghana Madhyastha
---
drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 48 --
drivers/gpu/drm/tinydrm/mipi-dbi.c | 10 ++
drivers/spi/spi-bcm2835.c | 15 +---
3 files chang
Add bcm2835_spi_transfer_one_message in spi-bcm2835.c. This function calls
the helper spi_split_transfers_maxsize before calling spi_transfer_one_message
to split the message into smaller chunks to be able to use dma.
Signed-off-by: Meghana Madhyastha
---
drivers/spi/spi-bcm2835.c | 14
able to
accomodate upto 65535 bytes for dma transfers, the splitting of chunks to 65535
bytes results in a dma transfer time out error. However, when the chunks are
split to <64 bytes it seems to work fine.
Changes in v2:
-Patch 2 did not exist in v1.
Meghana Madhyastha (2):
drm/tinydrm: Remo
nsfer length in bcm2835_spi_can_dma().
Signed-off-by: Meghana Madhyastha
---
drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 48 --
drivers/gpu/drm/tinydrm/mipi-dbi.c | 10 ++
drivers/spi/spi-bcm2835.c | 15 +---
3 files chang
Replace of_find_backlight_by_node and of the code around it
with of_find_backlight helper to avoid repetition of code.
Signed-off-by: Meghana Madhyastha
---
Changes in v19:
-Changed to devm version of of_find_backlight in omapdrm (patch 10)
-removed assigning pdev->dev to variable dev
Replace of_find_backlight_by_node and of the code around it
with of_find_backlight helper to avoid repetition of code.
Reviewed-by: Noralf Trønnes
Reviewed-by: Sean Paul
Signed-off-by: Meghana Madhyastha
---
drivers/gpu/drm/panel/panel-innolux-p079zca.c | 24 -
drivers
Use backlight_enable/disable helpers instead of changing
the property and calling backlight_update_status for cleaner
and simpler code and also to avoid repetitions.
Reviewed-by: Noralf Trønnes
Reviewed-by: Sean Paul
Signed-off-by: Meghana Madhyastha
---
drivers/gpu/drm/omapdrm/displays/panel
Use backlight_enable/disable helpers instead of changing
the property and calling backlight_update_status for cleaner
and simpler code and also to avoid repetitions.
Reviewed-by: Noralf Trønnes
Reviewed-by: Sean Paul
Signed-off-by: Meghana Madhyastha
---
drivers/gpu/drm/panel/panel-innolux
Call devm_of_find_backlight (the devres version) instead of
of_find_backlight.
Reviewed-by: Noralf Trønnes
Reviewed-by: Sean Paul
Signed-off-by: Meghana Madhyastha
---
drivers/gpu/drm/tinydrm/mi0283qt.c | 2 +-
drivers/gpu/drm/tinydrm/st7735r.c | 2 +-
2 files changed, 2 insertions(+), 2
Add devm_of_find_backlight and the corresponding release
function because some drivers use devres versions of functions
for acquiring device resources.
Acked-by: Daniel Thompson
Reviewed-by: Noralf Trønnes
Reviewed-by: Sean Paul
Signed-off-by: Meghana Madhyastha
---
drivers/video/backlight
hack that is no longer needed.
Reviewed-by: Noralf Trønnes
Reviewed-by: Sean Paul
Signed-off-by: Meghana Madhyastha
---
drivers/gpu/drm/tinydrm/Kconfig| 2 --
drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 40 --
drivers/gpu/drm/tinydrm/mi0283qt.c
Add of_find_backlight, a helper function which is a generic version
of tinydrm_of_find_backlight that can be used by other drivers to avoid
repetition of code and simplify things.
Acked-by: Daniel Thompson
Reviewed-by: Noralf Trønnes
Reviewed-by: Sean Paul
Signed-off-by: Meghana Madhyastha
Remove tinydrm_enable/disable_backlight and let the callers call the
more generic backlight_enable/disable helpers
Reviewed-by: Noralf Trønnes
Reviewed-by: Sean Paul
Signed-off-by: Meghana Madhyastha
---
drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 55 --
drivers
-by: Daniel Thompson
Reviewed-by: Noralf Trønnes
Reviewed-by: Sean Paul
Signed-off-by: Meghana Madhyastha
---
include/linux/backlight.h | 32
1 file changed, 32 insertions(+)
diff --git a/include/linux/backlight.h b/include/linux/backlight.h
index af7003548
Move drm helper functions from tinydrm-helpers to linux/backlight for
ease of use by callers in other drivers.
Changes in v19:
-Changed to devm version of of_find_backlight in omapdrm (patch 10)
-removed assigning pdev->dev to variable dev in omapdrm (patch 10)
Meghana Madhyastha (10):
vi
On Tue, Jan 23, 2018 at 03:37:38PM +0100, Noralf Trønnes wrote:
>
> Den 22.01.2018 15.56, skrev Meghana Madhyastha:
> >Replace of_find_backlight_by_node and of the code around it
> >with of_find_backlight helper to avoid repetition of code.
> >
> >Sig
Replace of_find_backlight_by_node and of the code around it
with of_find_backlight helper to avoid repetition of code.
Signed-off-by: Meghana Madhyastha
---
Changes in v18:
-Fixed warnings resulting from passing device_node* to of_find_backlight.
Fixed it by passing struct device* to
Replace of_find_backlight_by_node and of the code around it
with of_find_backlight helper to avoid repetition of code.
Signed-off-by: Meghana Madhyastha
---
Changes in v18:
-Fixed warnings resulting from passing device_node* to of_find_backlight.
Fixed it by passing struct device* to
Use backlight_enable/disable helpers instead of changing
the property and calling backlight_update_status for cleaner
and simpler code and also to avoid repetitions.
Signed-off-by: Meghana Madhyastha
---
drivers/gpu/drm/panel/panel-innolux-p079zca.c | 6 ++
drivers/gpu/drm/panel/panel
Use backlight_enable/disable helpers instead of changing
the property and calling backlight_update_status for cleaner
and simpler code and also to avoid repetitions.
Signed-off-by: Meghana Madhyastha
---
drivers/gpu/drm/omapdrm/displays/panel-dpi.c | 11 ++-
1 file changed, 2 insertions
Call devm_of_find_backlight (the devres version) instead of
of_find_backlight.
Signed-off-by: Meghana Madhyastha
---
Reviewed-by: Noralf Trønnes
Reviewed-by: Sean Paul
drivers/gpu/drm/tinydrm/mi0283qt.c | 2 +-
drivers/gpu/drm/tinydrm/st7735r.c | 2 +-
2 files changed, 2 insertions(+), 2
hack that is no longer needed.
Signed-off-by: Meghana Madhyastha
---
Reviewed-by: Noralf Trønnes
Reviewed-by: Sean Paul
drivers/gpu/drm/tinydrm/Kconfig| 2 --
drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 40 --
drivers/gpu/drm/tinydrm/mi0283qt.c
Add devm_of_find_backlight and the corresponding release
function because some drivers use devres versions of functions
for acquiring device resources.
Signed-off-by: Meghana Madhyastha
---
Acked-by: Daniel Thompson
Reviewed-by: Noralf Trønnes
Reviewed-by: Sean Paul
drivers/video/backlight
Add of_find_backlight, a helper function which is a generic version
of tinydrm_of_find_backlight that can be used by other drivers to avoid
repetition of code and simplify things.
Signed-off-by: Meghana Madhyastha
---
Acked-by: Daniel Thompson
Reviewed-by: Noralf Trønnes
Reviewed-by: Sean Paul
Remove tinydrm_enable/disable_backlight and let the callers call the
more generic backlight_enable/disable helpers
Signed-off-by: Meghana Madhyastha
---
Reviewed-by: Noralf Trønnes
Reviewed-by: Sean Paul
drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 55 --
drivers
Move drm helper functions from tinydrm-helpers to linux/backlight for
ease of use by callers in other drivers.
Changes in v18:
-Fixed warnings resulting from passing device_node* to of_find_backlight.
Fixed it by passing struct device* to of_find_backlight
Meghana Madhyastha (10):
video
-off-by: Meghana Madhyastha
---
Acked-by: Daniel Thompson
Reviewed-by: Noralf Trønnes
Reviewed-by: Sean Paul
include/linux/backlight.h | 32
1 file changed, 32 insertions(+)
diff --git a/include/linux/backlight.h b/include/linux/backlight.h
index af7003548
Replace of_find_backlight_by_node and of the code around it
with of_find_backlight helper to avoid repetition of code.
Signed-off-by: Meghana Madhyastha
---
changes in v17:
-remove put_device() to avoid double put
as we are using the devm version
drivers/gpu/drm/omapdrm/displays/panel-dpi.c
Replace of_find_backlight_by_node and of the code around it
with of_find_backlight helper to avoid repetition of code.
Signed-off-by: Meghana Madhyastha
---
changes in v17:
-remove put_device() to avoid double put
as we are using the devm version
drivers/gpu/drm/panel/panel-innolux-p079zca.c
Use backlight_enable/disable helpers instead of changing
the property and calling backlight_update_status for cleaner
and simpler code and also to avoid repetitions.
Signed-off-by: Meghana Madhyastha
---
changes in v17:
-remove redundant NULL check
drivers/gpu/drm/panel/panel-innolux-p079zca.c
Use backlight_enable/disable helpers instead of changing
the property and calling backlight_update_status for cleaner
and simpler code and also to avoid repetitions.
Signed-off-by: Meghana Madhyastha
---
changes in v17:
-remove redundant NULL check
drivers/gpu/drm/omapdrm/displays/panel-dpi.c
Call devm_of_find_backlight (the devres version) instead of
of_find_backlight.
Signed-off-by: Meghana Madhyastha
---
changes in v17:
-convert st7735r callers from tinydrm specific helpers
to new generic backlight helpers
drivers/gpu/drm/tinydrm/mi0283qt.c | 2 +-
drivers/gpu/drm/tinydrm
Add devm_of_find_backlight and the corresponding release
function because some drivers use devres versions of functions
for acquiring device resources.
Signed-off-by: Meghana Madhyastha
---
changes in v17:
-fix checkpath errors/warnings
-rename devm_backlight_put to
devm_backlight_release
hack that is no longer needed.
Signed-off-by: Meghana Madhyastha
---
changes in v17:
-rebase with drm-misc-next
-convert st7735r callers from tinydrm specific helpers
to new generic backlight helpers
-remove select BACKLIGHT_LCD_SUPPORT
and select BACKLIGHT_CLASS_DEVICE from
tinydrm/Kconfig
Add of_find_backlight, a helper function which is a generic version
of tinydrm_of_find_backlight that can be used by other drivers to avoid
repetition of code and simplify things.
Signed-off-by: Meghana Madhyastha
---
changes in v17:
-rebase with drm-misc-next
-convert st7735r callers from
Remove tinydrm_enable/disable_backlight and let the callers call the
more generic backlight_enable/disable helpers
Signed-off-by: Meghana Madhyastha
---
changes in v17:
-rebase with drm-misc-next
drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 55 --
drivers/gpu/drm
-off-by: Meghana Madhyastha
---
changes in v17:
-set fb_blank along with clearing the BL_CORE_FBBLANK bit
include/linux/backlight.h | 32
1 file changed, 32 insertions(+)
diff --git a/include/linux/backlight.h b/include/linux/backlight.h
index af7003548..ace825e2c
devm_backlight_put to
devm_backlight_release
-remove redundant NULL check
-remove put_device() to avoid double put
as we are using the devm version
Meghana Madhyastha (10):
video: backlight: Add helpers to enable and disable backlight
drm/tinydrm: Convert tinydrm_enable/disable_backlight to
On Tue, Jan 16, 2018 at 06:08:53PM +0100, Noralf Trønnes wrote:
>
> Den 16.01.2018 11.36, skrev Meghana Madhyastha:
> >Replace of_find_backlight_by_node and of the code around it
> >with of_find_backlight helper to avoid repetition of code.
> >
> >Sig
On Wed, Jan 17, 2018 at 05:09:57PM +, Daniel Thompson wrote:
> On 16/01/18 10:34, Meghana Madhyastha wrote:
> >Add devm_of_find_backlight and the corresponding release
> >function because some drivers use devres versions of functions
> >for acquiring device resources.
On Wed, Jan 17, 2018 at 11:03:24PM +0100, Noralf Trønnes wrote:
>
> Den 17.01.2018 18.00, skrev Daniel Thompson:
> >
> >
> >On 16/01/18 10:31, Meghana Madhyastha wrote:
> >>Add helper functions backlight_enable and backlight_disable to
> >>enable/disable
Replace of_find_backlight_by_node and of the code around it
with of_find_backlight helper to avoid repetition of code.
Signed-off-by: Meghana Madhyastha
---
drivers/gpu/drm/omapdrm/displays/panel-dpi.c | 10 +++---
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/drivers/gpu
Replace of_find_backlight_by_node and of the code around it
with of_find_backlight helper to avoid repetition of code.
Signed-off-by: Meghana Madhyastha
---
drivers/gpu/drm/panel/panel-innolux-p079zca.c | 10 +++---
drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c | 10 +++---
drivers
Use backlight_enable/disable helpers instead of changing
the property and calling backlight_update_status for cleaner
and simpler code and also to avoid repetitions.
Signed-off-by: Meghana Madhyastha
---
drivers/gpu/drm/omapdrm/displays/panel-dpi.c | 12
1 file changed, 4
Use backlight_enable/disable helpers instead of changing
the property and calling backlight_update_status for cleaner
and simpler code and also to avoid repetitions.
Signed-off-by: Meghana Madhyastha
---
drivers/gpu/drm/panel/panel-innolux-p079zca.c | 6 ++
drivers/gpu/drm/panel/panel
Call devm_of_find_backlight (the devres version) instead of
of_find_backlight.
Signed-off-by: Meghana Madhyastha
---
drivers/gpu/drm/tinydrm/mi0283qt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/tinydrm/mi0283qt.c
b/drivers/gpu/drm/tinydrm/mi0283qt.c
Add devm_of_find_backlight and the corresponding release
function because some drivers use devres versions of functions
for acquiring device resources.
Signed-off-by: Meghana Madhyastha
---
drivers/video/backlight/backlight.c | 29 +
include/linux/backlight.h
Remove tinydrm_of_find_backlight from tinydrm-helpers.c. We now have
a generic of_find_backlight defined in backlight.c. Let the callers
of tinydrm_of_find_backlight call of_find_backlight.
Signed-off-by: Meghana Madhyastha
---
drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 40
Add of_find_backlight, a helper function which is a generic version
of tinydrm_of_find_backlight that can be used by other drivers to avoid
repetition of code and simplify things.
Signed-off-by: Meghana Madhyastha
---
Changes in v16:
-Add comment about brightness in of_find_backlight
drivers
Remove tinydrm_enable/disable_backlight and let the callers call the
more generic backlight_enable/disable helpers
Signed-off-by: Meghana Madhyastha
---
drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 55 --
drivers/gpu/drm/tinydrm/mipi-dbi.c | 4
-off-by: Meghana Madhyastha
---
include/linux/backlight.h | 30 ++
1 file changed, 30 insertions(+)
diff --git a/include/linux/backlight.h b/include/linux/backlight.h
index af7003548..7b6a9a2a3 100644
--- a/include/linux/backlight.h
+++ b/include/linux/backlight.h
Move drm helper functions from tinydrm-helpers to linux/backlight for
ease of use by callers in other drivers.
Changes in v16:
-Add a comment about setting brightness = max_brightness in of_find_backlight
-Add dri-devel and linux-kernel mailing lists
Meghana Madhyastha (10):
video: backlight
On Thu, Dec 21, 2017 at 11:52:43AM +0100, Noralf Trønnes wrote:
>
> Den 11.12.2017 18.56, skrev Noralf Trønnes:
> >
> >Den 11.12.2017 18.45, skrev Noralf Trønnes:
> >>
> >>Den 11.12.2017 15.58, skrev Meghana Madhyastha:
> >>>On Mon, Dec 11
On Mon, Dec 11, 2017 at 03:12:06PM +0100, Noralf Trønnes wrote:
>
> Den 11.12.2017 14.17, skrev Meghana Madhyastha:
> >On Sat, Dec 09, 2017 at 03:09:28PM +0100, Noralf Trønnes wrote:
> >>Den 21.10.2017 13.55, skrev Meghana Madhyastha:
> >>>Changes in v14:
> &g
On Sat, Dec 09, 2017 at 03:09:28PM +0100, Noralf Trønnes wrote:
>
> Den 21.10.2017 13.55, skrev Meghana Madhyastha:
> >Changes in v14:
> >- s/backlight_get/of_find_backlight/ in patch 2/3
> >- Change commit message in patch 3/3 from requiring to acquiring
> >
> &
On Tue, Oct 24, 2017 at 06:45:34PM +0200, Noralf Trønnes wrote:
>
> Den 24.10.2017 17.42, skrev Sean Paul:
> >On Sat, Oct 21, 2017 at 05:27:33PM +0530, Meghana Madhyastha wrote:
> >>Rename tinydrm_of_find_backlight to of_find_backlight and move
> >>it to linux/back
Add devm_of_find_backlight and the corresponding release
function because some drivers use devres versions of functions
for acquiring device resources.
Signed-off-by: Meghana Madhyastha
---
Changes in v14:
- s/devm_backlight_get/devm_of_find_backlight/
- change commit message from requiring to
Rename tinydrm_of_find_backlight to of_find_backlight and move
it to linux/backlight.c so that it can be used by other drivers.
Signed-off-by: Meghana Madhyastha
---
Changes in v14:
-s/backlight_get/of_find_backlight/
drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 40
Move the helper functions enable_backlight and disable_backlight
from tinydrm-helpers.c to backlight.h as static inline functions so
that they can be used by other drivers.
Signed-off-by: Meghana Madhyastha
---
Changes in v14:
- None
drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 55
Changes in v14:
- s/backlight_get/of_find_backlight/ in patch 2/3
- Change commit message in patch 3/3 from requiring to acquiring
Meghana Madhyastha (3):
drm/tinydrm: Move helper functions from tinydrm-helpers to backlight.h
drm/tinydrm: Move tinydrm_of_find_backlight to backlight.c
drm
On Mon, Oct 16, 2017 at 02:26:00PM -0400, Sean Paul wrote:
> On Fri, Oct 13, 2017 at 6:42 PM, Noralf Trønnes wrote:
> >
> > Den 13.10.2017 22.25, skrev Sean Paul:
> >>
> >> On Fri, Oct 13, 2017 at 04:11:43PM +0530, Meghana Madhyastha wrote:
> >>&
Add devm_backlight_get and the corresponding release
function because some drivers use devres versions of functions
for requiring device resources.
Signed-off-by: Meghana Madhyastha
---
Changes in v13:
-Add devm_backlight_put to backlight.c
drivers/gpu/drm/tinydrm/mi0283qt.c | 2 +-
drivers
Rename tinydrm_of_find_backlight to backlight_get and move it
to linux/backlight.c so that it can be used by other drivers.
Signed-off-by: Meghana Madhyastha
---
Changes in v13:
-Add backlight_put to backlight.h in this patch
drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 40
Move the helper functions enable_backlight and disable_backlight
from tinydrm-helpers.c to backlight.h as static inline functions so
that they can be used by other drivers.
Signed-off-by: Meghana Madhyastha
---
Changes in v13:
-None
drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 55
Move drm helper functions from tinydrm-helpers to linux/backlight for
ease of use by callers in other drivers.
Changes in v13:
-Rebase against drm-misc
-Put devm_backlight_put back
Meghana Madhyastha (3):
drm/tinydrm: Move helper functions from tinydrm-helpers to backlight.h
drm/tinydrm
Add devm_backlight_get and the corresponding release
function because some drivers use devres versions of functions
for requiring device resources.
Signed-off-by: Meghana Madhyastha
---
Changes in v12:
-Move backlight_put() to the patch 2/3 from patch 3/3.
drivers/gpu/drm/tinydrm/mi0283qt.c
Rename tinydrm_of_find_backlight to backlight_get and move it
to linux/backlight.c so that it can be used by other drivers.
Signed-off-by: Meghana Madhyastha
---
Changes in v12:
-Move backlight_put() to the patch 2/3 from patch 3/3.
-Remove #if IS_ENABLED(CONFIG_BACKLIGHT_CLASS_DEVICE)..#endif
Move the helper functions enable_backlight and disable_backlight
from tinydrm-helpers.c to backlight.h as static inline functions so
that they can be used by other drivers.
Signed-off-by: Meghana Madhyastha
---
Changes in v12:
-None
drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 55
x27;t enabled
Meghana Madhyastha (3):
drm/tinydrm: Move helper functions from tinydrm-helpers to backlight.h
drm/tinydrm: Move tinydrm_of_find_backlight to backlight.c
drm/tinydrm: Add devres versions of backlight_get
drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c
Add devm_backlight_get and the corresponding release
function because some drivers use devres versions of functions
for requiring device resources.
Signed-off-by: Meghana Madhyastha
---
Changes in v11:
-None
drivers/gpu/drm/tinydrm/mi0283qt.c | 2 +-
drivers/video/backlight/backlight.c | 31
Rename tinydrm_of_find_backlight to backlight_get and move it
to linux/backlight.c so that it can be used by other drivers.
Signed-off-by: Meghana Madhyastha
---
Changes in v11:
-None
drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 40 --
drivers/gpu/drm/tinydrm
Move the helper functions enable_backlight and disable_backlight
from tinydrm-helpers.c to backlight.h as static inline functions so
that they can be used by other drivers.
Signed-off-by: Meghana Madhyastha
---
Changes in v11:
-Move over tinydrm_disable_backlight to backlight_disable in the
Move drm helper functions from tinydrm-helpers to linux/backlight for
ease of use by callers in other drivers.
Changes in v11:
-Move over tinydrm_disable_backlight to backlight_disable in the caller
in mipi-dbi.c
Meghana Madhyastha (3):
drm/tinydrm: Move helper functions from tinydrm-helpers
Add devm_backlight_get and the corresponding release
function because some drivers use devres versions of functions
for requiring device resources.
Signed-off-by: Meghana Madhyastha
---
Changes in v10:
-None
drivers/gpu/drm/tinydrm/mi0283qt.c | 2 +-
drivers/video/backlight/backlight.c | 31
Rename tinydrm_of_find_backlight to backlight_get and move it
to linux/backlight.c so that it can be used by other drivers.
Signed-off-by: Meghana Madhyastha
---
Changes in v10:
-None
drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 40 --
drivers/gpu/drm/tinydrm
Move the helper functions enable_backlight and disable_backlight
from tinydrm-helpers.c to backlight.h as static inline functions so
that they can be used by other drivers.
Signed-off-by: Meghana Madhyastha
---
Changes in v10:
-Change from enable_backlight to backlight_enable
drivers/gpu/drm
Move drm helper functions from tinydrm-helpers to linux/backlight for
ease of use by callers in other drivers.
Changes in v10:
-Change enable_backlight to backlight_enable
Meghana Madhyastha (3):
drm/tinydrm: Move helper functions from tinydrm-helpers to backlight.h
drm/tinydrm: Move
Add devm_backlight_get and the corresponding release
function because some drivers use devres versions of functions
for requiring device resources.
Signed-off-by: Meghana Madhyastha
---
Changes in v9:
-Change function name from devm_backlight_get_release to
devm_backlight_put because it is more
Rename tinydrm_of_find_backlight to backlight_get and move it
to linux/backlight.c so that it can be used by other drivers.
Signed-off-by: Meghana Madhyastha
---
Changes in v9:
-None
drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 40 --
drivers/gpu/drm/tinydrm
Move the helper functions enable_backlight and disable_backlight
from tinydrm-helpers.c to backlight.h as static inline functions so
that they can be used by other drivers.
Signed-off-by: Meghana Madhyastha
---
Changes in v9:
-None
drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 55
Move drm helper functions from tinydrm-helpers to linux/backlight for
ease of use by callers in other drivers.
Changes in v9:
-Change function name from devm_backlight_get_release to
devm_backlight_put because it is more apt name.
Meghana Madhyastha (3):
drm/tinydrm: Move helper functions from
On Wed, Oct 11, 2017 at 04:56:25PM +0300, Jani Nikula wrote:
> On Wed, 11 Oct 2017, Meghana Madhyastha wrote:
> > Add devm_backlight_get and the corresponding release
> > function because some drivers use devres versions of functions
> > for requiring device resources.
Add devm_backlight_get and the corresponding release
function because some drivers use devres versions of functions
for requiring device resources.
Signed-off-by: Meghana Madhyastha
---
Changes in v8:
-Put the devres version to backlight.c along with backlight_get.
drivers/gpu/drm/tinydrm
Rename tinydrm_of_find_backlight to backlight_get and move it
to linux/backlight.c so that it can be used by other drivers.
Signed-off-by: Meghana Madhyastha
---
Changes in v8:
-Changed the name of the tinydrm_of_find_backlight to backlight_get and moved
it to
backlight.c
drivers/gpu/drm
Move the helper functions enable_backlight and disable_backlight
from tinydrm-helpers.c to backlight.h as static inline functions so
that they can be used by other drivers.
Signed-off-by: Meghana Madhyastha
---
Changes in v8:
-This patch was not present in the earlier versions.
drivers/gpu/drm
.
Meghana Madhyastha (3):
drm/tinydrm: Move helper functions from tinydrm-helpers to backlight.h
drm/tinydrm: Move tinydrm_of_find_backlight to backlight.c
drm/tinydrm: Add devres versions of backlight_get
drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 95 --
drivers
On Tue, Oct 03, 2017 at 07:38:29PM +0200, Noralf Trønnes wrote:
>
> Den 03.10.2017 18.02, skrev Noralf Trønnes:
> >
> >Den 03.10.2017 16.58, skrev Noralf Trønnes:
> >>
> >>Den 02.10.2017 10.13, skrev Jani Nikula:
> >>>On Mon, 02 Oct 2017, Daniel Vetter wrote:
> Also adding Jani, who looked at
On Sun, Oct 01, 2017 at 04:47:26PM +0200, Noralf Trønnes wrote:
>
> Den 01.10.2017 15.34, skrev Meghana Madhyastha:
> >On Sun, Oct 01, 2017 at 03:26:36PM +0200, Noralf Trønnes wrote:
> >>Den 01.10.2017 06.14, skrev Meghana Madhyastha:
> >>>On Sat, Sep 30, 2017 at
Add devm_drm_of_find_backlight and the corresponding release
function because some drivers use devres versions of functions
for requiring device resources.
Signed-off-by: Meghana Madhyastha
---
Changes in v7:
-None
drivers/gpu/drm/drm_of.c | 40
along
with the other _of.c functions.
Signed-off-by: Meghana Madhyastha
---
Changes in v7:
-Move function declarations back to drm_of.h
drivers/gpu/drm/drm_of.c | 45 ++
drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 40
Add IS_ENABLED(CONFIG_BACKLIGHT_CLASS_DEVICE) as part of the
if directive for the function declaration of
of_find_backlight_by_node in order to avoid module dependency
errors.
Signed-off-by: Meghana Madhyastha
---
Changes in v7:
-This patch did not exist in v6.
include/linux/backlight.h | 2
errors.
Meghana Madhyastha (3):
backlight: Add IS_ENABLED(CONFIG_BACKLIGHT_CLASS_DEVICE)
drm/tinydrm: Move tinydrm_of_find_backlight into drm_of.c
drm/tinydrm: Add devres versions of drm_of_find_backlight
drivers/gpu/drm/drm_of.c | 85
1 - 100 of 147 matches
Mail list logo