Prefer struct drm_edid based functions over struct edid.
Signed-off-by: Jani Nikula
---
Cc: Gerd Hoffmann
Cc: virtualizat...@lists.linux.dev
---
drivers/gpu/drm/tiny/bochs.c | 23 ++-
1 file changed, 10 insertions(+), 13 deletions(-)
diff --git a/drivers/gpu/drm/tiny/boch
Prefer struct drm_edid based functions over struct edid.
Signed-off-by: Jani Nikula
---
Cc: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 19 ++-
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c
b/drivers/gpu/drm/i2c/tda9
Prefer struct drm_edid based functions over struct edid.
Signed-off-by: Jani Nikula
---
Cc: Andrzej Hajda
Cc: Neil Armstrong
Cc: Robert Foss
Cc: Laurent Pinchart
Cc: Jonas Karlman
Cc: Jernej Skrabec
---
drivers/gpu/drm/bridge/analogix/anx7625.c | 26 +++
drivers/gpu/d
Prefer struct drm_edid based functions over struct edid.
Signed-off-by: Jani Nikula
---
Cc: Andrzej Hajda
Cc: Neil Armstrong
Cc: Robert Foss
Cc: Laurent Pinchart
Cc: Jonas Karlman
Cc: Jernej Skrabec
---
.../drm/bridge/analogix/analogix-anx78xx.c| 23 ++-
1 file change
Prefer struct drm_edid based functions over struct edid.
Signed-off-by: Jani Nikula
---
Cc: Andrzej Hajda
Cc: Neil Armstrong
Cc: Robert Foss
Cc: Laurent Pinchart
Cc: Jonas Karlman
Cc: Jernej Skrabec
---
.../gpu/drm/bridge/analogix/analogix-anx6345.c| 15 +++
1 file change
Resend of the remaining patches from [1].
BR,
Jani.
[1] https://lore.kernel.org/r/cover.1713273659.git.jani.nik...@intel.com
Jani Nikula (6):
drm/bridge/analogix/anx6345: switch to struct drm_edid
drm/bridge/analogix/anx78xx: switch to struct drm_edid
drm/bridge: anx7625: use struct drm_e
On Fri, May 10, 2024 at 5:37 AM Luca Ceresoli wrote:
>
> Hello Rob,
>
> On Fri, 10 May 2024 03:41:35 -0500
> "Rob Herring (Arm)" wrote:
>
> > On Fri, 10 May 2024 09:10:37 +0200, Luca Ceresoli wrote:
> > > Add bindings for the GE SUNH add-on connector. This is a physical,
> > > hot-pluggable conne
On Fri, May 10, 2024 at 02:45:48PM +0200, Thomas Zimmermann wrote:
> Hi
>
> > (This was discussed on #dri-devel, but I'll reiterate here as well).
> >
> > There are two problems at hand; one is the race condition during boot
> > when the login screen (or whatever display server appears first) is
> Offscreen test results:
>
> glmark2 command:
> glmark2-es2-wayland --off-screen -b shading:duration=5.0 -b refract -b build
> -b texture -b shadow -b bump -s 640x480 2>&1
> | | glmark2 tests |
> | sw ver |shading|build|texture|refract|shadow|
On Fri, May 10, 2024 at 07:04:15PM +0800, Liankun Yang wrote:
> Add dp PHY dt-bindings.
>
> Changeds in v2:
> - Add dp PHY dt-bindings.
> https://patchwork.kernel.org/project/linux-mediatek/patch/
> 20240403040517.3279-1-liankun.y...@mediatek.com/
>
> Signed-off-by: Liankun Yang
> ---
> .../dis
Hi
(This was discussed on #dri-devel, but I'll reiterate here as well).
There are two problems at hand; one is the race condition during boot
when the login screen (or whatever display server appears first) is
launched with simpledrm, only some moments later having the real GPU
driver appear.
On Wed, 10 Apr 2024, Thomas Zimmermann wrote:
> Udl's struct udl_connector is an empty wrapper around struct
> drm_connector. Remove it. Allocate the connector as part of struct
> udl_device and inline the init function into its only caller.
>
> v2:
> - fix return value in udl_modeset_init() (Dan)
On Wed, 10 Apr 2024, Thomas Zimmermann wrote:
> Provide separate implementations of .get_modes() and .detect_ctx()
> from struct drm_connector. Switch to struct drm_edid.
>
> Udl's .detect() helper used to fetch the EDID from the adapter and the
> .get_modes() helper provided display modes from th
hi Doug
Sorry, This patch was accidentally sent when sending other patches.
Please ignore this patch.
> Also: other than the main power supply, there is no difference between
> this and the ili2901. If you actually do have a main power supply,
> then you probably don't need a new table. You pro
On Wed, 10 Apr 2024, Thomas Zimmermann wrote:
> Clean up Makefile before listing new object files. No functional
> changes.
>
> Signed-off-by: Thomas Zimmermann
Reviewed-by: Jani Nikula
> ---
> drivers/gpu/drm/udl/Makefile | 7 ++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff
On Wed, 10 Apr 2024, Thomas Zimmermann wrote:
> Protect the code in udl_get_edid_block() with drm_dev_enter() and
> drm_dev_exit(), so that all callers automatically invoke it. The
> function uses hardware resources, which can be hot-unplugged at
> any time. The other code in udl_connector_detect(
On Wed, 10 Apr 2024, Thomas Zimmermann wrote:
> DisplayLink devices do not generate hotplug events. Remove the poll
> flag DRM_CONNECTOR_POLL_HPD, as it may not be specified together with
> DRM_CONNECTOR_POLL_CONNECT or DRM_CONNECTOR_POLL_DISCONNECT.
>
> Signed-off-by: Thomas Zimmermann
> Fixes:
On 10/05/2024 12:39, Mauro Carvalho Chehab wrote:
Em Fri, 10 May 2024 13:39:17 +0300
Dmitry Baryshkov escreveu:
On Fri, 10 May 2024 at 13:09, Jani Nikula wrote:
On Fri, 10 May 2024, Mauro Carvalho Chehab wrote:
Em Fri, 10 May 2024 11:08:38 +0300
Jani Nikula escreveu:
On Thu, 09 May
Em Fri, 10 May 2024 13:39:17 +0300
Dmitry Baryshkov escreveu:
> On Fri, 10 May 2024 at 13:09, Jani Nikula wrote:
> >
> > On Fri, 10 May 2024, Mauro Carvalho Chehab wrote:
> > > Em Fri, 10 May 2024 11:08:38 +0300
> > > Jani Nikula escreveu:
> > >
> > >> On Thu, 09 May 2024, Dmitry Baryshkov
On Fri, 10 May 2024, Liankun Yang wrote:
> Update write DP phyd register and add phy-dp bindings.
>
> Liankun Yang (2):
> Add write DP phyd register from parse dts
> Add dp PHY dt-bindings
Please use the proper subject prefix for the driver. git log suggests
"phy: phy-mtk-dp:".
Thanks,
Jani.
Em Fri, 10 May 2024 13:39:17 +0300
Dmitry Baryshkov escreveu:
> On Fri, 10 May 2024 at 13:09, Jani Nikula wrote:
> >
> > On Fri, 10 May 2024, Mauro Carvalho Chehab wrote:
> > > Em Fri, 10 May 2024 11:08:38 +0300
> > > Jani Nikula escreveu:
> > >
> > >> On Thu, 09 May 2024, Dmitry Baryshkov
Update write DP phyd register and add phy-dp bindings.
Liankun Yang (2):
Add write DP phyd register from parse dts
Add dp PHY dt-bindings
.../display/mediatek/mediatek.phy-dp.yaml | 45 +++
drivers/phy/mediatek/phy-mtk-dp.c | 37 +++
2 files change
During the testing phase, screen flickering is observed when
using displayport for screen casting. Relevant SSC register parameters
are set in dts to address the screen flickering issue effectively and
improve compatibility with different devices by adjusting the SSC gear.
Obtaining the DPTX node,
Add dp PHY dt-bindings.
Changeds in v2:
- Add dp PHY dt-bindings.
https://patchwork.kernel.org/project/linux-mediatek/patch/
20240403040517.3279-1-liankun.y...@mediatek.com/
Signed-off-by: Liankun Yang
---
.../display/mediatek/mediatek.phy-dp.yaml | 45 +++
1 file changed, 4
On Fri, May 10, 2024 at 12:54:17PM +0200, Luca Ceresoli wrote:
> > > +static int sunh_conn_handle_event(struct sunh_conn *conn, bool plugged)
> > > +{
> > > + int err;
> > > +
> > > + if (plugged == conn->plugged)
> > > + return 0;
> > > +
> > > + dev_info(conn->dev, "%s\n", plugged ? "conn
On Fri, May 10, 2024, at 12:54, Luca Ceresoli wrote:
> On Fri, 10 May 2024 12:24:06 +0200 "Arnd Bergmann" wrote:
>> On Fri, May 10, 2024, at 09:55, Greg Kroah-Hartman wrote:
>> > On Fri, May 10, 2024 at 09:10:41AM +0200, Luca Ceresoli wrote:
>> >>
>> >> +config GE_SUNH_CONNECTOR
>> >> + trista
> For the uapi issue you describe below my take would be that we should just
> try, and hope that everyone's been dutifully using O_CLOEXEC. But maybe
> I'm biased from the gpu world, where we've been hammering it in that
> "O_CLOEXEC or bust" mantra since well over a decade. Really the only valid
Hello Greg, Arnd,
On Fri, 10 May 2024 12:24:06 +0200
"Arnd Bergmann" wrote:
> On Fri, May 10, 2024, at 09:55, Greg Kroah-Hartman wrote:
> > On Fri, May 10, 2024 at 09:10:41AM +0200, Luca Ceresoli wrote:
> >>
> >> +config GE_SUNH_CONNECTOR
> >> + tristate "GE SUNH hotplug add-on connector"
>
Hello Greg,
thanks for reviewing.
On Fri, 10 May 2024 08:55:29 +0100
Greg Kroah-Hartman wrote:
> On Fri, May 10, 2024 at 09:10:41AM +0200, Luca Ceresoli wrote:
> > Add a driver to support the runtime hot-pluggable add-on connector on the
> > GE SUNH device. This connector allows connecting and
On Fri, 10 May 2024 at 13:09, Jani Nikula wrote:
>
> On Fri, 10 May 2024, Mauro Carvalho Chehab wrote:
> > Em Fri, 10 May 2024 11:08:38 +0300
> > Jani Nikula escreveu:
> >
> >> On Thu, 09 May 2024, Dmitry Baryshkov wrote:
> >> > The drm/msm driver had adopted using Python3 script to generate re
Hello Rob,
On Fri, 10 May 2024 03:41:35 -0500
"Rob Herring (Arm)" wrote:
> On Fri, 10 May 2024 09:10:37 +0200, Luca Ceresoli wrote:
> > Add bindings for the GE SUNH add-on connector. This is a physical,
> > hot-pluggable connector that allows to attach and detach at runtime an
> > add-on adding
Sounds good to me.
Reviewed-by: Simon Ser
Add definitions for panel replay selective update
v2: Remove unnecessary Cc from commit message
Signed-off-by: Jouni Högander
Reviewed-by: Animesh Manna
---
include/drm/display/drm_dp.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/include/drm/display/drm_dp.h b/include/drm/display
On Fri, May 10, 2024, at 09:55, Greg Kroah-Hartman wrote:
> On Fri, May 10, 2024 at 09:10:41AM +0200, Luca Ceresoli wrote:
>>
>> +config GE_SUNH_CONNECTOR
>> +tristate "GE SUNH hotplug add-on connector"
>> +depends on OF
>> +select OF_OVERLAY
>> +select FW_LOADER
>> +select NV
Hi,
On 03/05/2024 16:45, Ulf Hansson wrote:
+ Abel, Saravanna, Stephen
On Mon, 15 Apr 2024 at 19:17, Tomi Valkeinen
wrote:
On 15/04/2024 19:00, Tomi Valkeinen wrote:
Add a new flag, TI_SCI_PD_KEEP_BOOT_STATE, which can be set in the dts
when referring to power domains. When this flag is set
Il 10/05/24 11:34, CK Hu (胡俊光) ha scritto:
On Thu, 2024-05-09 at 11:27 +0200, AngeloGioacchino Del Regno wrote:
Il 09/05/24 07:42, CK Hu (胡俊光) ha scritto:
On Wed, 2024-05-08 at 15:03 +0200, AngeloGioacchino Del Regno
wrote:
Il 08/05/24 09:19, CK Hu (胡俊光) ha scritto:
On Tue, 2024-05-07 at 16:0
Il 10/05/24 08:16, Liankun Yang ha scritto:
Fix get efuse issue for MT8188 DPTX.
Signed-off-by: Liankun Yang
I may agree with this commit, but:
1. The commit title is incorrect - I don't see "drm/mediatek:" - please look at
the history to find out the right titles for your commits; and
2.
On Fri, 10 May 2024, Mauro Carvalho Chehab wrote:
> Em Fri, 10 May 2024 11:08:38 +0300
> Jani Nikula escreveu:
>
>> On Thu, 09 May 2024, Dmitry Baryshkov wrote:
>> > The drm/msm driver had adopted using Python3 script to generate register
>> > header files instead of shipping pre-generated heade
Il 10/05/24 04:15, Liankun Yang ha scritto:
Adjust the training sequence.Detects the actual link condition
and calculates the bandwidth where the relevant resolution resides.
The bandwidth is recalculated and modes that exceed the bandwidth are
filtered.
Example Modify bandwidth filtering requi
On Fri, May 10, 2024 at 09:32:02AM +0200, Thomas Zimmermann wrote:
> Hi
>
> Am 09.05.24 um 15:06 schrieb nerdopolis:
> >
> > Hi
> >
> >
> > So I have been made aware of an apparent race condition of some drivers
> > taking a bit longer to load, which could lead to a possible race
> > condition
On 10/05/2024 10:09, Jani Nikula wrote:
> libdrm does not like the empty string for driver date. Use "0" instead,
> which has been used by virtio previously.
>
> Reported-by: Steven Price
> Closes: https://lore.kernel.org/r/9d0cff47-308e-4b11-a9f3-4157dc26b...@arm.com
> Fixes: 7fb8af6798e8 ("drm:
On 10/05/2024 10:13, Jani Nikula wrote:
> On Thu, 09 May 2024, Steven Price wrote:
>> On 29/04/2024 17:43, Jani Nikula wrote:
>>> The driver date serves no useful purpose, because it's hardly ever
>>> updated. The information is misleading at best.
>>>
>>> As described in Documentation/gpu/drm-int
Jani Nikula writes:
> libdrm does not like the empty string for driver date. Use "0" instead,
> which has been used by virtio previously.
>
> Reported-by: Steven Price
> Closes: https://lore.kernel.org/r/9d0cff47-308e-4b11-a9f3-4157dc26b...@arm.com
> Fixes: 7fb8af6798e8 ("drm: deprecate driver d
On Fri, 10 May 2024, "Lin, Wayne" wrote:
> [Public]
>
>> -Original Message-
>> From: Limonciello, Mario
>> Sent: Friday, May 10, 2024 3:18 AM
>> To: Linux regressions mailing list ; Wentland,
>> Harry
>> ; Lin, Wayne
>> Cc: ly...@redhat.com; imre.d...@intel.com; Leon Weiß > bochum.de>;
Em Fri, 10 May 2024 11:08:38 +0300
Jani Nikula escreveu:
> On Thu, 09 May 2024, Dmitry Baryshkov wrote:
> > The drm/msm driver had adopted using Python3 script to generate register
> > header files instead of shipping pre-generated header files. Document
> > the minimal Python version supported
The "do probe" naming is confusing when it's really about reading a
block via DDC. Rename accordingly.
Signed-off-by: Jani Nikula
---
drivers/gpu/drm/drm_edid.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.
On Thu, 09 May 2024, Steven Price wrote:
> On 29/04/2024 17:43, Jani Nikula wrote:
>> The driver date serves no useful purpose, because it's hardly ever
>> updated. The information is misleading at best.
>>
>> As described in Documentation/gpu/drm-internals.rst:
>>
>> The driver date, formatte
libdrm does not like the empty string for driver date. Use "0" instead,
which has been used by virtio previously.
Reported-by: Steven Price
Closes: https://lore.kernel.org/r/9d0cff47-308e-4b11-a9f3-4157dc26b...@arm.com
Fixes: 7fb8af6798e8 ("drm: deprecate driver date")
Signed-off-by: Jani Nikula
Hi,
I got the following lockdep warnings while trying to make the powervr
driver work on MT8173. This was observed while trying to run vkmark.
This was on the next-20240506 kernel running Debian Sid with the
Mesa 24.0.6 package rebuilt to include the powervr driver.
[73602.438144] [
e.dtb]
Error 1
make[2]: *** Waiting for unfinished jobs
make[1]: *** [/builds/robherring/dt-review-ci/linux/Makefile:1430:
dt_binding_check] Error 2
make: *** [Makefile:240: __sub-make] Error 2
doc reference errors (make refcheckdocs):
See
https://patchwork.ozlabs.org/project/devicetree-bindings
Use generic macro round_closest_up for rounding to nearest multiple instead
of using local function.
Signed-off-by: Devarsh Thakkar
---
V1->V6 (No change, patch introduced in V7)
---
drivers/gpu/ipu-v3/ipu-image-convert.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/dri
If neither of the flags to round down (V4L2_SEL_FLAG_LE) or round up
(V4L2_SEL_FLAG_GE) are specified by the user, then round to nearest
multiple of requested value while updating the crop rectangle coordinates.
Use the rounding macro which gives preference to rounding down in case two
nearest val
Add macros to round to nearest specified power of 2. Two macros are added :
round_closest_up and round_closest_down which round up to nearest multiple
of 2 with a preference to round up or round down respectively if there are
two possible nearest values to the given number.
This patch is inspired
Hi Tomeu,
Am Mittwoch, dem 24.04.2024 um 08:37 +0200 schrieb Tomeu Vizoso:
> If we expose a render node for NPUs without rendering capabilities, the
> userspace stack will offer it to compositors and applications for
> rendering, which of course won't work.
>
> Userspace is probably right in not
Resending this V7 series to have proper linking of patches in the series
with cover-letter while doing git send-email.
Original cover letter:
This adds support for V4L2 M2M based driver for E5010 JPEG Encoder
which is a stateful JPEG encoder from Imagination technologies
and is present in TI AM62
On Thu, 09 May 2024, Dmitry Baryshkov wrote:
> The drm/msm driver had adopted using Python3 script to generate register
> header files instead of shipping pre-generated header files. Document
> the minimal Python version supported by the script.
>
> Signed-off-by: Dmitry Baryshkov
> ---
> Docume
On Wed, 8 May 2024 02:00:00 +0800, Sui Jingfeng wrote:
> Having conditional around the of_node pointer of the drm_bridge structure
> is not necessary, since drm_bridge structure always has the of_node as its
> member.
>
> Let's drop the conditional to get a better looks, please also note that
> th
On Fri, May 10, 2024 at 09:10:41AM +0200, Luca Ceresoli wrote:
> Add a driver to support the runtime hot-pluggable add-on connector on the
> GE SUNH device. This connector allows connecting and disconnecting an
> add-on to/from the main device to augment its features. Connection and
> disconnection
nerdopolis writes:
Hello,
> Hi
>
> So I have been made aware of an apparent race condition of some drivers
> taking a bit longer to load, which could lead to a possible race condition of
> display servers/greeters using the simpledrm device, and then experiencing
> problems once the real driv
55606
base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
patch link:
https://lore.kernel.org/r/20240506215305.30756-7-alexey.makhalov%40broadcom.com
patch subject: [PATCH v9 6/8] drm/vmwgfx: Use VMware hypercall API
config: x86_64-buildonly-randconfig-003-20240510
(https://download.0
Hi
Am 09.05.24 um 15:06 schrieb nerdopolis:
Hi
So I have been made aware of an apparent race condition of some
drivers taking a bit longer to load, which could lead to a possible
race condition of display servers/greeters using the simpledrm device,
and then experiencing problems once the
On Thu, 09 May 2024 09:06:29 -0400
nerdopolis wrote:
> Hi
>
> So I have been made aware of an apparent race condition of some
> drivers taking a bit longer to load, which could lead to a possible
> race condition of display servers/greeters using the simpledrm
> device, and then experiencing pro
Hi Dave, Sima,
this is the weekly drm-misc-fixes PR. Sorry for being late.
Best regards
Thomas
drm-misc-fixes-2024-05-10:
Short summary of fixes pull:
core:
- fix connector debugging output
meson:
- dw-hdmi: power-up fixes
- dw-hdmi: add badngap setting for g12
The following changes since comm
Add a driver to support the runtime hot-pluggable add-on connector on the
GE SUNH device. This connector allows connecting and disconnecting an
add-on to/from the main device to augment its features. Connection and
disconnection can happen at runtime at any moment without notice.
Different add-on
Supporting hardware whose final part of the DRM pipeline can be physically
removed requires the ability to detach all bridges from a given point to
the end of the pipeline.
Introduce a variant of drm_encoder_cleanup() for this.
Signed-off-by: Luca Ceresoli
---
Changed in v2:
- fix a typo in a
This driver implements the point of a DRM pipeline where a connector allows
removal of all the following bridges up to the panel.
The DRM subsystem currently allows hotplug of the monitor but not preceding
components. However there are embedded devices where the "tail" of the DRM
pipeline, includi
From: Paul Kocialkowski
In preparation for allowing bridges to be added to and removed from a DRM
card without destroying the whole card, add a DRM bridge notifier. Notified
events are addition and removal to/from the global bridge list.
Co-developed-by: Luca Ceresoli
Signed-off-by: Luca Cereso
Add bindings for the GE SUNH add-on connector. This is a physical,
hot-pluggable connector that allows to attach and detach at runtime an
add-on adding peripherals on non-discoverable busses.
Signed-off-by: Luca Ceresoli
---
NOTE: the second and third examples fail 'make dt_binding_check' becau
Hello,
this series aims at supporting a Linux device with a connector to
physically add and remove an add-on to/from the main device to augment its
features at runtime, using device tree overlays.
This is the v2 of "drm: add support for hot-pluggable bridges" [0] which
was however more limited in
On Fri, May 10, 2024 at 8:46 AM Barnabás Czémán wrote:
>
> On Fri, May 10, 2024 at 2:56 AM Dmitry Baryshkov
> wrote:
> >
> > On Thu, May 09, 2024 at 08:14:07PM +0200, Barnabás Czémán wrote:
> > > Move DCS off commands from .unprepare to .disable so that they
> > > actually reach the DSI host.
> >
Adjust the training sequence.Detects the actual link condition
and calculates the bandwidth where the relevant resolution resides.
The bandwidth is recalculated and modes that exceed the bandwidth are
filtered.
Example Modify bandwidth filtering requirements.
Signed-off-by: Liankun Yang
---
dr
Fix get efuse issue for MT8188 DPTX.
Signed-off-by: Liankun Yang
---
drivers/gpu/drm/mediatek/mtk_dp.c | 85 ++-
1 file changed, 84 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/mediatek/mtk_dp.c
b/drivers/gpu/drm/mediatek/mtk_dp.c
index 2136a596efa1..32
101 - 173 of 173 matches
Mail list logo