On Wed, 29 Jan 2025 at 15:40, Dmitry Osipenko
wrote:
> Otherwise, the proper solution would be to pass info about host's page
> size to guest using extended virtio protocol.
It is not fully clear to me, as to what exactly is meant by that.
IIUC, virtio is a spec managed externally, so does that m
From: Sasha Finkelstein
This is the display panel used for the touchbar on laptops that have it.
Co-developed-by: Nick Chan
Signed-off-by: Nick Chan
Reviewed-by: Dmitry Baryshkov
Reviewed-by: Neil Armstrong
Signed-off-by: Sasha Finkelstein
---
drivers/gpu/drm/panel/Kconfig| 9
From: Sasha Finkelstein
Add bindings for a secondary display controller present on certain
Apple laptops.
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: Sasha Finkelstein
---
.../display/apple,h7-display-pipe-mipi.yaml| 83
.../bindings/display/apple,h7-display
From: Sasha Finkelstein
Add the MAINTAINERS entries for the driver
Acked-by: Sven Peter
Signed-off-by: Sasha Finkelstein
---
MAINTAINERS | 16
1 file changed, 16 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index
a87ddad78e26f28ffd0f3433560d6db1518f9f95
From: Sasha Finkelstein
Adds device tree entries for the touchbar screen
Co-developed-by: Janne Grunau
Signed-off-by: Janne Grunau
Reviewed-by: Nick Chan
Signed-off-by: Sasha Finkelstein
---
arch/arm64/boot/dts/apple/t8103-j293.dts | 31
arch/arm64/boot/dts/apple/t8103
From: Sasha Finkelstein
This display controller is present on M-series chips and is used
to drive the touchbar display.
Co-developed-by: Janne Grunau
Signed-off-by: Janne Grunau
Reviewed-by: Dmitry Baryshkov
Signed-off-by: Sasha Finkelstein
---
drivers/gpu/drm/Kconfig| 2
Hi.
This patch series adds support for a secondary display controller
present on Apple M1/M2 chips and used to drive the display of the
"touchbar" touch panel present on those.
Signed-off-by: Sasha Finkelstein
---
Changes in v6:
- Use the drm_connector_helper_get_modes_fixed helpe
On Thu, 6 Feb 2025 at 10:17, Maxime Ripard wrote:
> Sorry to figure it out that late, but how do you plan on maintaining it?
> Where will the patches go through, and who will you send PR to?
Downstream development is done via the https://github.com/AsahiLinux/linux/
repo, then send patches to ml.
From: Sasha Finkelstein
Adds device tree entries for the touchbar screen
Co-developed-by: Janne Grunau
Signed-off-by: Janne Grunau
Reviewed-by: Nick Chan
Signed-off-by: Sasha Finkelstein
---
arch/arm64/boot/dts/apple/t8103-j293.dts | 31
arch/arm64/boot/dts/apple/t8103
From: Sasha Finkelstein
This is the display panel used for the touchbar on laptops that have it.
Co-developed-by: Nick Chan
Signed-off-by: Nick Chan
Signed-off-by: Sasha Finkelstein
---
drivers/gpu/drm/panel/Kconfig| 9 +++
drivers/gpu/drm/panel/Makefile | 1 +
drivers/gpu
From: Sasha Finkelstein
This display controller is present on M-series chips and is used
to drive the touchbar display.
Co-developed-by: Janne Grunau
Signed-off-by: Janne Grunau
Signed-off-by: Sasha Finkelstein
---
drivers/gpu/drm/Kconfig| 2 +
drivers/gpu/drm/Makefile | 1
From: Sasha Finkelstein
Add bindings for a secondary display controller present on certain
Apple laptops.
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: Sasha Finkelstein
---
.../display/apple,h7-display-pipe-mipi.yaml| 83
.../bindings/display/apple,h7-display
Hi.
This patch series adds support for a secondary display controller
present on Apple M1/M2 chips and used to drive the display of the
"touchbar" touch panel present on those.
Signed-off-by: Sasha Finkelstein
---
Changes in v5:
- Moved to using the component framework.
- Other life
From: Sasha Finkelstein
Add the MAINTAINERS entries for the driver
Acked-by: Sven Peter
Signed-off-by: Sasha Finkelstein
---
MAINTAINERS | 5 +
1 file changed, 5 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index
a87ddad78e26f28ffd0f3433560d6db1518f9f95
On Mon, 27 Jan 2025 at 08:31, Thomas Zimmermann wrote:
> This is per-architecture code and does not belong in a DRM driver.
I agree that this is not quite the place, and ideally i'd use MAX_PAGE_SIZE
from https://lore.kernel.org/all/20241014105514.3206191-1-ryan.robe...@arm.com/
however that seri
From: Sasha Finkelstein
This allows running different page sizes between host and guest on
platforms that support mixed page sizes.
Signed-off-by: Sasha Finkelstein
---
Changes in v2:
- Aligned all object sizes to MAX_PAGE_SIZE too.
- Link to v1:
https://lore.kernel.org/r/20250109-virtgpu
On Fri, 24 Jan 2025 at 23:52, Dmitry Osipenko
wrote:
> > - ret = drm_mm_insert_node(&vgdev->host_visible_mm, &vram->vram_node,
> > - bo->base.base.size);
> > + ret = drm_mm_insert_node_generic(&vgdev->host_visible_mm,
> > &vram->vram_node,
> > +
From: Sasha Finkelstein
This allows running different page sizes between host and guest on
platforms that support mixed page sizes.
Signed-off-by: Sasha Finkelstein
---
drivers/gpu/drm/virtio/virtgpu_vram.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/drivers
On Sun, 19 Jan 2025 at 21:02, Dmitry Osipenko
wrote:
> I've tested this patch. Partial mapping with a non-zero offset doesn't
> work because drm_gem_mmap() rejects it. I'd want to see your sample code
> that performs mmaping, maybe I'm missing something.
The entire setup is a huge pile of moving
On Sun, 19 Jan 2025 at 12:50, Dmitry Osipenko
wrote:
> > ret = io_remap_pfn_range(vma, vma->vm_start,
> > - vram->vram_node.start >> PAGE_SHIFT,
> > + (vram->vram_node.start >> PAGE_SHIFT) +
> > vma->vm_pgoff,
> >
On Fri, 17 Jan 2025 at 11:24, Maxime Ripard wrote:
> >
> > I was thinking about using drmm_ here, as the DRM device is also created
> > and destroyed each time. But I might be mistaken here.
>
> Ah, right, it makes sense then, thanks!
> Maxime
Not sure i understand. The drm device is created in p
On Wed, 15 Jan 2025 at 11:21, Dmitry Baryshkov
wrote:
> > + ret = drm_simple_encoder_init(drm, &adp->encoder,
> > DRM_MODE_ENCODER_DSI);
>
> This is being deprecated, please use drm_encoder_init() /
> drmm_encoder_init() instead.
I seem to be unable to find any documentation or a mailing lis
From: Sasha Finkelstein
Adds device tree entries for the touchbar screen
Co-developed-by: Janne Grunau
Signed-off-by: Janne Grunau
Signed-off-by: Sasha Finkelstein
---
arch/arm64/boot/dts/apple/t8103-j293.dts | 31
arch/arm64/boot/dts/apple/t8103.dtsi | 60
From: Sasha Finkelstein
This display controller is present on M-series chips and is used
to drive the touchbar display.
Co-developed-by: Janne Grunau
Signed-off-by: Janne Grunau
Signed-off-by: Sasha Finkelstein
---
drivers/gpu/drm/Kconfig| 2 +
drivers/gpu/drm/Makefile | 1
From: Sasha Finkelstein
Add the MAINTAINERS entries for the driver
Signed-off-by: Sasha Finkelstein
---
MAINTAINERS | 5 +
1 file changed, 5 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index
a87ddad78e26f28ffd0f3433560d6db1518f9f95..4ce0d3bcf67910d909ba41261535dcb14a24a7b7
From: Sasha Finkelstein
This is the display panel used for the touchbar on laptops that have it.
Co-developed-by: Nick Chan
Signed-off-by: Nick Chan
Signed-off-by: Sasha Finkelstein
---
drivers/gpu/drm/panel/Kconfig| 9 +++
drivers/gpu/drm/panel/Makefile | 1 +
drivers/gpu
From: Sasha Finkelstein
Add bindings for a secondary display controller present on certain
Apple laptops.
Signed-off-by: Sasha Finkelstein
---
.../display/apple,h7-display-pipe-mipi.yaml| 83
.../bindings/display/apple,h7-display-pipe.yaml| 88
Hi.
This patch series adds support for a secondary display controller
present on Apple M1/M2 chips and used to drive the display of the
"touchbar" touch panel present on those.
Signed-off-by: Sasha Finkelstein
---
Changes in v4:
- Fixed dt bindings.
- Link to v3:
https://lore.ke
From: Sasha Finkelstein
Adds device tree entries for the touchbar screen
Co-developed-by: Janne Grunau
Signed-off-by: Janne Grunau
Signed-off-by: Sasha Finkelstein
---
arch/arm64/boot/dts/apple/t8103-j293.dts | 31
arch/arm64/boot/dts/apple/t8103.dtsi | 60
From: Sasha Finkelstein
This display controller is present on M-series chips and is used
to drive the touchbar display.
Co-developed-by: Janne Grunau
Signed-off-by: Janne Grunau
Signed-off-by: Sasha Finkelstein
---
drivers/gpu/drm/Kconfig| 2 +
drivers/gpu/drm/Makefile | 1
From: Sasha Finkelstein
Add the MAINTAINERS entries for the driver
Signed-off-by: Sasha Finkelstein
---
MAINTAINERS | 5 +
1 file changed, 5 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index
a87ddad78e26f28ffd0f3433560d6db1518f9f95..4ce0d3bcf67910d909ba41261535dcb14a24a7b7
From: Sasha Finkelstein
Add bindings for a secondary display controller present on certain
Apple laptops.
Signed-off-by: Sasha Finkelstein
---
.../display/apple,h7-display-pipe-mipi.yaml| 79 +++
.../bindings/display/apple,h7-display-pipe.yaml| 88
From: Sasha Finkelstein
This is the display panel used for the touchbar on laptops that have it.
Co-developed-by: Nick Chan
Signed-off-by: Nick Chan
Signed-off-by: Sasha Finkelstein
---
drivers/gpu/drm/panel/Kconfig| 9 +++
drivers/gpu/drm/panel/Makefile | 1 +
drivers/gpu
Hi.
This patch series adds support for a secondary display controller
present on Apple M1/M2 chips and used to drive the display of the
"touchbar" touch panel present on those.
Signed-off-by: Sasha Finkelstein
---
Changes in v3:
- Fixed building as module after splitting out
On Sat, 30 Nov 2024 at 12:36, Dmitry Baryshkov
wrote:
> Please add BL_CORE_SUSPENDRESUME option to the backlight device.
> But interestingly enough, none of the panels set that flag.
It appears that setting that option re-orders something in the resume process
in such a way that the entire displa
From: Sasha Finkelstein
This allows running different page sizes between host and guest on
platforms that support mixed page sizes.
Signed-off-by: Sasha Finkelstein
---
drivers/gpu/drm/virtio/virtgpu_vram.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/drivers
From: Sasha Finkelstein
Those are useful to implement coherent cross-vm mmap.
Signed-off-by: Sasha Finkelstein
---
drivers/gpu/drm/virtio/virtgpu_vram.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/virtio/virtgpu_vram.c
b/drivers/gpu/drm/virtio
On Sat, 30 Nov 2024 at 10:29, Dmitry Baryshkov
wrote:
> > +
> > +static int summit_resume(struct device *dev)
> > +{
> > + return summit_set_brightness(dev);
>
> Doesn't the generic code already handle that for you?
Apparently not, I have commented out the pm ops, entered sleep
and the displa
On Mon, 25 Nov 2024 at 16:07, Krzysztof Kozlowski wrote:
>
> BTW, max-brightness is a property of backlight, not panel, I think.
This is an oled panel, so no separate backlight device, the mipi commands
just change the pixel brightness. There is prior art in other bindings on having
the max-bright
On Tue, 26 Nov 2024 at 17:46, Krzysztof Kozlowski wrote:
> Please take a look how other bindings define ports. You miss here
> several items and more important - description what are these ports for.
Aside from missing descriptions, this definition is copied almost verbatim from
snps,dw-mipi-dsi.
On Tue, 26 Nov 2024 at 17:46, Krzysztof Kozlowski wrote:
> > +allOf:
> > + - $ref: dsi-controller.yaml#
...
> > +patternProperties:
> > + "^panel@[0-3]$": true
>
> These look unusual. Is this a DSI controller? If so, then reference
> dsi-controller. See other bindings how this is done.
This is
Hi.
This patch series adds support for a secondary display controller
present on Apple M1/M2 chips and used to drive the display of the
"touchbar" touch panel present on those.
Signed-off-by: Sasha Finkelstein
---
Changes in v2:
- Addressing the review feedback.
- Split out the mi
From: Sasha Finkelstein
This is the display panel used for the touchbar on laptops that have it.
Co-developed-by: Nick Chan
Signed-off-by: Nick Chan
Signed-off-by: Sasha Finkelstein
---
drivers/gpu/drm/panel/Kconfig| 9 +++
drivers/gpu/drm/panel/Makefile | 1 +
drivers/gpu
From: Sasha Finkelstein
Adds device tree entries for the touchbar screen
Co-developed-by: Janne Grunau
Signed-off-by: Janne Grunau
Signed-off-by: Sasha Finkelstein
---
arch/arm64/boot/dts/apple/t8103-j293.dts | 31
arch/arm64/boot/dts/apple/t8103.dtsi | 61
From: Sasha Finkelstein
Add the MAINTAINERS entries for the driver
Signed-off-by: Sasha Finkelstein
---
MAINTAINERS | 5 +
1 file changed, 5 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index
e7f0170977013889ca7c39b17727ba36d32e92dc..9a2fb7cd80e09f24932b91cd33d0cd2b3514b31c
From: Sasha Finkelstein
Add bindings for a secondary display controller present on certain
Apple laptops.
Signed-off-by: Sasha Finkelstein
---
.../display/apple,h7-display-pipe-mipi.yaml| 89 ++
.../bindings/display/apple,h7-display-pipe.yaml| 77
From: Sasha Finkelstein
This display controller is present on M-series chips and is used
to drive the touchbar display.
Co-developed-by: Janne Grunau
Signed-off-by: Janne Grunau
Signed-off-by: Sasha Finkelstein
---
drivers/gpu/drm/Kconfig| 2 +
drivers/gpu/drm/Makefile | 1
On Mon, 25 Nov 2024 at 13:57, wrote:
>
> On 25/11/2024 12:24, Sasha Finkelstein wrote:
> > On Mon, 25 Nov 2024 at 09:50, Neil Armstrong
> > wrote:
> >>
> >> So this controller only supports a single mode ???
> >>
> > Most likely. On all d
On Mon, 25 Nov 2024 at 09:45, Neil Armstrong wrote:
> > +static int summit_suspend(struct device *dev)
> > +{
> > + struct summit_data *panel = dev_get_drvdata(dev);
> > +
> > + int err = mipi_dsi_dcs_set_display_brightness(panel->dsi, 0);
> > +
> > + if (err < 0)
> > + ret
On Mon, 25 Nov 2024 at 09:50, Neil Armstrong wrote:
>
> So this controller only supports a single mode ???
>
Most likely. On all devices it is connected to a single built-in display.
Ack on all other changes, will be fixed for v2.
From: Sasha Finkelstein
This display controller is present on M-series chips and is used
to drive the touchbar display.
Co-developed-by: Janne Grunau
Signed-off-by: Janne Grunau
Signed-off-by: Sasha Finkelstein
---
drivers/gpu/drm/Kconfig | 2 +
drivers/gpu/drm/Makefile | 1
From: Sasha Finkelstein
Add the MAINTAINERS entries for the driver
Signed-off-by: Sasha Finkelstein
---
MAINTAINERS | 2 ++
1 file changed, 2 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index
e7f0170977013889ca7c39b17727ba36d32e92dc..1964bb705cae0b0f12e2174fc96c5cd123d31520
100644
From: Sasha Finkelstein
Adds device tree entries for the touchbar screen
Co-developed-by: Janne Grunau
Signed-off-by: Janne Grunau
Signed-off-by: Sasha Finkelstein
---
arch/arm64/boot/dts/apple/t8103-j293.dts | 8
arch/arm64/boot/dts/apple/t8103.dtsi | 26
Hi.
This patch series adds support for a secondary display controller
present on Apple M1/M2 chips and used to drive the display of the
"touchbar" touch panel present on those.
Signed-off-by: Sasha Finkelstein
---
Sasha Finkelstein (5):
dt-bindgins: display: Add Apple pre-D
From: Sasha Finkelstein
Add bindings for a secondary display controller present on certain
Apple laptops.
Signed-off-by: Sasha Finkelstein
---
.../bindings/display/apple,display-pipe.yaml | 59 ++
.../bindings/display/panel/apple,summit.yaml | 24 +
2
From: Sasha Finkelstein
This is the display panel used for the touchbar on laptops that have it.
Co-developed-by: Nick Chan
Signed-off-by: Nick Chan
Signed-off-by: Sasha Finkelstein
---
drivers/gpu/drm/adp/panel-summit.c | 108 +
1 file changed, 108
56 matches
Mail list logo