Den 28.02.2021 02.52, skrev Peter Stuge:
> Noralf Trønnes wrote:
>> Peter, please have a look at this diff and see if I'm on the right track
>> here: https://gist.github.com/notro/a43a93a3aa0cc75d930890b7b254fc0a
>
> Yes that's exactly what I meant; this way the possibil
Den 25.02.2021 22.37, skrev Peter Stuge:
> Noralf Trønnes wrote:
>>> I forgot, but I have a two-tone (black/red) e-ink display here, and I
>>> also have a 3-bpp RGB TFT display.
>>
>> I've been anticipating the need for more formats, but I didn't want to
Den 20.02.2021 18.27, skrev Noralf Trønnes:
>
>
> Den 19.02.2021 22.42, skrev Peter Stuge:
>>
>> More generally it's not very typical in USB to report the data size
>> separately from the data itself, if reporting size explicitly at all.
>>
>> Sizes c
Den 26.02.2021 10.26, skrev Thomas Zimmermann:
> USB devices cannot perform DMA and hence have no dma_mask set in their
> device structure. Therefore importing dmabuf into a USB-based driver
> fails, which breaks joining and mirroring of display in X11.
>
> For USB devices, pick the associated
Den 25.02.2021 10.58, skrev Peter Stuge:
> Hi Noralf,
>
> Noralf Trønnes wrote:
>> The driver supports a one bit monochrome transfer format: R1. This is not
>> implemented in the gadget driver. It is added in preparation for future
>> monochrome e-ink displays.
>
Den 25.02.2021 09.12, skrev Thomas Zimmermann:
> Hi
>
> Am 24.02.21 um 18:14 schrieb Noralf Trønnes:
>>
>>
>> Den 19.02.2021 14.54, skrev Thomas Zimmermann:
>>> Hi
>>>
>>> Am 19.02.21 um 13:22 schrieb Noralf Trønnes:
>>>> dma-
Den 19.02.2021 14.54, skrev Thomas Zimmermann:
> Hi
>
> Am 19.02.21 um 13:22 schrieb Noralf Trønnes:
>> dma-buf importing was reworked in commit 7d2cd72a9aa3
>> ("drm/shmem-helpers: Simplify dma-buf importing"). Before that commit
>> drm_gem_
Den 22.02.2021 08.54, skrev Thomas Zimmermann:
> Hi
>
> Am 20.02.21 um 14:02 schrieb Noralf Trønnes:
>>
>>
>> Den 19.02.2021 14.40, skrev Thomas Zimmermann:
>>> Fixes a regression for udl and probably other USB-based drivers where
>>> joining
Den 19.02.2021 22.42, skrev Peter Stuge:
> Hi Noralf,
>
> Noralf Trønnes wrote:
>> +++ b/drivers/gpu/drm/gud/gud_connector.c
> ..
>> +static int gud_connector_get_edid_block(void *data, u8 *buf, unsigned int
>> block, size_t len)
> ..
>> +s
Den 19.02.2021 14.40, skrev Thomas Zimmermann:
> Fixes a regression for udl and probably other USB-based drivers where
> joining and mirroring displays fails.
>
> Joining displays requires importing a dma_buf from another DRM driver.
> These devices don't support DMA and therefore have no DMA
thout the use count set, put pages is called also
on dma-bufs. Fix this by only putting pages if it's not imported.
Fixes: 7d2cd72a9aa3 ("drm/shmem-helpers: Simplify dma-buf importing")
Cc: Daniel Vetter
Cc: Thomas Zimmermann
Signed-off-by: Noralf Trønnes
---
drivers/gpu/drm/drm
drm/panel/panel-feiyang-fy07024di26a30d.c
+DRM DRIVER FOR GENERIC USB DISPLAY
+M: Noralf Trønnes
+S: Maintained
+W: https://github.com/notro/gud/wiki
+T: git git://anongit.freedesktop.org/drm/drm-misc
+F: drivers/gpu/drm/gud/
+F: include/drm/gud.h
+
DRM DRIVER FOR GR
-by: Daniel Vetter
Signed-off-by: Noralf Trønnes
---
drivers/gpu/drm/drm_connector.c | 1 +
include/uapi/drm/drm_mode.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c
index 717c4e7271b0..52712daed3bc 100644
--- a/drivers
] for more information and images for the Raspberry Pi Zero/4.
Changes in this version:
- Use obj-y in Makefile (Peter)
- Fix missing le32_to_cpu() when using GUD_DISPLAY_MAGIC (Peter)
- Set initial brightness on backlight device
Noralf.
[1] https://github.com/notro/gud/wiki
Noralf Trønnes (3
anges.
v2:
- Add Fixes tag (Daniel)
Fixes: 5186421cbfe2 ("drm: Introduce epoch counter to drm_connector")
Reviewed-by: Daniel Vetter
Signed-off-by: Noralf Trønnes
---
drivers/gpu/drm/drm_probe_helper.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --g
Den 16.02.2021 17.40, skrev Noralf Trønnes:
>
>
> Den 16.02.2021 14.36, skrev Oliver Neukum:
>> Am Freitag, den 12.02.2021, 18:46 +0100 schrieb Noralf Trønnes:
>>> +static void gud_connector_early_unregister(struct drm_connector *connector)
>>> +{
>&g
Den 16.02.2021 14.36, skrev Oliver Neukum:
> Am Freitag, den 12.02.2021, 18:46 +0100 schrieb Noralf Trønnes:
>> +static void gud_connector_early_unregister(struct drm_connector *connector)
>> +{
>> + struct gud_connector *gconn = to_gu
Den 15.02.2021 12.58, skrev Peter Stuge:
> Hi Noralf,
>
> I was happy to see v4 - thanks for accepting so much of my feedback -
> and I have to say that the new recursive acronym makes me smile! :)
>
Yeah I also had to smile when Simon Ser suggested it.
>
> Noralf Tr
-by: Daniel Vetter
Signed-off-by: Noralf Trønnes
---
drivers/gpu/drm/drm_connector.c | 1 +
include/uapi/drm/drm_mode.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c
index 717c4e7271b0..52712daed3bc 100644
--- a/drivers
t doesn't really add anything.
- Set dma mask, needed by dma-buf importers
Cc: Peter Stuge
Tested-by: Lubomir Rintel
Acked-by: Daniel Vetter
Signed-off-by: Noralf Trønnes
---
MAINTAINERS | 8 +
drivers/gpu/drm/Kconfig | 2 +
drivers/gpu/drm/Makefile
] for more information and images for the Raspberry Pi Zero/4.
Minor changes this time, no protocol changes.
Noralf.
[1] https://github.com/notro/gud/wiki
Noralf Trønnes (3):
drm/uapi: Add USB connector type
drm/probe-helper: Check epoch counter in output_poll_execute()
drm: Add Generic USB
anges.
v2:
- Add Fixes tag (Daniel)
Fixes: 5186421cbfe2 ("drm: Introduce epoch counter to drm_connector")
Reviewed-by: Daniel Vetter
Signed-off-by: Noralf Trønnes
---
drivers/gpu/drm/drm_probe_helper.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --g
Den 24.01.2021 19.38, skrev Lubomir Rintel:
> On Wed, Jan 20, 2021 at 06:00:30PM +0100, Noralf Trønnes wrote:
>> Hi,
>>
>> A while back I had the idea to turn a Raspberry Pi Zero into a $5
>> USB to HDMI/SDTV/DSI/DPI display adapter.
>>
>> The reason fo
Den 20.01.2021 19.02, skrev Daniel Vetter:
> On Wed, Jan 20, 2021 at 6:11 PM Noralf Trønnes wrote:
>>
>> This adds a generic USB display driver with the intention that it can be
>> used with future USB interfaced low end displays/adapters. The Linux
>> gadg
Den 21.01.2021 11.20, skrev Simon Ser:
> On Thursday, January 21st, 2021 at 10:59 AM, Thomas Zimmermann
> wrote:
>
>> Well, I'd strongly ask to not call it "generic", because it isn't. We
>> have other USB drivers and anyone can make a USB display with these
>> protocols as well. That
Den 22.01.2021 15.55, skrev Thomas Zimmermann:
> Hi
>
> Am 22.01.21 um 15:35 schrieb Noralf Trønnes:
>>
>>
>> Den 22.01.2021 13.47, skrev Thomas Zimmermann:
>>> Hi
>>>
>>> Am 22.01.21 um 12:44 schrieb Noralf Trønnes:
>>>>
&g
Den 22.01.2021 13.47, skrev Thomas Zimmermann:
> Hi
>
> Am 22.01.21 um 12:44 schrieb Noralf Trønnes:
>>
>> And wrt PCI it wouldn't be a PCI connector if the card has some other
>> connector for the display, but if it was possible to connect a display
>> directly
Den 22.01.2021 08.54, skrev Thomas Zimmermann:
> Hi
>
> Am 21.01.21 um 19:07 schrieb Noralf Trønnes:
>>
>>
>> Den 21.01.2021 11.01, skrev Thomas Zimmermann:
>>> Hi
>>>
>>> Am 21.01.21 um 09:27 schrieb Daniel Vetter:
>>>
omas!
>>>
>>> Am 20.01.21 um 18:42 schrieb Daniel Vetter:
>>>> On Wed, Jan 20, 2021 at 6:10 PM Noralf Trønnes
>>>> wrote:
>>>>>
>>>>> Add a connector type for USB connected display panels.
>>>>>
>&g
change this time is that I've followed Peter Stuge's advice to
not let DRM stuff leak into the USB protocol. This has made the protocol
easier to understand just from reading the header file.
Noralf.
[1] https://github.com/notro/gud/wiki
Noralf Trønnes (3):
drm/uapi: Add USB connector type
drm
tching when connector status is forced
- Check EDID length reported by the device
- Use drm_do_get_edid() so userspace can overrride EDID
- Set epoch counter to signal connector status change
- gud_drm_driver can be const now
Cc: Peter Stuge
Cc: Lubomir Rintel
Signed-off-by: Noralf T
Add a connector type for USB connected display panels.
Signed-off-by: Noralf Trønnes
---
include/uapi/drm/drm_mode.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h
index fed66a03c7ae..33024cc5d26e 100644
--- a/include/uapi/drm
ue changes.
Signed-off-by: Noralf Trønnes
---
drivers/gpu/drm/drm_probe_helper.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/drm_probe_helper.c
b/drivers/gpu/drm/drm_probe_helper.c
index d6017726cc2a..e5432dcf6999 100644
--- a/drivers/gpu/drm/drm_probe_help
Den 31.07.2020 14.51, skrev Oleksandr Andrushchenko:
> From: Oleksandr Andrushchenko
>
> Add YUYV to supported formats, so the frontend can work with the
> formats used by cameras and other HW.
>
> Signed-off-by: Oleksandr Andrushchenko
> ---
Ack
>
> Signed-off-by: Oleksandr Andrushchenko
> ---
Acked-by: Noralf Trønnes
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Den 14.07.2020 21.38, skrev Peter Stuge:
> Noralf Trønnes wrote:
>>> In all cases, the driver on the host knows/has available how many bytes
>>> were successfully transfered.
>>
>> I was thinking about the device, that it could get out of sync. Let's
>&
Den 14.07.2020 19.40, skrev Peter Stuge:
> Hi Noralf,
>
> Noralf Trønnes wrote:
>> I would like to keep the SET_BUFFER request since it will serve as a
>> syncing point between the host and the device. I'm no USB expert but I
>> assume that a bulk transfer can fail
Den 02.06.2020 13.46, skrev Noralf Trønnes:
>
>
> Den 02.06.2020 04.32, skrev Alan Stern:
>> On Tue, Jun 02, 2020 at 12:12:07AM +, Peter Stuge wrote:
>>
>> ...
>>
>>> The way I read composite_setup() after try_fun_setup: it calls f->setup(
Den 09.07.2020 18.32, skrev Lubomir Rintel:
> Hello,
>
> On 29 May 2020 Noralf Trønnes wrote:
> ...
>> This series adds a USB host driver and a device/gadget driver to achieve
>> that.
>>
>> The reason for calling it 'Generic' is so anyone can make a USB
&g
Den 08.07.2020 14.49, skrev Paul Cercueil:
> Hi Daniel,
>
> Le mer. 8 juil. 2020 à 9:23, Daniel Vetter a écrit :
>> On Tue, Jul 07, 2020 at 04:32:25PM +0200, Noralf Trønnes wrote:
>>> (cc Dillon)
>>>
>>> Den 03.07.2020 19.26, skrev Sam Ravnborg:
&
(cc Dillon)
Den 03.07.2020 19.26, skrev Sam Ravnborg:
> Hi Noralf/Paul.
>
> Trying to stir up this discussion again.
>
> On Sun, Jun 14, 2020 at 06:36:22PM +0200, Noralf Trønnes wrote:
>>
>>
>> Den 07.06.2020 15.38, skrev Paul Cercueil:
>>> Hi,
l
> ---
Thanks for fixing this, clearly I didn't test this. Probably because the
aux spi ip block on the Raspberry Pi that can do 9 bit didn't have a
driver at the time. Did you actually test this or was it spotted reading
the code?
Reviewed-by: Noralf Trønnes
> drivers/gpu/drm/drm_mipi_dbi.c | 2
sky
> Cc: Dave Airlie
> Cc: Sean Paul
> Cc: Simon Ser
> Cc: Noralf Trønnes
> Cc: Ben Skeggs
> Cc: Christian König
> Cc: Harry Wentland
> Cc: Karol Herbst
>
> ---
>
> Harry and Christian, could one of you ack this on behalf of AMD
> drivers?
Den 07.06.2020 15.38, skrev Paul Cercueil:
> Hi,
>
> Here's a follow-up on the previous discussion about the current state of
> DSI/DBI panel drivers, TinyDRM, and the need of a cleanup.
>
> This patchset introduces the following:
> * It slightly tweaks the MIPI DSI code so that it supports
Den 12.06.2020 18.00, skrev Daniel Vetter:
> Same patch as the mipi-dbi one, atomic tracks this for us already, we
> just have to check the right thing.
>
> Signed-off-by: Daniel Vetter
> Cc: "Noralf Trønnes"
> ---
crtc is off. And we don't want to
> upload frames when that's the case, so filter that out too.
>
> Signed-off-by: Daniel Vetter
> Cc: Maarten Lankhorst
> Cc: Maxime Ripard
> Cc: Thomas Zimmermann
> Cc: David Airlie
> Cc: Daniel Vetter
> Cc: David Lechner
&g
Hi Emil,
Den 03.06.2020 22.25, skrev Emil Velikov:
> Hi Noralf,
>
> On Wed, 3 Jun 2020 at 13:15, Noralf Trønnes wrote:
>>
>> Den 28.05.2020 17.27, skrev Emil Velikov:
>>> On Sun, 24 May 2020 at 19:35, Daniel Vetter wrote:
>>>>
>>>>
Den 02.06.2020 20.38, skrev Peter Stuge:
> Alan Stern wrote:
A gadget driver can STALL in response to a control-OUT data packet,
but only before it has seen the packet.
>>>
>>> How can it do that for OUT, and IN if possible there too?
>>
>> In the way described just above: The gadget
Den 02.06.2020 02.12, skrev Peter Stuge:
> Hi Noralf,
>
> Thanks a lot for going into more detail.
>
> Noralf Trønnes wrote:
>>> Several Linux/DRM internals have "leaked" into the USB protocol - this
>>> should be avoided if you want device implemen
Den 28.05.2020 15.48, skrev Emil Velikov:
> Hi all,
>
> I realise this has landed, so a small FYI comment.
>
> On Sat, 9 May 2020 at 15:16, Noralf Trønnes wrote:
>
>> +int drm_client_framebuffer_flush(struct drm_client_buffer *buffer, struct
>> drm_rect *rect
Den 28.05.2020 17.27, skrev Emil Velikov:
> On Sun, 24 May 2020 at 19:35, Daniel Vetter wrote:
>>
>> On Sun, May 24, 2020 at 7:46 PM Noralf Trønnes wrote:
>>>
>>>
>>>
>>> Den 24.05.2020 18.13, skrev Paul Cercueil:
>>>> Hi list,
&g
Hi,
Den 02.06.2020 19.05, skrev Felipe Balbi:
>
> Hi,
>
> I missed this completely until now.
> Noralf Trønnes writes:
>> This adds the gadget side support for the Generic USB Display. It presents
>> a DRM display device as a USB Display configured through
Den 02.06.2020 04.32, skrev Alan Stern:
> On Tue, Jun 02, 2020 at 12:12:07AM +, Peter Stuge wrote:
>
> ...
>
>> The way I read composite_setup() after try_fun_setup: it calls f->setup()
>> when available, and that can return < 0 to stall.
>>
>> I expect that composite_setup() and thus
Hi Peter,
Den 30.05.2020 00.45, skrev Peter Stuge:
> Hi Noralf,
>
> Noralf Trønnes wrote:
>> This adds a generic USB display driver with the intention that it can be
>> used with future USB interfaced low end displays/adapters.
>
> Fun!
>
>
>> Th
drm_client_register() return status so clients can know if the DRM
device is gone or not.
v3:
- Forgot to remove locking with the change in the previous version.
No need for locking when drm_client_register() is not called.
Signed-off-by: Noralf Trønnes
---
drivers/gpu/drm/drm_client.c | 44
side can disable the gadget,
special care has been taken to make that safe.
v2:
- Use drm_client_modeset_disable()
Signed-off-by: Noralf Trønnes
---
drivers/gpu/drm/gud/Kconfig |6 +
drivers/gpu/drm/gud/Makefile |1 +
drivers/gpu/drm/gud/gud_drm_gadget.c | 1167
gud_drm_req_set_buffer
- Fix protocol version negotiation
- Remove mode->vrefresh, it's calculated
Signed-off-by: Noralf Trønnes
---
MAINTAINERS | 8 +
drivers/gpu/drm/Kconfig | 2 +
drivers/gpu/drm/Makefile| 1 +
drivers/gpu/drm/
framebuffer data/pixels are sent over the bulk endpoint.
The DRM part of the gadget is placed in the DRM subsystem since it reaches
into the DRM internals.
Cc: Felipe Balbi
Signed-off-by: Noralf Trønnes
---
.../ABI/testing/configfs-usb-gadget-gud_drm | 10 +
MAINTAINERS
ext=479da1f538a2f3547e15f9d5922c611b69ec2fbc
Noralf Trønnes (6):
drm/client: Add drm_client_init_from_id()
drm/client: Add drm_client_modeset_disable()
drm/client: Add a way to set modeset, properties and rotation
drm: Add Generic USB Display driver
drm/gud: Add functionality for the USB gadget side
usb: gad
is not
atomic (Sam)
Signed-off-by: Noralf Trønnes
---
drivers/gpu/drm/drm_client_modeset.c | 137 +++
include/drm/drm_client.h | 38 +++-
2 files changed, 174 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/drm_client_modeset.c
b/drivers/gpu/drm
Add a way for clients to disable all outputs.
Signed-off-by: Noralf Trønnes
---
drivers/gpu/drm/drm_client_modeset.c | 20
include/drm/drm_client.h | 1 +
2 files changed, 21 insertions(+)
diff --git a/drivers/gpu/drm/drm_client_modeset.c
b/drivers/gpu/drm
Den 26.05.2020 11.08, skrev dillon min:
> Hi Andy,
>
> Thanks for input.
>
> On Tue, May 26, 2020 at 3:46 PM Andy Shevchenko
> wrote:
>>
>> On Mon, May 25, 2020 at 6:46 AM wrote:
>>>
>>> From: dillon min
>>>
>>> This driver combine tiny/ili9341.c mipi_dbi_interface driver
>>> with
Den 25.05.2020 04.05, skrev Paul Cercueil:
>
>
> Le lun. 25 mai 2020 à 2:46, Noralf Trønnes a écrit :
>>
>>
>> Den 24.05.2020 23.33, skrev Paul Cercueil:
>>>
>>>
>>> Le dim. 24 mai 2020 à 23:24, Noralf Trønnes a
>>> éc
Den 24.05.2020 20.35, skrev Daniel Vetter:
> On Sun, May 24, 2020 at 7:46 PM Noralf Trønnes wrote:
>>
>>
>>
>> Den 24.05.2020 18.13, skrev Paul Cercueil:
>>> Hi list,
>>>
>>> I'd like to open a discussion about the current support of MIPI D
Den 24.05.2020 23.33, skrev Paul Cercueil:
>
>
> Le dim. 24 mai 2020 à 23:24, Noralf Trønnes a écrit :
>>
>>
>> Den 24.05.2020 22.42, skrev Paul Cercueil:
>>>
>>>
>>> Le dim. 24 mai 2020 à 22:14, Noralf Trønnes a
>>> éc
Den 24.05.2020 22.42, skrev Paul Cercueil:
>
>
> Le dim. 24 mai 2020 à 22:14, Noralf Trønnes a écrit :
>>
>>
>> Den 24.05.2020 21.54, skrev Paul Cercueil:
>>> Hi Noralf,
>>>
>>> Le dim. 24 mai 2020 à 19:46, Noralf Trønnes a
>&g
Den 24.05.2020 21.54, skrev Paul Cercueil:
> Hi Noralf,
>
> Le dim. 24 mai 2020 à 19:46, Noralf Trønnes a écrit :
>>
>>
>> Den 24.05.2020 18.13, skrev Paul Cercueil:
>>> Hi list,
>>>
>>> I'd like to open a discussion about the current
Den 24.05.2020 18.13, skrev Paul Cercueil:
> Hi list,
>
> I'd like to open a discussion about the current support of MIPI DSI and
> DBI panels.
>
> Both are standards from the MIPI alliance, both are communication
> protocols between a LCD controller and a LCD panel, they generally both
> use
Den 19.05.2020 10.04, skrev Thomas Zimmermann:
> The udl driver contains an implementation of GEM vmap and mmap
> operations that is identical to the common SHMEM helper; except
> that udl's code uses cached pages by default.
>
> Convert udl to regular SHMEM helper functions. There's no reason
This replaces drm_fb_swab16() with drm_fb_swab() supporting 16 and 32-bit.
Also make pixel line caching optional.
v2:
- Bail out on cpp != 2 && 4 (Sam)
Reviewed-by: Sam Ravnborg
Signed-off-by: Noralf Trønnes
---
drivers/gpu/drm/drm_format_helper.c | 61 +++--
Add a way for clients to disable all outputs.
Signed-off-by: Noralf Trønnes
---
drivers/gpu/drm/drm_client_modeset.c | 20
include/drm/drm_client.h | 1 +
2 files changed, 21 insertions(+)
diff --git a/drivers/gpu/drm/drm_client_modeset.c
b/drivers/gpu/drm
is not
atomic (Sam)
Signed-off-by: Noralf Trønnes
---
drivers/gpu/drm/drm_client_modeset.c | 137 +++
include/drm/drm_client.h | 38 +++-
2 files changed, 174 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/drm_client_modeset.c
b/drivers/gpu/drm
framebuffer data/pixels are sent over the bulk endpoint.
The DRM part of the gadget is placed in the DRM subsystem since it reaches
into the DRM internals.
Cc: Felipe Balbi
Signed-off-by: Noralf Trønnes
---
.../ABI/testing/configfs-usb-gadget-gud_drm | 10 +
MAINTAINERS
drm_client_register() return status so clients can know if the DRM
device is gone or not.
Signed-off-by: Noralf Trønnes
---
drivers/gpu/drm/drm_client.c | 48 +++-
include/drm/drm_client.h | 4 ++-
2 files changed, 50 insertions(+), 2 deletions(-)
diff --git
Add a way for client to check the configuration before comitting.
v2:
- Fix docs (Sam)
Reviewed-by: Sam Ravnborg
Signed-off-by: Noralf Trønnes
---
drivers/gpu/drm/drm_client_modeset.c | 35
include/drm/drm_client.h | 1 +
2 files changed, 32
side can disable the gadget,
special care has been taken to make that safe.
v2:
- Use drm_client_modeset_disable()
Signed-off-by: Noralf Trønnes
---
drivers/gpu/drm/gud/Kconfig |6 +
drivers/gpu/drm/gud/Makefile |1 +
drivers/gpu/drm/gud/gud_drm_gadget.c | 1165
-off-by: Noralf Trønnes
---
MAINTAINERS | 8 +
drivers/gpu/drm/Kconfig | 2 +
drivers/gpu/drm/Makefile| 1 +
drivers/gpu/drm/gud/Kconfig | 14 +
drivers/gpu/drm/gud/Makefile| 4 +
drivers/gpu/drm/gud
Add a way to lookup a backlight device based on its name.
Will be used by a USB display gadget getting the name from configfs.
Cc: Lee Jones
Cc: Daniel Thompson
Cc: Jingoo Han
Reviewed-by: Sam Ravnborg
Reviewed-by: Daniel Thompson
Acked-by: Lee Jones
Signed-off-by: Noralf Trønnes
comments
Noralf.
[1] https://youtu.be/AhGZWwUm8JU
[2] tools/usb/usbip/README
[3] https://magpi.raspberrypi.org/articles/raspberry-pi-specs-benchmarks
Noralf Trønnes (10):
backlight: Add backlight_device_get_by_name()
drm/client: Add drm_client_init_from_id()
drm/client: Add
Some drivers need explicit flushing of buffer changes, add a function
that does that.
v2:
- Put all clip rect stuff inside if statement (Sam)
Reviewed-by: Sam Ravnborg
Signed-off-by: Noralf Trønnes
---
drivers/gpu/drm/drm_client.c | 33 +
include/drm
Den 04.05.2020 14.06, skrev Daniel Vetter:
> On Wed, Apr 29, 2020 at 02:48:22PM +0200, Noralf Trønnes wrote:
>> This adds a function that creates a backlight device for a connector.
>> It does not deal with the KMS backlight ABI proposition[1] to add a
>> connector pr
Den 03.05.2020 12.29, skrev Sam Ravnborg:
> Hi Noralf
>
> On Wed, Apr 29, 2020 at 02:48:27PM +0200, Noralf Trønnes wrote:
>> This replaces drm_fb_swab16() with drm_fb_swab() supporting 16 and 32-bit.
>> Also make pixel line caching optional.
>>
>> Signed-o
r that
state/property and 2 weeks later the insight is gone. It just doesn't
stick. What makes it difficult for me I believe is that I have never
looked much at the userspace side, how this is all used.
>
> Sam
>
> On Wed, Apr 29, 2020 at 02:48:26PM +0200, Noralf Trønnes wrote
Den 03.05.2020 10.03, skrev Sam Ravnborg:
> Hi Noralf.
>
> On Wed, Apr 29, 2020 at 02:48:25PM +0200, Noralf Trønnes wrote:
>> Add a way for client to check the configuration before comitting.
>>
>> Signed-off-by: Noralf Trønnes
> Two small ntis. With these
Den 03.05.2020 09.48, skrev Sam Ravnborg:
> Hi Noralf.
>
> On Wed, Apr 29, 2020 at 02:48:24PM +0200, Noralf Trønnes wrote:
>> Some drivers need explicit flushing of buffer changes, add a function
>> that does that.
> I trust you on this.
All drivers in tiny/ and at l
Den 29.04.2020 14.48, skrev Noralf Trønnes:
> This adds a generic USB display driver with the intention that it can be
> used with future USB interfaced low end displays/adapters. The Linux
> gadget device driver will serve as the canonical device implementation.
>
> Th
Den 29.04.2020 14.48, skrev Noralf Trønnes:
> Hi,
>
> A while back I had the idea to turn a Raspberry Pi Zero into a $5
> USB to HDMI/SDTV/DSI/DPI display adapter.
>
> This series adds a USB host driver and a device/gadget driver to achieve
> that.
>
> The rea
Den 30.04.2020 12.15, skrev Lee Jones:
> On Thu, 30 Apr 2020, Noralf Trønnes wrote:
>
>>
>>
>> Den 30.04.2020 10.32, skrev Lee Jones:
>>> On Wed, 29 Apr 2020, Noralf Trønnes wrote:
>>>
>>>> Add a way to lookup a backlight device based
Den 30.04.2020 10.32, skrev Lee Jones:
> On Wed, 29 Apr 2020, Noralf Trønnes wrote:
>
>> Add a way to lookup a backlight device based on its name.
>> Will be used by a USB display gadget getting the name from configfs.
>>
>> Cc: Lee Jones
>> Cc: Daniel Th
Den 29.04.2020 16.13, skrev Hans de Goede:
> Hi Noralf,
>
> On 4/29/20 2:48 PM, Noralf Trønnes wrote:
>> This adds a function that creates a backlight device for a connector.
>> It does not deal with the KMS backlight ABI proposition[1] to add a
>> connector property
the path for any BSD port of the
driver.
Signed-off-by: Noralf Trønnes
---
MAINTAINERS | 8 +
drivers/gpu/drm/Kconfig | 2 +
drivers/gpu/drm/Makefile| 1 +
drivers/gpu/drm/gud/Kconfig | 14 +
drivers/gpu/drm/gud
drm_client_register() return status so clients can know if the DRM
device is gone or not.
Signed-off-by: Noralf Trønnes
---
drivers/gpu/drm/drm_client.c | 48 +++-
include/drm/drm_client.h | 4 ++-
2 files changed, 50 insertions(+), 2 deletions(-)
diff --git
Add a way to lookup a backlight device based on its name.
Will be used by a USB display gadget getting the name from configfs.
Cc: Lee Jones
Cc: Daniel Thompson
Cc: Jingoo Han
Signed-off-by: Noralf Trønnes
---
drivers/video/backlight/backlight.c | 21 +
include/linux
framebuffer data/pixels are sent over the bulk endpoint.
The DRM part of the gadget is placed in the DRM subsystem since it reaches
into the DRM internals.
Cc: Felipe Balbi
Signed-off-by: Noralf Trønnes
---
.../ABI/testing/configfs-usb-gadget-gud_drm | 10 +
MAINTAINERS
This replaces drm_fb_swab16() with drm_fb_swab() supporting 16 and 32-bit.
Also make pixel line caching optional.
Signed-off-by: Noralf Trønnes
---
drivers/gpu/drm/drm_format_helper.c | 61 +++--
drivers/gpu/drm/drm_mipi_dbi.c | 2 +-
include/drm
Some drivers need explicit flushing of buffer changes, add a function
that does that.
Signed-off-by: Noralf Trønnes
---
drivers/gpu/drm/drm_client.c | 31 +++
include/drm/drm_client.h | 1 +
2 files changed, 32 insertions(+)
diff --git a/drivers/gpu/drm
another USB interface of type
VENDOR, so it's still possible for the display to be part of a multi
function device.
Noralf.
[1] https://youtu.be/AhGZWwUm8JU
[2] https://magpi.raspberrypi.org/articles/raspberry-pi-specs-benchmarks
[3] https://patchwork.freedesktop.org/series/73508/
Noralf Trønnes (10
side can disable the gadget,
special care has been taken to make that safe.
Signed-off-by: Noralf Trønnes
---
drivers/gpu/drm/gud/Kconfig |6 +
drivers/gpu/drm/gud/Makefile |1 +
drivers/gpu/drm/gud/gud_drm_gadget.c | 1169 ++
include/drm/gud_drm.h
Add a way for client to check the configuration before comitting.
Signed-off-by: Noralf Trønnes
---
drivers/gpu/drm/drm_client_modeset.c | 35
include/drm/drm_client.h | 1 +
2 files changed, 32 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu
/hw/xfree86/drivers/modesetting/drmmode_display.c
[8]
https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel/-/blob/master/src/backlight.c
Cc: Hans de Goede
Cc: Jani Nikula
Cc: Martin Peres
Cc: Daniel Thompson
Signed-off-by: Noralf Trønnes
---
Documentation/gpu/drm-kms-helpers.rst |
401 - 500 of 2454 matches
Mail list logo