, but no
answer yet:
Can I do register initialization from Device Tree?
http://www.spinics.net/lists/devicetree/msg68174.html
Regards,
Noralf Trønnes
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info
Den 20.01.2015 09:46, skrev Paul Bolle:
Thomas, Noralf,
Your commit c296d5f9957c (staging: fbtft: core support) is included in
today's linux-next (ie, next-20150120). I noticed because a script I use
to check linux-next spotted a problem in it.
See, that commit adds two checks for
Den 02.03.2015 20:21, skrev Andrey Skvortsov:
On 02 Mar, Joe Perches wrote:
On Mon, 2015-03-02 at 12:37 +0300, Dan Carpenter wrote:
On Sat, Feb 28, 2015 at 06:59:19AM -0800, Joe Perches wrote:
If you're really going to change these, please
remove the unnecessary \ line continuations
indent
Den 03.03.2015 11:19, skrev Drew Fustini:
Move extern declartions from fbtft-core.c to fbtft header file. This resovles
the warning from checkpatch.pl that externs should be avoided in .c files.
Signed-off-by: Drew Fustini pdp7p...@gmail.com
---
drivers/staging/fbtft/fbtft-core.c | 5 -
and nowhere else.
Regards,
Noralf Trønnes
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Den 05.05.2015 02:07, skrev Eric Anholt:
Noralf Trønnes nor...@tronnes.org writes:
Den 04.05.2015 21:33, skrev Eric Anholt:
There exists a tiny MMU, configurable only by the VC (running the
closed firmware), which maps from the ARM's physical addresses to bus
addresses. These bus addresses
Den 01.05.2015 23:07, skrev Martin Sperl:
Tests with the initial (and incomplete) version of the spi-bcm2835 driver
with DMA transfer support show that the dma-engine works as expected with
this patch.
There is one one observation:
On 18.04.2015, at 13:06, Noralf Trønnes nor...@tronnes.org
, is that mmc and spi works fine with a wrong
bus address. It's only the framebuffer driver and the vchiq driver
when using mailbox that fails.
Tested-by: Noralf Trønnes nor...@tronnes.org
Regards,
Noralf Trønnes
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body
Den 08.05.2015 10:33, skrev Alexander Stein:
On Thursday 07 May 2015, 12:54:20 wrote Eric Anholt:
Noralf Trønnes nor...@tronnes.org writes:
Den 05.05.2015 22:27, skrev Eric Anholt:
From: Lubomir Rintel lkund...@v3.sk
This mailbox driver provides a single mailbox channel to write 32-bit
Den 05.05.2015 22:27, skrev Eric Anholt:
From: Lubomir Rintel lkund...@v3.sk
This mailbox driver provides a single mailbox channel to write 32-bit
values to the VPU and get a 32-bit response. The Raspberry Pi
firmware uses this mailbox channel to implement firmware calls, while
Roku 2
Den 13.05.2015 21:00, skrev Eric Anholt:
This driver will provide support for calls into the firmware that will
be used by other drivers like cpufreq and vc4.
Signed-off-by: Eric Anholt e...@anholt.net
---
v2: Improve commit message, point to mailbox.txt for how mboxes work.
Den 13.05.2015 21:00, skrev Eric Anholt:
This gives us a function for making mailbox property channel requests
of the firmware, which is most notable in that it will let us get and
set clock rates.
Signed-off-by: Eric Anholt e...@anholt.net
---
v2: Drop power-domains stuff for now since we
Den 05.05.2015 22:27, skrev Eric Anholt:
From: Lubomir Rintel lkund...@v3.sk
This mailbox driver provides a single mailbox channel to write 32-bit
values to the VPU and get a 32-bit response. The Raspberry Pi
firmware uses this mailbox channel to implement firmware calls, while
Roku 2
Hi,
Den 18.04.2015 13:06, skrev Noralf Trønnes:
Add slave transfer capability to BCM2835 dmaengine driver.
This patch is pulled from the bcm2708-dmaengine driver in the
Raspberry Pi repo. The work was done by Gellert Weisz.
Tested using the bcm2835-mmc driver from the same repo.
Signed-off
Den 13.05.2015 21:00, skrev Eric Anholt:
This gives us a function for making mailbox property channel requests
of the firmware, which is most notable in that it will let us get and
set clock rates.
Signed-off-by: Eric Anholt e...@anholt.net
---
[...]
+/*
+ * Submits a single tag to the VPU
Den 15.04.2015 16:37, skrev Martin Sperl:
On 15.04.2015, at 11:56, Noralf Trønnes nor...@tronnes.org wrote:
+#define MAX_LITE_TRANSFER (SZ_64K - 1)
+#define MAX_NORMAL_TRANSFERSZ_1G
...
+ if (c-ch = 8) /* LITE channel */
+ max_size = MAX_LITE_TRANSFER
Den 16.04.2015 08:30, skrev Rogier Wolff:
On Wed, Apr 15, 2015 at 08:53:07PM +0200, Noralf Trønnes wrote:
A 16-bit register can't hold a value of 65536.
Either the max value is 65535 or the register is 17-bits wide.
It is common for hardware registers to have the value 0 mean 65536
in case
Den 16.04.2015 21:06, skrev Alexander Stein:
Hi Stefan,
On Wednesday 15 April 2015, 21:00:26 wrote Stefan Wahren:
Am 15.04.2015 um 11:56 schrieb Noralf Trønnes:
Add slave transfer capability to BCM2835 dmaengine driver.
This patch is pulled from the bcm2708-dmaengine driver in the
Raspberry
Den 15.04.2015 21:00, skrev Stefan Wahren:
Hi Noralf,
Am 15.04.2015 um 11:56 schrieb Noralf Trønnes:
Add slave transfer capability to BCM2835 dmaengine driver.
This patch is pulled from the bcm2708-dmaengine driver in the
Raspberry Pi repo. The work was done by Gellert Weisz.
Tested
Hi Stefan,
Den 17.04.2015 19:08, skrev Stefan Wahren:
Hi Noralf,
Am 17.04.2015 um 00:09 schrieb Noralf Trønnes:
Den 15.04.2015 21:00, skrev Stefan Wahren:
Hi Noralf,
Am 15.04.2015 um 11:56 schrieb Noralf Trønnes:
Add slave transfer capability to BCM2835 dmaengine driver.
This patch
Add slave transfer capability to BCM2835 dmaengine driver.
This patch is pulled from the bcm2708-dmaengine driver in the
Raspberry Pi repo. The work was done by Gellert Weisz.
Tested using the bcm2835-mmc driver from the same repo.
Signed-off-by: Noralf Trønnes nor...@tronnes.org
---
Gellert
Add slave transfer capability to BCM2835 dmaengine driver.
This patch is pulled from the bcm2708-dmaengine driver in the
Raspberry Pi repo. The work was done by Gellert Weisz.
Tested with the bcm2835-mmc driver from the same repo.
Signed-off-by: Noralf Trønnes nor...@tronnes.org
---
Gellert
The Raspberry Pi uses a new value for halt in the PM_RSTS watchdog
register. Expand the compatible string to cover this.
Signed-off-by: Noralf Trønnes nor...@tronnes.org
---
arch/arm/boot/dts/bcm2835-rpi.dtsi | 4
arch/arm/boot/dts/bcm2835.dtsi | 2 +-
2 files changed, 5 insertions
The Raspberry Pi has changed how it's firmware detects a poweroff
and needs special handling for this.
Signed-off-by: Noralf Trønnes nor...@tronnes.org
---
Documentation/devicetree/bindings/watchdog/brcm,bcm2835-pm-wdog.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
partition used by
the firmware to indicate halt.
The firmware made this change in 19 Aug 2013 and was matched
by the downstream commit:
Changes for new NOOBS multi partition booting from gsh
Signed-off-by: Noralf Trønnes nor...@tronnes.org
---
drivers/watchdog/bcm2835_wdt.c | 38
Den 18.06.2015 04:26, skrev Stephen Warren:
On 06/12/2015 11:26 AM, Noralf Trønnes wrote:
Add a duplicate irq range with an offset on the hwirq's so the
driver can detect that enable_fiq() is used.
Tested with downstream dwc_otg USB controller driver.
This basically looks OK, but a few
Den 18.06.2015 15:32, skrev Noralf Trønnes:
Den 18.06.2015 04:26, skrev Stephen Warren:
On 06/12/2015 11:26 AM, Noralf Trønnes wrote:
Add a duplicate irq range with an offset on the hwirq's so the
driver can detect that enable_fiq() is used.
Tested with downstream dwc_otg USB controller
Den 17.06.2015 03:28, skrev Stephen Warren:
On 06/16/2015 03:39 AM, Noralf Trønnes wrote:
Den 16.06.2015 05:07, skrev Stephen Warren:
On 06/13/2015 05:39 AM, Noralf Trønnes wrote:
This adds a new poweroff function to the watchdog driver for the
Raspberry Pi. Currently poweroff/halt results
this change in 19 Aug 2013 and was matched
by the downstream commit:
Changes for new NOOBS multi partition booting from gsh
Signed-off-by: Noralf Trønnes nor...@tronnes.org
---
v2: Fix typo in commit message
v3: Only Raspberry Pi is supported so it's ok to just modify
the poweroff function (Stephen
The Raspberry Pi uses a new value for halt in the PM_RSTS watchdog
register. Expand the compatible string to cover this.
Signed-off-by: Noralf Trønnes nor...@tronnes.org
---
arch/arm/boot/dts/bcm2835-rpi.dtsi | 4
arch/arm/boot/dts/bcm2835.dtsi | 2 +-
2 files changed, 5 insertions
partition used by
the firmware to indicate halt.
The firmware made this change in 19 Aug 2013 and was matched
by the downstream commit:
Changes for new NOOBS multi partition booting from gsh
Signed-off-by: Noralf Trønnes nor...@tronnes.org
Acked-by: Guenter Roeck li...@roeck-us.net
---
drivers
The Raspberry Pi has changed how its firmware detects a poweroff
and needs special handling for this.
Signed-off-by: Noralf Trønnes nor...@tronnes.org
---
v2: Fix typo in commit message
Documentation/devicetree/bindings/watchdog/brcm,bcm2835-pm-wdog.txt | 3 ++-
1 file changed, 2 insertions
Den 16.06.2015 05:07, skrev Stephen Warren:
On 06/13/2015 05:39 AM, Noralf Trønnes wrote:
This adds a new poweroff function to the watchdog driver for the
Raspberry Pi. Currently poweroff/halt results in a reboot.
The Raspberry Pi firmware uses the RSTS register to know which
partiton to boot
Add a duplicate irq range with an offset on the hwirq's so the
driver can detect that enable_fiq() is used.
Tested with downstream dwc_otg USB controller driver.
Signed-off-by: Noralf Trønnes nor...@tronnes.org
---
arch/arm/mach-bcm/Kconfig | 1 +
drivers/irqchip/irq-bcm2835.c | 53
Den 28.05.2015 23:17, skrev Stephen Warren:
On 05/13/2015 01:00 PM, Eric Anholt wrote:
This gives us a function for making mailbox property channel requests
of the firmware, which is most notable in that it will let us get and
set clock rates.
...
Note that I don't think I've done what
Den 29.05.2015 00:38, skrev Eric Anholt:
Noralf Trønnes nor...@tronnes.org writes:
Den 28.05.2015 20:33, skrev Eric Anholt:
This gives us a function for making mailbox property channel requests
of the firmware, which is most notable in that it will let us get and
set clock rates.
Signed
Den 28.05.2015 23:28, skrev Stephen Warren:
On 05/28/2015 12:33 PM, Eric Anholt wrote:
This gives us a function for making mailbox property channel requests
of the firmware, which is most notable in that it will let us get and
set clock rates.
...
+int rpi_firmware_property_list(struct
Den 28.05.2015 20:33, skrev Eric Anholt:
This gives us a function for making mailbox property channel requests
of the firmware, which is most notable in that it will let us get and
set clock rates.
Signed-off-by: Eric Anholt e...@anholt.net
...
+static int rpi_firmware_probe(struct
Den 29.05.2015 02:07, skrev Eric Anholt:
This gives us a function for making mailbox property channel requests
of the firmware, which is most notable in that it will let us get and
set clock rates.
...
+/**
+ * rpi_firmware_property_list - Submit firmware property list
+ * @of_node: Pointer
chip controller simply defining a new
flexfb_lcd_controller struct.
Signed-off-by: Fabio Falzoi fabio.falzo...@gmail.com
Acked-by: Noralf Trønnes nor...@tronnes.org
---
Seems I wasn't clear enough, you could use my ack if you put
struct flexfb_lcd_controller inside the driver and not in
fbtft.h
.
Signed-off-by: Noralf Trønnes nor...@tronnes.org
---
drivers/staging/fbtft/fbtft-core.c | 12 +---
drivers/staging/fbtft/fbtft.h | 5 +++--
drivers/staging/fbtft/flexfb.c | 2 +-
3 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/drivers/staging/fbtft/fbtft-core.c
Den 15.07.2015 11:36, skrev Paul Bolle:
On di, 2015-07-14 at 14:59 +0200, Henri Chain wrote:
--- /dev/null
+++ b/drivers/staging/fbtft/fb_uc1611.c
+#define DRVNAMEfb_uc1611
+MODULE_ALIAS(spi: DRVNAME);
+MODULE_ALIAS(platform: DRVNAME);
+MODULE_ALIAS(spi:uc1611);
Den 15.07.2015 04:14, skrev Greg KH:
On Tue, Jun 30, 2015 at 08:43:13AM +0200, Fabio Falzoi wrote:
Use a helper function to choose which set_addr_win implementation to
use, based on the value of the setaddrwin module parameter.
Signed-off-by: Fabio Falzoi fabio.falzo...@gmail.com
---
Den 14.07.2015 14:59, skrev Henri Chain:
This is a driver chip for 240x160 4-bit greyscale LCDs.
It is capable of 4-wire (8 bit) or 3-wire (9 bit) SPI that have both been
tested. (It also has a 6800 or 8080-style parallel interface, but I have
not included support for it.)
Signed-off-by: Henri
Den 18.06.2015 04:26, skrev Stephen Warren:
On 06/12/2015 11:26 AM, Noralf Trønnes wrote:
Add a duplicate irq range with an offset on the hwirq's so the
driver can detect that enable_fiq() is used.
Tested with downstream dwc_otg USB controller driver.
This basically looks OK, but a few
,
+ .height = 160,
+ .init_seq = st7735r_init,
+ .init_seq_sz = ARRAY_SIZE(st7735r_init),
+ },
+ {
Can this be put on one line? }, {
With the struct moved:
Acked-by: Noralf Trønnes nor...@tronnes.org
--
To unsubscribe from this list: send the line unsubscribe
Den 14.07.2015 06:50, skrev Stephen Warren:
On 07/11/2015 09:26 AM, Noralf Trønnes wrote:
Den 11.07.2015 06:09, skrev Stephen Warren:
(Sorry for the slow reply; I was on vacation)
On 06/18/2015 07:32 AM, Noralf Trønnes wrote:
Den 18.06.2015 04:26, skrev Stephen Warren:
On 06/12/2015 11:26
Den 24.08.2015 20:33, skrev Stefan Wahren:
Since bits_per_word isn't usually checked during SPI setup the 9-bit
support must be checked manually.
Signed-off-by: Stefan Wahren stefan.wah...@i2se.com
---
drivers/staging/fbtft/fbtft-core.c |7 +++
drivers/staging/fbtft/flexfb.c |
Den 17.10.2015 20:45, skrev Rob Clark:
On Sat, Oct 17, 2015 at 2:27 PM, Greg Kroah-Hartman
wrote:
On Sat, Oct 17, 2015 at 01:54:43PM -0400, Rob Clark wrote:
On Sat, Oct 17, 2015 at 12:56 PM, Greg Kroah-Hartman
wrote:
I'm guessing the
Den 07.10.2015 22:15, skrev Dennis Menschel:
This patch adds support for the Sitronix ST7789V display controller.
The controller is intended for small color displays with a resolution
of up to 320x240 pixels.
Signed-off-by: Dennis Menschel
---
The future of fbtft is
Den 11.10.2015 09:31, skrev Dennis Menschel:
Am 10.10.2015 um 17:36 schrieb Noralf Trønnes:
Den 07.10.2015 22:15, skrev Dennis Menschel:
This patch adds support for the Sitronix ST7789V display controller.
The controller is intended for small color displays with a resolution
of up to 320x240
Den 11.07.2015 06:09, skrev Stephen Warren:
(Sorry for the slow reply; I was on vacation)
On 06/18/2015 07:32 AM, Noralf Trønnes wrote:
Den 18.06.2015 04:26, skrev Stephen Warren:
On 06/12/2015 11:26 AM, Noralf Trønnes wrote:
Add a duplicate irq range with an offset on the hwirq's so
Den 25.08.2015 19:34, skrev Stefan Wahren:
Noralf Trønnes nor...@tronnes.org hat am 25. August 2015 um 00:00
geschrieben:
Den 24.08.2015 20:33, skrev Stefan Wahren:
Since bits_per_word isn't usually checked during SPI setup the 9-bit
support must be checked manually.
Signed-off-by: Stefan
stefan.wah...@i2se.com
---
drivers/staging/fbtft/fbtft-core.c | 10 +++---
drivers/staging/fbtft/flexfb.c | 11 ---
2 files changed, 7 insertions(+), 14 deletions(-)
Thanks Stefan.
Both patches:
Acked-by: Noralf Trønnes nor...@tronnes.org
--
To unsubscribe from this list
Den 09.09.2015 03:48, skrev Eric Anholt:
ker...@martin.sperl.org writes:
From: Martin Sperl
The BCM2835 contains 3 auxiliar devices:
* spi1
* spi2
* uart1
All of those 3 devices are enabled/disabled via a shared register,
which is set by default to be disabled.
10.09.2015 06:54, skrev Sudip Mukherjee:
On Wed, Sep 09, 2015 at 11:20:08PM +0200, Noralf Trønnes wrote:
Den 09.09.2015 20:35, skrev Greg Kroah-Hartman:
On Sat, Sep 05, 2015 at 07:13:45PM +0530, Sudip Mukherjee wrote:
Instead of defining DRVNAME and using it in all calls to pr_* family
Den 18.06.2015 05:58, skrev Guenter Roeck:
On 06/17/2015 07:04 AM, Noralf Trønnes wrote:
Currently poweroff/halt results in a reboot on the Raspberry Pi.
The firmware uses the RSTS register to know which partiton to
boot from. The partiton value is spread into bits
0, 2, 4, 6, 8, 10. Partiton
Den 22.07.2015 23:32, skrev Eric Anholt:
Noralf Trønnes <nor...@tronnes.org> writes:
Add a duplicate irq range with an offset on the hwirq's so the
driver can detect that enable_fiq() is used.
Tested with downstream dwc_otg USB controller driver.
Signed-off-by: Noralf Trønne
Den 24.09.2015 14:27, skrev Tomi Valkeinen:
Hi all,
fbdev is (more or less) maintained, but it's a deprecated framework. All
new Linux display drivers should be done on DRM.
So let's not add any more new fbdev drivers.
I will continue to maintain the current fbdev drivers, and I don't mind
This adds support for the FT6x06 and the FT6x36 family of
capacitive touch panel controllers, in particular the FT6236.
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
The driver is based on:
https://github.com/adafruit/adafruit-raspberrypi-linux/blob/rpi-3.18.y/drivers/input/touch
This adds support for the FT6x06 and the FT6x36 family of
capacitive touch panel controllers, in particular the FT6236.
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
The driver is based on:
https://github.com/adafruit/adafruit-raspberrypi-linux/blob/rpi-3.18.y/drivers/input/touch
Den 27.09.2015 18:08, skrev Emil Velikov:
Hi all,
On 27 September 2015 at 14:09, Noralf Trønnes <nor...@tronnes.org> wrote:
Den 24.09.2015 14:27, skrev Tomi Valkeinen:
Hi all,
fbdev is (more or less) maintained, but it's a deprecated framework. All
new Linux display drivers should b
Den 09.09.2015 20:35, skrev Greg Kroah-Hartman:
On Sat, Sep 05, 2015 at 07:13:45PM +0530, Sudip Mukherjee wrote:
Instead of defining DRVNAME and using it in all calls to pr_* family of
macros lets start using pr_fmt.
Signed-off-by: Sudip Mukherjee
---
Den 17.12.2015 00:55, skrev Eric Anholt:
This should be a complete port of bcm2835 functionality to bcm2836
(Raspberry Pi 2).
Signed-off-by: Eric Anholt
---
v2: Implement Arnd's feedback to not split to ARCH_BCM2836, and
instead use more conditionals in ARCH_BCM2835.
Den 22.12.2015 20:01, skrev Eric Anholt:
After finally booting the RPi2 I get several messages of:
unexpected IRQ trap at vector 00
while typing _one_ character over uart.
We were doing some debugging of that recently. It seems that every once
in a while we get woken up but nothing shows
Den 12.05.2016 20:25, skrev Noralf Trønnes:
Provides helper functions for drivers that have a simple display
pipeline. Plane, crtc and encoder are collapsed into one entity.
Cc: jsa...@ti.com
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
[...]
diff --git a/drivers/g
Den 10.06.2016 17:34, skrev Daniel Vetter:
On Fri, Jun 10, 2016 at 04:55:59PM +0200, Noralf Trønnes wrote:
Provides helper functions for drivers that have a simple display
pipeline. Plane, crtc and encoder are collapsed into one entity.
Cc: jsa...@ti.com
Signed-off-by: Noralf Trønnes <
Den 09.06.2016 17:08, skrev Michal Suchanek:
txbuflen can be set to arbitrary value by user and it is also set
automagically to the maximum transfer size of the SPI master controller.
AFAICT this is a result of your previous patch. Please make a new version of
your previous patch with this
[resending got rejected on the list for html format]
Den 09.06.2016 19:18, skrev Michal Suchanek:
Hello,
On 9 June 2016 at 18:20, Noralf Trønnes <nor...@tronnes.org> wrote:
Den 09.06.2016 17:08, skrev Michal Suchanek:
txbuflen can be set to arbitrary value by user and it is al
Provides helper functions for drivers that have a simple display
pipeline. Plane, crtc and encoder are collapsed into one entity.
Cc: jsa...@ti.com
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
Changes since v4:
- Remove drm_connector_register() call
- Forgot to assign pipe->
Den 12.05.2016 20:25, skrev Noralf Trønnes:
Provides helper functions for drivers that have a simple display
pipeline. Plane, crtc and encoder are collapsed into one entity.
Cc: jsa...@ti.com
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
[...]
diff --git a/drivers/g
s code of mine looks worse each time I'm confronted with it.)
You have even taken care of the special txbuflen == -1 value I see,
so I guess this is as good as it gets without any major refactoring, so:
Acked-by: Noralf Trønnes <nor...@tronnes.org>
And there's no point in doing any refactoring si
Den 25.04.2016 15:02, skrev Ville Syrjälä:
On Mon, Apr 25, 2016 at 02:55:52PM +0200, Noralf Trønnes wrote:
Den 25.04.2016 14:39, skrev Ville Syrjälä:
On Sun, Apr 24, 2016 at 10:48:55PM +0200, Noralf Trønnes wrote:
Add some utility functions for struct drm_clip_rect.
Looks like mostly you're
This adds deferred io support if CONFIG_FB_DEFERRED_IO is enabled.
The fbdev framebuffer changes are flushed using the callback
(struct drm_framebuffer *)->funcs->dirty() by a dedicated worker
ensuring that it always runs in process context.
Signed-off-by: Noralf Trønnes <nor...@tr
Use the fbdev deferred io support in drm_fb_helper.
The (struct fb_ops *)->fb_{fillrect,copyarea,imageblit} functions will
now schedule a worker instead of being flushed directly like it was
previously (recorded when in atomic).
This patch has only been compile tested.
Signed-off-by: Nor
Use the fbdev deferred io support in drm_fb_helper which mirrors the
one qxl has had.
This patch has only been compile tested.
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
Changes since v1:
- Add FIXME about special dirty() callback for fbdev
- Remove note in commit message
rectly.
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
drivers/gpu/drm/udl/udl_fb.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/udl/udl_fb.c b/drivers/gpu/drm/udl/udl_fb.c
index fd1eb9d..a52de2f 100644
--- a/drivers/gpu/drm/udl/udl_fb.c
+
Export fb_deferred_io_mmap()
- Add some more documentation
- Add qxl and udl patches
Noralf Trønnes (8):
drm/rect: Add some drm_clip_rect utility functions
drm/udl: Change drm_fb_helper_sys_*() calls to sys_*()
drm/qxl: Change drm_fb_helper_sys_*() calls to sys_*()
drm/fb-helpe
t to nocache for instance, so I think the safest bet is
to do this in the driver and not in the fbdev core. And we can't call
fb_pgprotect() from fb_deferred_io_mmap() either because we don't have
access to the file pointer that powerpc needs.
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
Add some utility functions for struct drm_clip_rect.
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
drivers/gpu/drm/drm_rect.c | 67
include/drm/drm_rect.h | 69 ++
2 files change
e hook to set a driver provided
(struct drm_framebuffer_funcs *)->dirty() function.
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
drivers/gpu/drm/drm_fb_cma_helper.c | 190 +---
include/drm/drm_fb_cma_helper.h | 14 +++
2 files changed, 192 in
rectly.
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
drivers/gpu/drm/qxl/qxl_fb.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/qxl/qxl_fb.c b/drivers/gpu/drm/qxl/qxl_fb.c
index 7136e52..06f032d 100644
--- a/drivers/gpu/drm/qxl/qxl_fb.c
+
Den 25.04.2016 18:38, skrev Ville Syrjälä:
On Mon, Apr 25, 2016 at 06:05:20PM +0200, Daniel Vetter wrote:
On Mon, Apr 25, 2016 at 06:09:44PM +0300, Ville Syrjälä wrote:
On Mon, Apr 25, 2016 at 04:03:13PM +0200, Noralf Trønnes wrote:
Den 25.04.2016 15:02, skrev Ville Syrjälä:
On Mon, Apr 25
Den 20.04.2016 19:47, skrev Daniel Vetter:
On Wed, Apr 20, 2016 at 05:25:28PM +0200, Noralf Trønnes wrote:
Use the fbdev deferred io support in drm_fb_helper.
The (struct fb_ops *)->fb_{fillrect,copyarea,imageblit} functions will
now be deferred in the same way that mmap damage is, inst
Den 20.04.2016 19:59, skrev Daniel Vetter:
On Wed, Apr 20, 2016 at 05:25:29PM +0200, Noralf Trønnes wrote:
Use the fbdev deferred io support in drm_fb_helper.
The (struct fb_ops *)->fb_{fillrect,copyarea,imageblit} functions will
now be deferred in the same way that mmap damage is, inst
Den 22.04.2016 10:27, skrev Daniel Vetter:
On Thu, Apr 21, 2016 at 08:54:45PM +0200, Noralf Trønnes wrote:
Den 20.04.2016 17:25, skrev Noralf Trønnes:
This adds deferred io support if CONFIG_FB_DEFERRED_IO is enabled.
Accumulated fbdev framebuffer changes are signaled using the callback
Den 21.04.2016 09:28, skrev Daniel Vetter:
On Wed, Apr 20, 2016 at 08:15:30PM +0200, Noralf Trønnes wrote:
Den 20.04.2016 19:42, skrev Daniel Vetter:
On Wed, Apr 20, 2016 at 05:25:23PM +0200, Noralf Trønnes wrote:
Now that drm_fb_helper gets deferred io support, the
drm_fb_helper_sys_
Den 20.04.2016 17:25, skrev Noralf Trønnes:
This adds deferred io support if CONFIG_FB_DEFERRED_IO is enabled.
Accumulated fbdev framebuffer changes are signaled using the callback
(struct drm_framebuffer_funcs *)->dirty()
The drm_fb_helper_sys_*() functions will accumulate chan
Den 22.04.2016 19:05, skrev Daniel Vetter:
On Fri, Apr 22, 2016 at 04:17:14PM +0200, Noralf Trønnes wrote:
Den 22.04.2016 10:27, skrev Daniel Vetter:
On Thu, Apr 21, 2016 at 08:54:45PM +0200, Noralf Trønnes wrote:
Den 20.04.2016 17:25, skrev Noralf Trønnes:
This adds deferred io support
rectly.
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
Reviewed-by: Daniel Vetter <daniel.vet...@ffwll.ch>
---
drivers/gpu/drm/qxl/qxl_fb.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/qxl/qxl_fb.c b/drivers/gpu/drm/qxl/qxl_fb.c
inde
rectly.
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
Reviewed-by: Daniel Vetter <daniel.vet...@ffwll.ch>
---
drivers/gpu/drm/udl/udl_fb.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/udl/udl_fb.c b/drivers/gpu/drm/udl/udl_fb.c
inde
e hook to set a driver provided
(struct drm_framebuffer_funcs *)->dirty() function.
Cc: laurent.pinch...@ideasonboard.com
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
Changes since v2:
- FB_DEFERRED_IO is now always selected by DRM_KMS_FB_HELPER, ifdef removed
Use the fbdev deferred io support in drm_fb_helper.
The (struct fb_ops *)->fb_{fillrect,copyarea,imageblit} functions will
now schedule a worker instead of being flushed directly like it was
previously (recorded when in atomic).
This patch has only been compile tested.
Signed-off-by: Nor
ic context (spin_lock_irqsave)
- Export fb_deferred_io_mmap()
- Add some more documentation
- Add qxl and udl patches
Noralf Trønnes (7):
drm/udl: Change drm_fb_helper_sys_*() calls to sys_*()
drm/qxl: Change drm_fb_helper_sys_*() calls to sys_*()
drm/fb-helper: Add fb_deferred_io support
fbdev
This adds deferred io support to drm_fb_helper.
The fbdev framebuffer changes are flushed using the callback
(struct drm_framebuffer *)->funcs->dirty() by a dedicated worker
ensuring that it always runs in process context.
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
Reviewe
t to nocache for instance, so I think the safest bet is
to do this in the driver and not in the fbdev core. And we can't call
fb_pgprotect() from fb_deferred_io_mmap() either because we don't have
access to the file pointer that powerpc needs.
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
Den 29.04.2016 14:50, skrev Tomi Valkeinen:
Hi,
On 28/04/16 18:18, Noralf Trønnes wrote:
This adds deferred io support to drm_fb_helper.
The fbdev framebuffer changes are flushed using the callback
(struct drm_framebuffer *)->funcs->dirty() by a dedicated worker
ensuring that it alway
ip_rect functions in drm_rect.{h,c}
- Take into account that (struct fb_ops *)->fb_{write,...}() can be called
from atomic context (spin_lock_irqsave)
- Export fb_deferred_io_mmap()
- Add some more documentation
- Add qxl and udl patches
Noralf Trønnes (7):
drm/udl: Change drm_fb_helper_sys_*() cal
Use the fbdev deferred io support in drm_fb_helper which mirrors the
one qxl has had.
This patch has only been compile tested.
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
Changes since v2:
- The drm_clip_rect_{width/height} functions are dropped, so open code it
Changes si
Den 27.04.2016 21:20, skrev Daniel Vetter:
On Wed, Apr 27, 2016 at 08:16:32PM +0200, Noralf Trønnes wrote:
This adds deferred io support to drm_fb_helper.
The fbdev framebuffer changes are flushed using the callback
(struct drm_framebuffer *)->funcs->dirty() by a dedicated worker
en
1 - 100 of 806 matches
Mail list logo