dev_err() on transfer error, so switch to
dev_dbg() instead.
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
Changes:
- use dev_dbg instead of dev_err_ratelimited
drivers/i2c/busses/i2c-bcm2835.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/buss
dev_err() on transfer error, so switch to
dev_dbg() instead.
Signed-off-by: Noralf Trønnes
---
Changes:
- use dev_dbg instead of dev_err_ratelimited
drivers/i2c/busses/i2c-bcm2835.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c-bcm2835.c b/drivers
Den 27.09.2016 15:01, skrev Martin Sperl:
On 27 Sep 2016, at 13:57, Noralf Trønnes <nor...@tronnes.org> wrote:
Writing to an AT24C32 generates on average 2x i2c transfer errors per
32-byte page write. Which amounts to a lot for a 4k write. This is due
to the fact that the chip doesn't r
Den 27.09.2016 15:01, skrev Martin Sperl:
On 27 Sep 2016, at 13:57, Noralf Trønnes wrote:
Writing to an AT24C32 generates on average 2x i2c transfer errors per
32-byte page write. Which amounts to a lot for a 4k write. This is due
to the fact that the chip doesn't respond during it's internal
Den 27.09.2016 19:25, skrev Stefan Wahren:
Noralf Trønnes <nor...@tronnes.org> hat am 27. September 2016 um 13:57
geschrieben:
i2c2 is connected to the HDMI connector and is controlled by the
firmware. Disable it to stay out of harms way.
Until this point the commit message is okay, th
Den 27.09.2016 19:25, skrev Stefan Wahren:
Noralf Trønnes hat am 27. September 2016 um 13:57
geschrieben:
i2c2 is connected to the HDMI connector and is controlled by the
firmware. Disable it to stay out of harms way.
Until this point the commit message is okay, the rest is more confusing
ent.
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
drivers/i2c/busses/i2c-bcm2835.c | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/i2c/busses/i2c-bcm2835.c b/drivers/i2c/busses/i2c-bcm2835.c
index 370a322..4e08add 100644
--- a/drivers/i2c/busses/i2c-bcm2835.c
+++ b/dr
be cleared that way.
Add the status value to the error value in case of TXW/RXR errors to
distinguish them from the other S_LEN error.
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
drivers/i2c/busses/i2c-bcm2835.c | 31 ++-
1 file changed, 22 insertions
Support a dynamic clock by reading the frequency and setting the
divisor in the transfer function instead of during probe.
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
drivers/i2c/busses/i2c-bcm2835.c | 51 +---
1 file changed, 32 insertions(
ent.
Signed-off-by: Noralf Trønnes
---
drivers/i2c/busses/i2c-bcm2835.c | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/i2c/busses/i2c-bcm2835.c b/drivers/i2c/busses/i2c-bcm2835.c
index 370a322..4e08add 100644
--- a/drivers/i2c/busses/i2c-bcm2835.c
+++ b/drivers/i2c/busses/i2c-bcm283
be cleared that way.
Add the status value to the error value in case of TXW/RXR errors to
distinguish them from the other S_LEN error.
Signed-off-by: Noralf Trønnes
---
drivers/i2c/busses/i2c-bcm2835.c | 31 ++-
1 file changed, 22 insertions(+), 9 deletions(-)
diff
Support a dynamic clock by reading the frequency and setting the
divisor in the transfer function instead of during probe.
Signed-off-by: Noralf Trønnes
---
drivers/i2c/busses/i2c-bcm2835.c | 51 +---
1 file changed, 32 insertions(+), 19 deletions(-)
diff
hed display - use with caution.
It is recommended to disable accesses by VideoCore by setting
hdmi_ignore_edid=1 or hdmi_edid_file=1 in config.txt.
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
arch/arm/boot/dts/bcm2835-rpi.dtsi | 4
1 file changed, 4 deletions(-)
diff --git a
(eeprom) in parallel without problems.
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
drivers/i2c/busses/i2c-bcm2835.c | 101 ---
1 file changed, 63 insertions(+), 38 deletions(-)
diff --git a/drivers/i2c/busses/i2c-bcm2835.c b/drivers/i2c/buss
.
Noralf Trønnes (8):
i2c: bcm2835: Fix hang for writing messages larger than 16 bytes
i2c: bcm2835: Protect against unexpected TXW/RXR interrupts
i2c: bcm2835: Use ratelimited logging on transfer errors
i2c: bcm2835: Can't support I2C_M_IGNORE_NAK
i2c: bcm2835: Add support for Repeated
hed display - use with caution.
It is recommended to disable accesses by VideoCore by setting
hdmi_ignore_edid=1 or hdmi_edid_file=1 in config.txt.
Signed-off-by: Noralf Trønnes
---
arch/arm/boot/dts/bcm2835-rpi.dtsi | 4
1 file changed, 4 deletions(-)
diff --git a/arch/arm/boot/dts/bcm2
(eeprom) in parallel without problems.
Signed-off-by: Noralf Trønnes
---
drivers/i2c/busses/i2c-bcm2835.c | 101 ---
1 file changed, 63 insertions(+), 38 deletions(-)
diff --git a/drivers/i2c/busses/i2c-bcm2835.c b/drivers/i2c/busses/i2c-bcm2835.c
index 4e08add
.
Noralf Trønnes (8):
i2c: bcm2835: Fix hang for writing messages larger than 16 bytes
i2c: bcm2835: Protect against unexpected TXW/RXR interrupts
i2c: bcm2835: Use ratelimited logging on transfer errors
i2c: bcm2835: Can't support I2C_M_IGNORE_NAK
i2c: bcm2835: Add support for Repeated
of the log by using dev_err_ratelimited().
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
Reviewed-by: Eric Anholt <e...@anholt.net>
---
drivers/i2c/busses/i2c-bcm2835.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c-bcm2835.c b/drivers/i2
Use i2c_adapter->timeout for the completion timeout value. The core
default is 1 second.
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
drivers/i2c/busses/i2c-bcm2835.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/i2c/busses/i2c-bcm2835.c b/dr
Use i2c_adapter->timeout for the completion timeout value. The core
default is 1 second.
Signed-off-by: Noralf Trønnes
---
drivers/i2c/busses/i2c-bcm2835.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/i2c/busses/i2c-bcm2835.c b/drivers/i2c/busses/i2c-bcm283
of the log by using dev_err_ratelimited().
Signed-off-by: Noralf Trønnes
Reviewed-by: Eric Anholt
---
drivers/i2c/busses/i2c-bcm2835.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c-bcm2835.c b/drivers/i2c/busses/i2c-bcm2835.c
index df036ed..370a322 100644
when the FIFO contains at least one byte of data.
TXW: is set during a write transfer and the FIFO is less than full.
RXR: is set during a read transfer and the FIFO is or more full.
Implementing the logic from the downstream i2c-bcm2708 driver solved
the hang problem.
Signed-off-by: Noralf
when the FIFO contains at least one byte of data.
TXW: is set during a write transfer and the FIFO is less than full.
RXR: is set during a read transfer and the FIFO is or more full.
Implementing the logic from the downstream i2c-bcm2708 driver solved
the hang problem.
Signed-off-by: Noralf
Den 20.09.2016 13:29, skrev ker...@martin.sperl.org:
On 20.09.2016, at 12:56, Noralf Trønnes <nor...@tronnes.org> wrote:
Den 20.09.2016 12:15, skrev Martin Sperl:
On 20.09.2016 10:41, Noralf Trønnes wrote:
Den 20.09.2016 09:19, skrev Martin Sperl:
Hi Noralf!
On 19.09.2016 17:26,
Den 20.09.2016 13:29, skrev ker...@martin.sperl.org:
On 20.09.2016, at 12:56, Noralf Trønnes wrote:
Den 20.09.2016 12:15, skrev Martin Sperl:
On 20.09.2016 10:41, Noralf Trønnes wrote:
Den 20.09.2016 09:19, skrev Martin Sperl:
Hi Noralf!
On 19.09.2016 17:26, Noralf Trønnes wrote:
Some
Den 20.09.2016 12:15, skrev Martin Sperl:
On 20.09.2016 10:41, Noralf Trønnes wrote:
Den 20.09.2016 09:19, skrev Martin Sperl:
Hi Noralf!
On 19.09.2016 17:26, Noralf Trønnes wrote:
Some SMBus protocols use Repeated Start Condition to switch from write
mode to read mode. Devices like
Den 20.09.2016 12:15, skrev Martin Sperl:
On 20.09.2016 10:41, Noralf Trønnes wrote:
Den 20.09.2016 09:19, skrev Martin Sperl:
Hi Noralf!
On 19.09.2016 17:26, Noralf Trønnes wrote:
Some SMBus protocols use Repeated Start Condition to switch from write
mode to read mode. Devices like
Den 20.09.2016 09:19, skrev Martin Sperl:
Hi Noralf!
On 19.09.2016 17:26, Noralf Trønnes wrote:
Some SMBus protocols use Repeated Start Condition to switch from write
mode to read mode. Devices like MMA8451 won't work without it.
When downstream implemented support for this in i2c-bcm2708
Den 20.09.2016 09:19, skrev Martin Sperl:
Hi Noralf!
On 19.09.2016 17:26, Noralf Trønnes wrote:
Some SMBus protocols use Repeated Start Condition to switch from write
mode to read mode. Devices like MMA8451 won't work without it.
When downstream implemented support for this in i2c-bcm2708
Den 19.09.2016 18:51, skrev Eric Anholt:
Noralf Trønnes <nor...@tronnes.org> writes:
Writing messages larger than the FIFO size results in a hang, rendering
the machine unusable. This is because the RXD status flag is set on the
first interrupt which results in bcm2835_drain_rxfifo() st
Den 19.09.2016 18:51, skrev Eric Anholt:
Noralf Trønnes writes:
Writing messages larger than the FIFO size results in a hang, rendering
the machine unusable. This is because the RXD status flag is set on the
first interrupt which results in bcm2835_drain_rxfifo() stealing bytes
from
when the FIFO contains at least one byte of data.
TXW: is set during a write transfer and the FIFO is less than full.
RXR: is set during a read transfer and the FIFO is or more full.
Implementing the logic from the downstream i2c-bcm2708 driver solved
the hang problem.
Signed-off-by: Noralf
when the FIFO contains at least one byte of data.
TXW: is set during a write transfer and the FIFO is less than full.
RXR: is set during a read transfer and the FIFO is or more full.
Implementing the logic from the downstream i2c-bcm2708 driver solved
the hang problem.
Signed-off-by: Noralf
to a DS1307 (rtc), MMA8451 (accel)
and AT24C32 (eeprom) in parallel without problems.
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
drivers/i2c/busses/i2c-bcm2835.c | 107 +++
1 file changed, 98 insertions(+), 9 deletions(-)
diff --git a/drive
of the log by using dev_err_ratelimited().
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
drivers/i2c/busses/i2c-bcm2835.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c-bcm2835.c b/drivers/i2c/busses/i2c-bcm2835.c
index b3ce565..dc0a5d5
to a DS1307 (rtc), MMA8451 (accel)
and AT24C32 (eeprom) in parallel without problems.
Signed-off-by: Noralf Trønnes
---
drivers/i2c/busses/i2c-bcm2835.c | 107 +++
1 file changed, 98 insertions(+), 9 deletions(-)
diff --git a/drivers/i2c/busses/i2c-bcm2835.c
of the log by using dev_err_ratelimited().
Signed-off-by: Noralf Trønnes
---
drivers/i2c/busses/i2c-bcm2835.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c-bcm2835.c b/drivers/i2c/busses/i2c-bcm2835.c
index b3ce565..dc0a5d5 100644
--- a/drivers/i2c/busses
Den 23.08.2016 08:17, skrev Daniel Vetter:
On Mon, Aug 22, 2016 at 10:25:23PM +0200, Noralf Trønnes wrote:
The SimpleDRM driver binds to simple-framebuffer devices and provides a
DRM/KMS API. It provides only a single CRTC+encoder+connector combination
plus one initial mode.
Userspace can
Den 23.08.2016 08:17, skrev Daniel Vetter:
On Mon, Aug 22, 2016 at 10:25:23PM +0200, Noralf Trønnes wrote:
The SimpleDRM driver binds to simple-framebuffer devices and provides a
DRM/KMS API. It provides only a single CRTC+encoder+connector combination
plus one initial mode.
Userspace can
Den 25.08.2016 15:09, skrev Rob Herring:
On Mon, Aug 22, 2016 at 3:25 PM, Noralf Trønnes <nor...@tronnes.org> wrote:
The SimpleDRM driver binds to simple-framebuffer devices and provides a
DRM/KMS API. It provides only a single CRTC+encoder+connector combination
plus one initia
Den 25.08.2016 15:09, skrev Rob Herring:
On Mon, Aug 22, 2016 at 3:25 PM, Noralf Trønnes wrote:
The SimpleDRM driver binds to simple-framebuffer devices and provides a
DRM/KMS API. It provides only a single CRTC+encoder+connector combination
plus one initial mode.
Userspace can create dumb
Den 23.08.2016 20:01, skrev Daniel Vetter:
On Tue, Aug 23, 2016 at 7:52 PM, Noralf Trønnes <nor...@tronnes.org> wrote:
+static int sdrm_fbdev_event_notify(struct notifier_block *self,
+ unsigned long action, void *data)
+{
+ struct sdrm_device
Den 23.08.2016 20:01, skrev Daniel Vetter:
On Tue, Aug 23, 2016 at 7:52 PM, Noralf Trønnes wrote:
+static int sdrm_fbdev_event_notify(struct notifier_block *self,
+ unsigned long action, void *data)
+{
+ struct sdrm_device *sdrm;
+ struct fb_event
Den 23.08.2016 14:41, skrev Daniel Vetter:
On Mon, Aug 22, 2016 at 10:25:25PM +0200, Noralf Trønnes wrote:
There is currently no non-fbdev mechanism in place to kick out
simpledrm when the real hw-driver is probed. As a stop gap until
that is in place, honour remove_conflicting_framebuffers
Den 23.08.2016 14:41, skrev Daniel Vetter:
On Mon, Aug 22, 2016 at 10:25:25PM +0200, Noralf Trønnes wrote:
There is currently no non-fbdev mechanism in place to kick out
simpledrm when the real hw-driver is probed. As a stop gap until
that is in place, honour remove_conflicting_framebuffers
simplefb.c.
Cc: dh.herrm...@gmail.com
Cc: l...@skynet.be
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
Changes from version 3:
- Reworked gem code to match udl
- Dropped PRIME support
- Dropped dirty_info_property, it's gone
- Don't use drm_device.platformdev it's deprecated
- Remove
Create a simple fbdev device during SimpleDRM setup so legacy user-space
and fbcon can use it.
Original work by David Herrmann.
Cc: dh.herrm...@gmail.com
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
Changes from version 3:
- Remove #ifdef CONFIG_DRM_FBDEV_EMULATION
There is currently no non-fbdev mechanism in place to kick out
simpledrm when the real hw-driver is probed. As a stop gap until
that is in place, honour remove_conflicting_framebuffers() and
delete the simple-framebuffer platform device when it's called.
Signed-off-by: Noralf Trønnes <
simplefb.c.
Cc: dh.herrm...@gmail.com
Cc: l...@skynet.be
Signed-off-by: Noralf Trønnes
---
Changes from version 3:
- Reworked gem code to match udl
- Dropped PRIME support
- Dropped dirty_info_property, it's gone
- Don't use drm_device.platformdev it's deprecated
- Remove struct sdrm_device
Create a simple fbdev device during SimpleDRM setup so legacy user-space
and fbcon can use it.
Original work by David Herrmann.
Cc: dh.herrm...@gmail.com
Signed-off-by: Noralf Trønnes
---
Changes from version 3:
- Remove #ifdef CONFIG_DRM_FBDEV_EMULATION
- Use drm_fb_helper_set_suspend_lock
There is currently no non-fbdev mechanism in place to kick out
simpledrm when the real hw-driver is probed. As a stop gap until
that is in place, honour remove_conflicting_framebuffers() and
delete the simple-framebuffer platform device when it's called.
Signed-off-by: Noralf Trønnes
driver.
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
drivers/gpu/drm/drm_fb_helper.c | 57 +
include/drm/drm_fb_helper.h | 9 +++
2 files changed, 66 insertions(+)
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_he
edesktop.org/archives/dri-devel/2014-January/052584.html
[2] https://lists.freedesktop.org/archives/dri-devel/2014-January/052594.html
Noralf Trønnes (5):
of: Add EXPORT_SYMBOL for of_chosen
drm/fb-helper: Add drm_fb_helper_set_suspend_lock()
drm: add SimpleDRM driver
d
Export of_chosen so drivers built as modules can get access to it.
The simpledrm driver will use this and is compatible with
simple-framebuffer which is a subnode of /chosen.
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
drivers/of/base.c | 1 +
1 file changed, 1 insertion(+)
driver.
Signed-off-by: Noralf Trønnes
---
drivers/gpu/drm/drm_fb_helper.c | 57 +
include/drm/drm_fb_helper.h | 9 +++
2 files changed, 66 insertions(+)
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c
index ce54e98
edesktop.org/archives/dri-devel/2014-January/052584.html
[2] https://lists.freedesktop.org/archives/dri-devel/2014-January/052594.html
Noralf Trønnes (5):
of: Add EXPORT_SYMBOL for of_chosen
drm/fb-helper: Add drm_fb_helper_set_suspend_lock()
drm: add SimpleDRM driver
d
Export of_chosen so drivers built as modules can get access to it.
The simpledrm driver will use this and is compatible with
simple-framebuffer which is a subnode of /chosen.
Signed-off-by: Noralf Trønnes
---
drivers/of/base.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers
Den 17.08.2016 11:30, skrev Daniel Vetter:
On Tue, Aug 16, 2016 at 9:38 PM, Noralf Trønnes <nor...@tronnes.org> wrote:
That's still a lot for what amounts to reimplementing mmap on shmem, but
badly. What I mean with redirecting is pointing the entire ->mmap
operation to the mmap imple
Den 17.08.2016 11:30, skrev Daniel Vetter:
On Tue, Aug 16, 2016 at 9:38 PM, Noralf Trønnes wrote:
That's still a lot for what amounts to reimplementing mmap on shmem, but
badly. What I mean with redirecting is pointing the entire ->mmap
operation to the mmap implementation for the underly
Den 16.08.2016 17:25, skrev Daniel Vetter:
On Tue, Aug 16, 2016 at 02:58:38PM +0200, Noralf Trønnes wrote:
Den 15.08.2016 08:59, skrev Daniel Vetter:
On Sun, Aug 14, 2016 at 06:52:04PM +0200, Noralf Trønnes wrote:
The SimpleDRM driver binds to simple-framebuffer devices and provides a
DRM
Den 16.08.2016 17:25, skrev Daniel Vetter:
On Tue, Aug 16, 2016 at 02:58:38PM +0200, Noralf Trønnes wrote:
Den 15.08.2016 08:59, skrev Daniel Vetter:
On Sun, Aug 14, 2016 at 06:52:04PM +0200, Noralf Trønnes wrote:
The SimpleDRM driver binds to simple-framebuffer devices and provides a
DRM
Den 15.08.2016 08:48, skrev Daniel Vetter:
On Sun, Aug 14, 2016 at 06:52:05PM +0200, Noralf Trønnes wrote:
Create a simple fbdev device during SimpleDRM setup so legacy user-space
and fbcon can use it.
Original work by David Herrmann.
Cc: dh.herrm...@gmail.com
Signed-off-by: Noralf Trønnes
Den 15.08.2016 08:48, skrev Daniel Vetter:
On Sun, Aug 14, 2016 at 06:52:05PM +0200, Noralf Trønnes wrote:
Create a simple fbdev device during SimpleDRM setup so legacy user-space
and fbcon can use it.
Original work by David Herrmann.
Cc: dh.herrm...@gmail.com
Signed-off-by: Noralf Trønnes
Den 15.08.2016 08:59, skrev Daniel Vetter:
On Sun, Aug 14, 2016 at 06:52:04PM +0200, Noralf Trønnes wrote:
The SimpleDRM driver binds to simple-framebuffer devices and provides a
DRM/KMS API. It provides only a single CRTC+encoder+connector combination
plus one initial mode.
Userspace can
Den 15.08.2016 08:59, skrev Daniel Vetter:
On Sun, Aug 14, 2016 at 06:52:04PM +0200, Noralf Trønnes wrote:
The SimpleDRM driver binds to simple-framebuffer devices and provides a
DRM/KMS API. It provides only a single CRTC+encoder+connector combination
plus one initial mode.
Userspace can
/lists.freedesktop.org/archives/dri-devel/2013-July/041090.html
[RFC 0/6] SimpleDRM Driver (was: dvbe driver)
https://lists.freedesktop.org/archives/dri-devel/2013-June/040386.html
[PATCH 0/9] System Framebuffer Bus (sysfb)
https://lists.freedesktop.org/archives/dri-devel/2013-February/035013.htm
simplefb.c.
Cc: dh.herrm...@gmail.com
Cc: l...@skynet.be
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
Changes from version 2:
- Remove superfluos module.h includes
- Move includes from header to source files
- Set plane.fb before flushing in pipe update, or else the previous one
/lists.freedesktop.org/archives/dri-devel/2013-July/041090.html
[RFC 0/6] SimpleDRM Driver (was: dvbe driver)
https://lists.freedesktop.org/archives/dri-devel/2013-June/040386.html
[PATCH 0/9] System Framebuffer Bus (sysfb)
https://lists.freedesktop.org/archives/dri-devel/2013-February/035013.htm
simplefb.c.
Cc: dh.herrm...@gmail.com
Cc: l...@skynet.be
Signed-off-by: Noralf Trønnes
---
Changes from version 2:
- Remove superfluos module.h includes
- Move includes from header to source files
- Set plane.fb before flushing in pipe update, or else the previous one
gets flushed
- Added check
There is currently no non-fbdev mechanism in place to kick out
simpledrm when the real hw-driver is probed. As a stop gap until
that is in place, honour remove_conflicting_framebuffers() and
delete the simple-framebuffer platform device when it's called.
Signed-off-by: Noralf Trønnes <
Create a simple fbdev device during SimpleDRM setup so legacy user-space
and fbcon can use it.
Original work by David Herrmann.
Cc: dh.herrm...@gmail.com
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
Changes from version 2:
- Switch to using drm_fb_helper in preparation for
There is currently no non-fbdev mechanism in place to kick out
simpledrm when the real hw-driver is probed. As a stop gap until
that is in place, honour remove_conflicting_framebuffers() and
delete the simple-framebuffer platform device when it's called.
Signed-off-by: Noralf Trønnes
Create a simple fbdev device during SimpleDRM setup so legacy user-space
and fbcon can use it.
Original work by David Herrmann.
Cc: dh.herrm...@gmail.com
Signed-off-by: Noralf Trønnes
---
Changes from version 2:
- Switch to using drm_fb_helper in preparation for future panic handling
which
Den 06.08.2016 00:38, skrev Paul Gortmaker:
On Fri, Aug 5, 2016 at 11:44 AM, Noralf Trønnes <nor...@tronnes.org> wrote:
Create a simple fbdev device during SimpleDRM setup so legacy user-space
and fbcon can use it.
Original work by David Herrmann.
Cc: dh.herrm...@gmail.com
Sign
Den 06.08.2016 00:38, skrev Paul Gortmaker:
On Fri, Aug 5, 2016 at 11:44 AM, Noralf Trønnes wrote:
Create a simple fbdev device during SimpleDRM setup so legacy user-space
and fbcon can use it.
Original work by David Herrmann.
Cc: dh.herrm...@gmail.com
Signed-off-by: Noralf Trønnes
Create a simple fbdev device during SimpleDRM setup so legacy user-space
and fbcon can use it.
Original work by David Herrmann.
Cc: dh.herrm...@gmail.com
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
Changes from version 1:
No changes
Changes from previous version:
-
simplefb.c.
Cc: dh.herrm...@gmail.com
Cc: l...@skynet.be
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
Changes from version 1:
- Move platform_set_drvdata() before drm_dev_register()
- Remove drm_legacy_mmap() call.
- Set mode_config.{min,max}_{width,height} to the actual dime
Create a simple fbdev device during SimpleDRM setup so legacy user-space
and fbcon can use it.
Original work by David Herrmann.
Cc: dh.herrm...@gmail.com
Signed-off-by: Noralf Trønnes
---
Changes from version 1:
No changes
Changes from previous version:
- Remove the DRM_SIMPLEDRM_FBDEV
simplefb.c.
Cc: dh.herrm...@gmail.com
Cc: l...@skynet.be
Signed-off-by: Noralf Trønnes
---
Changes from version 1:
- Move platform_set_drvdata() before drm_dev_register()
- Remove drm_legacy_mmap() call.
- Set mode_config.{min,max}_{width,height} to the actual dimensions
of the native framebuffer
There is currently no non-fbdev mechanism in place to kick out
simpledrm when the real hw-driver is probed. As a stop gap until
that is in place, honour remove_conflicting_framebuffers() and
delete the simple-framebuffer platform device when it's called.
Signed-off-by: Noralf Trønnes <
s (sysfb)
https://lists.freedesktop.org/archives/dri-devel/2013-February/035013.html
Noralf Trønnes (3):
drm: add SimpleDRM driver
drm: simpledrm: add fbdev fallback support
drm: simpledrm: honour remove_conflicting_framebuffers()
drivers/gpu/drm/Kconfig | 2 +
driver
There is currently no non-fbdev mechanism in place to kick out
simpledrm when the real hw-driver is probed. As a stop gap until
that is in place, honour remove_conflicting_framebuffers() and
delete the simple-framebuffer platform device when it's called.
Signed-off-by: Noralf Trønnes
s (sysfb)
https://lists.freedesktop.org/archives/dri-devel/2013-February/035013.html
Noralf Trønnes (3):
drm: add SimpleDRM driver
drm: simpledrm: add fbdev fallback support
drm: simpledrm: honour remove_conflicting_framebuffers()
drivers/gpu/drm/Kconfig | 2 +
driver
Den 04.08.2016 16:36, skrev Daniel Vetter:
On Thu, Aug 04, 2016 at 04:03:18PM +0200, Noralf Trønnes wrote:
This patchset adds the simpledrm driver by David Herrmann based on a
patchset[1] from 2014. That patchset also included patches for kicking
out simpledrm by real drivers. I have stayed
Den 04.08.2016 16:36, skrev Daniel Vetter:
On Thu, Aug 04, 2016 at 04:03:18PM +0200, Noralf Trønnes wrote:
This patchset adds the simpledrm driver by David Herrmann based on a
patchset[1] from 2014. That patchset also included patches for kicking
out simpledrm by real drivers. I have stayed
Den 04.08.2016 16:03, skrev Noralf Trønnes:
The SimpleDRM driver binds to simple-framebuffer devices and provides a
DRM/KMS API. It provides only a single CRTC+encoder+connector combination
plus one initial mode.
Userspace can create dumb-buffers which can be blit into the real
framebuffer
Den 04.08.2016 16:03, skrev Noralf Trønnes:
The SimpleDRM driver binds to simple-framebuffer devices and provides a
DRM/KMS API. It provides only a single CRTC+encoder+connector combination
plus one initial mode.
Userspace can create dumb-buffers which can be blit into the real
framebuffer
Den 04.08.2016 16:15, skrev Luc Verhaegen:
On Thu, Aug 04, 2016 at 04:03:18PM +0200, Noralf Trønnes wrote:
I have tested simpledrm on a Raspberry Pi B+ with U-boot setting up the
framebuffer and producing this node:
framebuffer@1e887000 {
compatible = "s
Den 04.08.2016 16:15, skrev Luc Verhaegen:
On Thu, Aug 04, 2016 at 04:03:18PM +0200, Noralf Trønnes wrote:
I have tested simpledrm on a Raspberry Pi B+ with U-boot setting up the
framebuffer and producing this node:
framebuffer@1e887000 {
compatible = "s
Create a simple fbdev device during SimpleDRM setup so legacy user-space
and fbcon can use it.
Original work by David Herrmann.
Cc: dh.herrm...@gmail.com
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
Changes from previous version:
- Remove the DRM_SIMPLEDRM_FBDEV kconfig option a
Create a simple fbdev device during SimpleDRM setup so legacy user-space
and fbcon can use it.
Original work by David Herrmann.
Cc: dh.herrm...@gmail.com
Signed-off-by: Noralf Trønnes
---
Changes from previous version:
- Remove the DRM_SIMPLEDRM_FBDEV kconfig option and use DRM_FBDEV_EMULATION
and
rework the probe path to avoid use of the deprecated drm_platform_init()
and drm_driver.{load,unload}().
Cc: dh.herrm...@gmail.com
Signed-off-by: Noralf Trønnes <nor...@tronnes.org>
---
Changes from previous version:
- Remove FB_SIMPLE=n dependency to avoid kconfig recursive error
- C
and
rework the probe path to avoid use of the deprecated drm_platform_init()
and drm_driver.{load,unload}().
Cc: dh.herrm...@gmail.com
Signed-off-by: Noralf Trønnes
---
Changes from previous version:
- Remove FB_SIMPLE=n dependency to avoid kconfig recursive error
- Changed module name to match
ists.freedesktop.org/archives/dri-devel/2013-June/040386.html
[PATCH 0/9] System Framebuffer Bus (sysfb)
https://lists.freedesktop.org/archives/dri-devel/2013-February/035013.html
Noralf Trønnes (2):
drm: add SimpleDRM driver
drm: simpledrm: add fbdev fallback support
drivers/gpu/drm/Kconfig
ists.freedesktop.org/archives/dri-devel/2013-June/040386.html
[PATCH 0/9] System Framebuffer Bus (sysfb)
https://lists.freedesktop.org/archives/dri-devel/2013-February/035013.html
Noralf Trønnes (2):
drm: add SimpleDRM driver
drm: simpledrm: add fbdev fallback support
drivers/gpu/drm/Kconfig
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 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
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->
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
---
Changes since v4:
- Remove drm_connector_register() call
- Forgot to assign pipe->connector
Changes since
401 - 500 of 806 matches
Mail list logo