[PATCH 02/16] drm/atomic: Add reset to drm_private_obj

2025-10-12 Thread Maxime Ripard
r the migration of all private objs implementation by introducing a reset callback in drm_private_state_funcs, and by calling it if the passed state is NULL. The latter will be removed eventually, once every driver has been converted. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/drm_atomic.c

Re: [PATCH 05/16] drm/dp_mst: Switch private_obj initialization to reset

2025-10-08 Thread Maxime Ripard
On Wed, Oct 08, 2025 at 05:06:43PM +0300, Ville Syrjälä wrote: > On Wed, Oct 08, 2025 at 02:04:03PM +0200, Maxime Ripard wrote: > > The DP MST implementation relies on a drm_private_obj, that is > > initialized by allocating and initializing a state, and then passing it > > to

[PATCH 16/16] drm/mode_config: Call private obj reset with the other objects

2025-10-08 Thread Maxime Ripard
Now that we have all the drm_private_obj users relying on the reset implementation, we can move that call from drm_private_obj_init, where it was initially supposed to happen, to drm_mode_config_reset, which is the location reset is called for every other object in KMS. Signed-off-by: Maxime

[PATCH 14/16] drm/vc4: Switch private_obj initialization to reset

2025-10-08 Thread Maxime Ripard
nstance to the new pattern. Signed-off-by: Maxime Ripard --- Cc: Dave Stevenson Cc: "Maíra Canal" Cc: kernel-l...@raspberrypi.com --- drivers/gpu/drm/vc4/vc4_kms.c | 75 +++ 1 file changed, 54 insertions(+), 21 deletions(-) diff --git a

[PATCH 07/16] drm/amdgpu: Switch private_obj initialization to reset

2025-10-08 Thread Maxime Ripard
nstance to the new pattern. Signed-off-by: Maxime Ripard --- Cc: Harry Wentland Cc: Leo Li Cc: Rodrigo Siqueira Cc: Alex Deucher Cc: "Christian König" Cc: amd-...@lists.freedesktop.org --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 54 +-- 1 file ch

[PATCH 05/16] drm/dp_mst: Switch private_obj initialization to reset

2025-10-08 Thread Maxime Ripard
grate this instance to the new pattern. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/display/drm_dp_mst_topology.c | 39 ++- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/drivers/gpu/drm/display/drm_dp_mst_topology.c b/drivers/gpu/drm/display/drm_dp_mst_

[PATCH 12/16] drm/omapdrm: Switch private_obj initialization to reset

2025-10-08 Thread Maxime Ripard
s instance to the new pattern. Signed-off-by: Maxime Ripard --- Cc: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/omap_drv.c | 24 ++-- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/omap_drv.c b/drivers/gpu/drm/omapdrm/omap_d

Re: [PATCH v4 01/10] drm/connector: let drivers declare infoframes as unsupported

2025-10-03 Thread Maxime Ripard
On Thu, Sep 25, 2025 at 05:55:06PM +0300, Dmitry Baryshkov wrote: > > > As we will be getting more and more features, some of the InfoFrames > > > or data packets will be 'good to have, but not required'. > > > > And drivers would be free to ignore those. > > > > > > So, no, sorry. That's still a

Re: [PATCH v3 00/11] drm/connector: hdmi: limit infoframes per driver capabilities

2025-10-03 Thread Maxime Ripard
On Tue, Sep 30, 2025 at 10:02:28AM +0300, Dmitry Baryshkov wrote: > On Mon, Sep 29, 2025 at 03:00:04PM +0200, Maxime Ripard wrote: > > On Thu, Sep 25, 2025 at 05:16:07PM +0300, Dmitry Baryshkov wrote: > > > On Thu, Sep 25, 2025 at 03:13:47PM +0200, Maxime Ripard wrote: > >

Re: [PATCH v12 2/9] dma-buf: dma-heap: export declared functions

2025-10-03 Thread Maxime Ripard
On Thu, Oct 02, 2025 at 12:45:41PM -0700, John Stultz wrote: > On Thu, Oct 2, 2025 at 12:47 AM Maxime Ripard wrote: > > On Thu, Sep 11, 2025 at 03:49:43PM +0200, Jens Wiklander wrote: > > > Export the dma-buf heap functions to allow them to be used by the OP-TEE > > >

Re: [PATCH v2 2/9] drm/bridge: adv7511: handle unsupported InfoFrames

2025-10-03 Thread Maxime Ripard
Hi, On Sun, Sep 28, 2025 at 11:24:47AM +0300, Dmitry Baryshkov wrote: > Make hdmi_write_hdmi_infoframe() and hdmi_clear_infoframe() callbacks > return -EOPNOTSUPP for unsupported InfoFrames and make sure that > atomic_check() callback doesn't allow unsupported InfoFrames to be > enabled. > > Sign

Re: [PATCH v2 1/9] drm/display: hdmi-state-helpers: warn on unsupported InfoFrame types

2025-10-03 Thread Maxime Ripard
mitry Baryshkov > > [ ... ] Reviewed-by: Maxime Ripard Thanks! Maxime

[PATCH v5 34/39] drm/framebuffer: Switch to drm_atomic_get_new_crtc_state()

2025-10-02 Thread Maxime Ripard
swapped. As such, the existing state points to the new state, and we can use drm_atomic_get_new_crtc_state() instead. Reviewed-by: Dmitry Baryshkov Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- drivers/gpu/drm/drm_framebuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

Re: (subset) [PATCH 11/29] drm/crtc: Drop no_vblank bit field

2025-10-02 Thread Maxime Ripard
On Tue, 02 Sep 2025 10:32:39 +0200, Maxime Ripard wrote: > The no_vblank field in drm_crtc_state is defined as a bit-field with a > single bit. > > This will create a syntax issue with the macros we'll introduce next, > and most other booleans but the *_changed ones in drm_crt

[PATCH v5 35/39] drm/atomic: Remove unused drm_atomic_get_existing_crtc_state()

2025-10-02 Thread Maxime Ripard
The drm_atomic_get_existing_crtc_state() function is deprecated and isn't used anymore, so let's remove it. Reviewed-by: Dmitry Baryshkov Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- include/drm/drm_atomic.h | 18 -- 1 file changed, 18 deletions(-) di

[PATCH v5 23/39] drm/loongson: Switch to drm_atomic_get_new_crtc_state()

2025-10-02 Thread Maxime Ripard
() instead. Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Sui Jingfeng Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/loongson/lsdc_plane.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/loongson/lsdc_plane.c b/drivers/gpu/drm/loongson

Re: [PATCH v12 3/9] tee: implement protected DMA-heap

2025-10-02 Thread Maxime Ripard
On Thu, Sep 11, 2025 at 03:49:44PM +0200, Jens Wiklander wrote: > +static const char *heap_id_2_name(enum tee_dma_heap_id id) > +{ > + switch (id) { > + case TEE_DMA_HEAP_SECURE_VIDEO_PLAY: > + return "protected,secure-video"; > + case TEE_DMA_HEAP_TRUSTED_UI: > +

Re: [PATCH 4/9] dma-buf: heaps: Add debugfs support

2025-10-02 Thread Maxime Ripard
On Thu, Sep 04, 2025 at 02:04:05PM +0200, Thierry Reding wrote: > On Wed, Sep 03, 2025 at 11:48:38AM -0700, John Stultz wrote: > > On Wed, Sep 3, 2025 at 8:38 AM Thierry Reding > > wrote: > > > > > > On Tue, Sep 02, 2025 at 03:37:45PM -0700, John Stultz wrote: > > > > On Tue, Sep 2, 2025 at 8:46 

Re: [PATCH v12 2/9] dma-buf: dma-heap: export declared functions

2025-10-02 Thread Maxime Ripard
Hi, On Thu, Sep 11, 2025 at 03:49:43PM +0200, Jens Wiklander wrote: > Export the dma-buf heap functions to allow them to be used by the OP-TEE > driver. The OP-TEE driver wants to register and manage specific secure > DMA heaps with it. > > Reviewed-by: Sumit Garg > Reviewed-by: T.J. Mercier >

[PATCH v5 36/39] drm/atomic: Document __drm_crtcs_state state pointer

2025-10-01 Thread Maxime Ripard
t state when we free the global state. Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- include/drm/drm_atomic.h | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/include/drm/drm_atomic.h b/include/drm/drm_atomic.h index f53a32688b33fb0f6295

[PATCH v5 06/39] drm/vkms: Convert vkms_crtc_atomic_check() to use new plane state

2025-09-30 Thread Maxime Ripard
(). Reviewed-by: Louis Chauvet Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Louis Chauvet Cc: Haneen Mohammed Cc: Simona Vetter Cc: Melissa Wen Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/vkms/vkms_crtc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[PATCH v5 37/39] drm/ingenic: crtc: Switch to ingenic_drm_get_new_priv_state()

2025-09-30 Thread Maxime Ripard
shkov Suggested-by: Ville Syrjälä Reviewed-by: Paul Cercueil Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Paul Cercueil Cc: linux-m...@vger.kernel.org --- drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --

[PATCH v5 11/39] drm/ingenic: ipu: Switch to drm_atomic_get_new_crtc_state()

2025-09-30 Thread Maxime Ripard
drm_atomic_get_new_crtc_state() instead. Reviewed-by: Paul Cercueil Tested-by: Paul Cercueil Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Paul Cercueil Cc: linux-m...@vger.kernel.org --- drivers/gpu/drm/ingenic/ingenic-ipu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH v5 09/39] drm/atomic: Document __drm_planes_state state pointer

2025-09-30 Thread Maxime Ripard
t state when we free the global state. Reviewed-by: Luca Ceresoli Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Maarten Lankhorst To: Maxime Ripard To: Thomas Zimmermann To: David Airlie To: Simona Vetter Cc: dri-devel@lists.freedesktop.org --- include/d

[PATCH v5 08/39] drm/atomic: Remove unused drm_atomic_get_existing_plane_state()

2025-09-30 Thread Maxime Ripard
The drm_atomic_get_existing_plane_state() function is deprecated and isn't used anymore, so let's remove it. Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Maarten Lankhorst To: Maxime Ripard To: Thomas Zimmermann To: David Airlie To: Simona Vetter Cc:

[PATCH v5 07/39] drm/tilcdc: crtc: Use drm_atomic_helper_check_crtc_primary_plane()

2025-09-30 Thread Maxime Ripard
Syrjälä Acked-by: Jyri Sarha Signed-off-by: Maxime Ripard --- To: Jyri Sarha To: Tomi Valkeinen Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c b/drivers

[PATCH v5 00/39] drm/atomic: Get rid of existing states (not really)

2025-09-30 Thread Maxime Ripard
ccessors. This was tested on tidss. Let me know what you think, Maxime Signed-off-by: Maxime Ripard --- Changes in v5: - Added some more documentation on state teardown - Link to v4: https://lore.kernel.org/r/20250917-drm-no-more-existing-state-v4-0-5d4b9889c...@kernel.org Changes in v4: - Fix

Re: [PATCH 2/7] drm/encoder: drm_encoder_cleanup: take chain mutex while tearing down

2025-09-29 Thread Maxime Ripard
On Fri, Sep 26, 2025 at 05:59:43PM +0200, Luca Ceresoli wrote: > drm_encoder_cleanup() modifies the encoder chain by removing bridges via > drm_bridge_detach(). Protect this whole operation by taking the mutex, so > any users iterating over the chain will not access it during the change. > > Signe

Re: [PATCH v4 01/10] drm/connector: let drivers declare infoframes as unsupported

2025-09-25 Thread Maxime Ripard
On Wed, Sep 10, 2025 at 06:16:25PM +0300, Dmitry Baryshkov wrote: > On Wed, Sep 10, 2025 at 01:03:47PM +0200, Maxime Ripard wrote: > > On Tue, Sep 09, 2025 at 05:51:59PM +0300, Dmitry Baryshkov wrote: > > > Currently DRM framework expects that the HDMI connector driver supports &

Re: [PATCH] drm/bridge: refcount last_bridge in drm_atomic_bridge_chain_select_bus_fmts()

2025-09-25 Thread Maxime Ripard
On Wed, 24 Sep 2025 17:11:01 +0200, Luca Ceresoli wrote: > Get a reference for the last_bridge when it is obtained and release it > using a cleanup action. > > Signed-off-by: Luca Ceresoli Reviewed-by: Maxime Ripard Thanks! Maxime

Re: [PATCH 2/3] clk: keystone: don't cache clock rate

2025-09-25 Thread Maxime Ripard
On Wed, Sep 24, 2025 at 09:26:17PM -0500, Randolph Sapp wrote: > On Wed Sep 17, 2025 at 10:24 AM CDT, Kevin Hilman wrote: > > Michael Walle writes: > > > >> The TISCI firmware will return 0 if the clock or consumer is not > >> enabled although there is a stored value in the firmware. IOW a call to

Re: [PATCH 10/29] drm/atomic: Add atomic_state_readout infrastructure

2025-09-24 Thread Maxime Ripard
On Tue, Sep 23, 2025 at 01:32:23PM +0300, Laurent Pinchart wrote: > On Tue, Sep 23, 2025 at 01:28:57PM +0300, Dmitry Baryshkov wrote: > > On Tue, Sep 23, 2025 at 11:38:17AM +0200, Maxime Ripard wrote: > > > On Mon, Sep 15, 2025 at 09:38:44PM +0300, Dmitry Baryshkov wrote: >

Re: [PATCH 10/29] drm/atomic: Add atomic_state_readout infrastructure

2025-09-23 Thread Maxime Ripard
On Mon, Sep 15, 2025 at 09:40:57PM +0300, Dmitry Baryshkov wrote: > On Tue, Sep 02, 2025 at 10:32:38AM +0200, Maxime Ripard wrote: > > In order to enable drivers to fill their initial state from the hardware > > state, we need to provide an alternative atomic_reset helper. >

Re: [PATCH v2 2/3] drm/panic: Add kunit tests for drm_panic

2025-09-23 Thread Maxime Ripard
On Wed, Sep 10, 2025 at 05:16:49PM +0200, Jocelyn Falempe wrote: > On 10/09/2025 10:33, Maxime Ripard wrote: > > Hi, > > > > On Mon, Sep 08, 2025 at 11:00:30AM +0200, Jocelyn Falempe wrote: > > > Add kunit tests for drm_panic. > > > They check that drawing t

Re: [PATCH 10/29] drm/atomic: Add atomic_state_readout infrastructure

2025-09-23 Thread Maxime Ripard
On Mon, Sep 15, 2025 at 09:38:44PM +0300, Dmitry Baryshkov wrote: > On Mon, Sep 15, 2025 at 10:42:22AM +0200, Maxime Ripard wrote: > > Hi Tohmas, > > > > On Tue, Sep 02, 2025 at 03:44:54PM +0200, Thomas Zimmermann wrote: > > > > +/** > > > > + * drm_at

Re: [PATCH 10/29] drm/atomic: Add atomic_state_readout infrastructure

2025-09-23 Thread Maxime Ripard
On Mon, Sep 15, 2025 at 11:11:39AM +0200, Thomas Zimmermann wrote: > Hi > > Am 15.09.25 um 10:42 schrieb Maxime Ripard: > > Hi Tohmas, > > > > On Tue, Sep 02, 2025 at 03:44:54PM +0200, Thomas Zimmermann wrote: > > > > +/** > > > > + * drm_at

Re: [PATCH 01/29] drm/atomic: Document atomic state lifetime

2025-09-23 Thread Maxime Ripard
Hi Thomas, On Tue, Sep 02, 2025 at 03:08:12PM +0200, Thomas Zimmermann wrote: > > + * or a newer one if a commit has been made. The new state is the > > + * state we just allocated and we might eventually commit to the > > + * hardware. The existing state points to the state we'll even

Re: [PATCH 2/3] clk: keystone: don't cache clock rate

2025-09-23 Thread Maxime Ripard
On Wed, Sep 17, 2025 at 08:24:47AM -0700, Kevin Hilman wrote: > Michael Walle writes: > > > The TISCI firmware will return 0 if the clock or consumer is not > > enabled although there is a stored value in the firmware. IOW a call to > > set rate will work but at get rate will always return 0 if t

[PATCH v3 24/39] drm/mediatek: Switch to drm_atomic_get_new_crtc_state()

2025-09-21 Thread Maxime Ripard
() instead. Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Chun-Kuang Hu To: Philipp Zabel To: Matthias Brugger To: AngeloGioacchino Del Regno Cc: dri-devel@lists.freedesktop.org Cc: linux-media...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Cc: linux-arm-ker

Re: [PATCH 2/2] drm/bridge: ti-sn65dsi83: protect device resources on unplug

2025-09-20 Thread Maxime Ripard
On Wed, Sep 10, 2025 at 06:47:52PM +0200, Luca Ceresoli wrote: > On Wed, 10 Sep 2025 12:59:12 +0200 > Maxime Ripard wrote: > > > On Mon, Sep 08, 2025 at 03:49:06PM +0200, Luca Ceresoli wrote: > > > Hi Maxime, > > > > > > On Wed, 27 Aug 2025

[PATCH v3 11/39] drm/ingenic: ipu: Switch to drm_atomic_get_new_crtc_state()

2025-09-20 Thread Maxime Ripard
drm_atomic_get_new_crtc_state() instead. Reviewed-by: Paul Cercueil Tested-by: Paul Cercueil Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Paul Cercueil Cc: linux-m...@vger.kernel.org --- drivers/gpu/drm/ingenic/ingenic-ipu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

Re: [PATCH 2/2] drm/bridge: ti-sn65dsi83: protect device resources on unplug

2025-09-20 Thread Maxime Ripard
On Mon, Sep 08, 2025 at 03:49:01PM +0200, Luca Ceresoli wrote: > Hello Maxime, > > On Wed, 20 Aug 2025 13:13:02 +0200 > Luca Ceresoli wrote: > > > > > + /* > > > > +* sn65dsi83_atomic_disable() should release some resources, > > > > but it > > > > +* cannot if we call drm_

Re: [PATCH v2 3/3] drm/panic: Add a drm_panic/draw_test in debugfs

2025-09-20 Thread Maxime Ripard
Hi, On Mon, Sep 08, 2025 at 11:00:31AM +0200, Jocelyn Falempe wrote: > This adds a new drm_panic/draw_test file in debugfs. > This file allows to test the panic screen rendering at different > resolution and pixel format. > It's useful only for kernel developers that want to create or > customize

[PATCH v3 38/39] drm/atomic: Convert drm_atomic_get_private_obj_state() to use new plane state

2025-09-20 Thread Maxime Ripard
atomic_check), the existing state is the new state and we can thus replace the hand-crafted logic by a call to drm_atomic_get_new_private_obj_state(). Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- drivers/gpu/drm/drm_atomic.c | 8 1 file changed, 4 insertions(+), 4 deletions

Re: [PATCH v4 09/10] drm/connector: verify that HDMI connectors support necessary InfoFrames

2025-09-20 Thread Maxime Ripard
On Tue, Sep 09, 2025 at 05:52:07PM +0300, Dmitry Baryshkov wrote: > Check that connector initialized by drmm_connector_hdmi_init() supports > AVI InfoFrames and warn if it doesn't support Vendor-Specific > InfofRames (HDMI InfoFrames are more or less required). > > Suggest

[PATCH v4 31/39] drm/vboxvideo: Switch to drm_atomic_get_new_crtc_state()

2025-09-20 Thread Maxime Ripard
() instead. Reviewed-by: Hans de Goede Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Hans de Goede Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/vboxvideo/vbox_mode.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/vboxvideo

[PATCH v4 22/39] drm/logicvc: Switch to drm_atomic_get_new_crtc_state()

2025-09-20 Thread Maxime Ripard
() instead. Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Paul Kocialkowski --- drivers/gpu/drm/logicvc/logicvc_layer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/logicvc/logicvc_layer.c b/drivers/gpu/drm/logicvc/logicvc_layer.c index

Re: [PATCH 2/2] drm/bridge: ti-sn65dsi83: protect device resources on unplug

2025-09-20 Thread Maxime Ripard
On Wed, Sep 10, 2025 at 06:34:40PM +0200, Luca Ceresoli wrote: > Hi Maxime, > > On Wed, 10 Sep 2025 09:52:21 +0200 > Maxime Ripard wrote: > > > On Mon, Sep 08, 2025 at 03:49:01PM +0200, Luca Ceresoli wrote: > > > Hello Maxime, > > > > > > On Wed

[PATCH v3 17/39] drm/imx-dc: Switch to drm_atomic_get_new_crtc_state()

2025-09-19 Thread Maxime Ripard
() instead. Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Liu Ying To: Shawn Guo To: Sascha Hauer Cc: Pengutronix Kernel Team Cc: Fabio Estevam Cc: dri-devel@lists.freedesktop.org Cc: i...@lists.linux.dev Cc: linux-arm-ker...@lists.infradead.org --- drivers/gpu/drm/imx/dc/dc

[PATCH v3 35/39] drm/atomic: Remove unused drm_atomic_get_existing_crtc_state()

2025-09-18 Thread Maxime Ripard
The drm_atomic_get_existing_crtc_state() function is deprecated and isn't used anymore, so let's remove it. Reviewed-by: Dmitry Baryshkov Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- include/drm/drm_atomic.h | 18 -- 1 file changed, 18 deletions(-) di

[PATCH v3 03/39] drm/atomic: Document __drm_connectors_state state pointer

2025-09-18 Thread Maxime Ripard
t state when we free the global state. Reviewed-by: Luca Ceresoli Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- include/drm/drm_atomic.h | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/include/drm/drm_atomic.h b/include/dr

[PATCH v3 36/39] drm/atomic: Document __drm_crtcs_state state pointer

2025-09-18 Thread Maxime Ripard
t state when we free the global state. Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- include/drm/drm_atomic.h | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/include/drm/drm_atomic.h b/include/drm/drm_atomic.h index cba63857e920515b48b7

[PATCH v4 06/39] drm/vkms: Convert vkms_crtc_atomic_check() to use new plane state

2025-09-18 Thread Maxime Ripard
(). Reviewed-by: Louis Chauvet Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Louis Chauvet Cc: Haneen Mohammed Cc: Simona Vetter Cc: Melissa Wen Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/vkms/vkms_crtc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[PULL] drm-misc-fixes

2025-09-18 Thread Maxime Ripard
Hi, Here's this week drm-misc-fixes PR. Maxime drm-misc-fixes-2025-09-18: One fix for a documentation warning, a null pointer dereference fix for anx7625, and a mutex unlock fix for cdns-mhdp8546 The following changes since commit 87b90cee22d8658a69c0fbd43633839b75f8f05f: MAINTAINERS: drm-mis

[PATCH v3 07/39] drm/tilcdc: crtc: Use drm_atomic_helper_check_crtc_primary_plane()

2025-09-17 Thread Maxime Ripard
Syrjälä Signed-off-by: Maxime Ripard --- To: Jyri Sarha To: Tomi Valkeinen Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c b/drivers/gpu/drm/tilcdc/tilcd

Re: [PATCH v5 2/3] drm/tidss: Remove max_pclk_khz from tidss display features

2025-09-17 Thread Maxime Ripard
On Wed, Sep 03, 2025 at 02:08:28PM +0530, Swamil Jain wrote: > Hi Tomi, Maxime, > > On 8/27/25 15:19, Tomi Valkeinen wrote: > > Hi, > > > > On 27/08/2025 12:27, Maxime Ripard wrote: > > > On Wed, Aug 27, 2025 at 11:49:22AM +0300, Tomi Valkeinen wrote: >

[PATCH v3 10/39] drm/atomic: Convert drm_atomic_get_crtc_state() to use new connector state

2025-09-17 Thread Maxime Ripard
atomic_check), the existing state is the new state and drm_atomic_get_existing_crtc_state() can thus be replaced by drm_atomic_get_new_crtc_state(). Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Maarten Lankhorst To: Maxime Ripard To: Thomas Zimmermann --- drivers/gpu/drm/drm_atomic.c

Re: [PATCH 1/2] drm/bridge: adv7511: use update latch for AVI infoframes

2025-09-17 Thread Maxime Ripard
mitry Baryshkov > > [ ... ] Acked-by: Maxime Ripard Thanks! Maxime

[PATCH v4 33/39] drm/atomic: Switch to drm_atomic_get_new_crtc_state()

2025-09-17 Thread Maxime Ripard
() instead. Reviewed-by: Dmitry Baryshkov Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- drivers/gpu/drm/drm_atomic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/gpu/drm/drm_atomic.c index

[PATCH v3 04/39] drm/atomic: Convert __drm_atomic_get_current_plane_state() to modern accessor

2025-09-17 Thread Maxime Ripard
te as the new state, and plane->state is always going to be the old state. Any plane isn't guaranteed to be part of the state though, so we can't rely on drm_atomic_get_old_plane_state() and we still need to use plane->state. Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard

[PATCH v4 14/39] drm/armada: Switch to drm_atomic_get_new_crtc_state()

2025-09-17 Thread Maxime Ripard
() instead. Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Russell King --- drivers/gpu/drm/armada/armada_plane.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/armada/armada_plane.c b/drivers/gpu/drm/armada/armada_plane.c index

[PATCH v4 17/39] drm/imx-dc: Switch to drm_atomic_get_new_crtc_state()

2025-09-17 Thread Maxime Ripard
() instead. Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Liu Ying To: Shawn Guo To: Sascha Hauer Cc: Pengutronix Kernel Team Cc: Fabio Estevam Cc: dri-devel@lists.freedesktop.org Cc: i...@lists.linux.dev Cc: linux-arm-ker...@lists.infradead.org --- drivers/gpu/drm/imx/dc/dc

Re: [PATCH] MAINTAINERS: drm-misc: fix X: entries for nova/nouveau

2025-09-17 Thread Maxime Ripard
On Tue, Sep 09, 2025 at 01:45:25PM +0200, Danilo Krummrich wrote: > On 9/9/25 1:43 PM, Maxime Ripard wrote: > > We should probably amend the nouveau entry to point to the drm-misc repo > > if it's the de-facto tree these days? > This already happened with a preceding patch b

[PATCH v3 39/39] drm/atomic: Document __drm_private_objs_state state pointer

2025-09-17 Thread Maxime Ripard
t state when we free the global state. Reviewed-by: Luca Ceresoli Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- include/drm/drm_atomic.h | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/include/drm/drm_atomic.h b/include/dr

Re: [PATCH 2/8] hdmi: Add HDMI_COLORSPACE_AUTO enum option

2025-09-17 Thread Maxime Ripard
Hi, On Thu, Sep 11, 2025 at 04:07:33PM +0300, Marius Vlad wrote: > diff --git a/drivers/video/hdmi.c b/drivers/video/hdmi.c > index 45b42f14a750..74fe925c69a2 100644 > --- a/drivers/video/hdmi.c > +++ b/drivers/video/hdmi.c > @@ -1031,8 +1031,8 @@ static const char *hdmi_colorspace_get_name(enum

[PATCH v3 05/39] drm/atomic: Convert drm_atomic_get_plane_state() to use new plane state

2025-09-17 Thread Maxime Ripard
atomic_check), the existing state is the new state and drm_atomic_get_existing_plane_state() can thus be replaced by drm_atomic_get_new_plane_state(). Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- drivers/gpu/drm/drm_atomic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH v6 3/3] drm/tidss: oldi: Add atomic_check hook for oldi bridge

2025-09-17 Thread Maxime Ripard
On Thu, Sep 11, 2025 at 04:37:15PM +0530, Swamil Jain wrote: > From: Jayesh Choudhary > > Since OLDI consumes DSS VP clock directly as serial clock, mode_valid() > check cannot be performed in tidss driver which should be checked > in OLDI driver. > > Fixes: 7246e0929945 ("drm/tidss: Add OLDI br

[PATCH v4 02/39] drm/atomic: Remove unused drm_atomic_get_existing_connector_state()

2025-09-17 Thread Maxime Ripard
The drm_atomic_get_existing_connector_state() function is deprecated and isn't used anymore, so let's remove it. Reviewed-by: Dmitry Baryshkov Reviewed-by: Luca Ceresoli Tested-by: Luca Ceresoli Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- include/drm/drm_ato

[PATCH v4 18/39] drm/imx-dcss: Switch to drm_atomic_get_new_crtc_state()

2025-09-17 Thread Maxime Ripard
() instead. Reviewed-by: Laurentiu Palcu Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Laurentiu Palcu To: Shawn Guo To: Sascha Hauer Cc: Lucas Stach Cc: Pengutronix Kernel Team Cc: Fabio Estevam Cc: dri-devel@lists.freedesktop.org Cc: i...@lists.linux.dev Cc: linux-arm-ker

[PATCH v4 29/39] drm/tegra: Switch to drm_atomic_get_new_crtc_state()

2025-09-17 Thread Maxime Ripard
() instead. Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Thierry Reding To: Mikko Perttunen To: Jonathan Hunter Cc: dri-devel@lists.freedesktop.org Cc: linux-te...@vger.kernel.org --- drivers/gpu/drm/tegra/dc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[PATCH v4 08/39] drm/atomic: Remove unused drm_atomic_get_existing_plane_state()

2025-09-17 Thread Maxime Ripard
The drm_atomic_get_existing_plane_state() function is deprecated and isn't used anymore, so let's remove it. Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Maarten Lankhorst To: Maxime Ripard To: Thomas Zimmermann To: David Airlie To: Simona Vetter Cc:

Re: [RFC PATCH 0/3] Initial plumbing for implementing DRM connector APIs in Rust

2025-09-17 Thread Maxime Ripard
On Sat, Sep 13, 2025 at 04:57:26PM +, Rahul Rameshbabu wrote: > On Wed, 27 Aug, 2025 08:57:58 +0200 "Maxime Ripard" > wrote: > > Hi Rahul, > > > > On Wed, Aug 20, 2025 at 04:46:52AM +, Rahul Rameshbabu wrote: > >> On Tue, 19 Aug, 2025

[PATCH v4 23/39] drm/loongson: Switch to drm_atomic_get_new_crtc_state()

2025-09-17 Thread Maxime Ripard
() instead. Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Sui Jingfeng Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/loongson/lsdc_plane.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/loongson/lsdc_plane.c b/drivers/gpu/drm/loongson

[PATCH v4 16/39] drm/exynos: Switch to drm_atomic_get_new_crtc_state()

2025-09-17 Thread Maxime Ripard
() instead. Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Inki Dae To: Seung-Woo Kim To: Kyungmin Park To: Krzysztof Kozlowski Cc: Alim Akhtar Cc: dri-devel@lists.freedesktop.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-samsung-...@vger.kernel.org --- drivers/gpu/drm

[PATCH v4 10/39] drm/atomic: Convert drm_atomic_get_crtc_state() to use new connector state

2025-09-17 Thread Maxime Ripard
atomic_check), the existing state is the new state and drm_atomic_get_existing_crtc_state() can thus be replaced by drm_atomic_get_new_crtc_state(). Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Maarten Lankhorst To: Maxime Ripard To: Thomas Zimmermann --- drivers/gpu/drm/drm_atomic.c

[PATCH v4 38/39] drm/atomic: Convert drm_atomic_get_private_obj_state() to use new plane state

2025-09-17 Thread Maxime Ripard
atomic_check), the existing state is the new state and we can thus replace the hand-crafted logic by a call to drm_atomic_get_new_private_obj_state(). Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- drivers/gpu/drm/drm_atomic.c | 8 1 file changed, 4 insertions(+), 4 deletions

[PATCH v4 37/39] drm/ingenic: crtc: Switch to ingenic_drm_get_new_priv_state()

2025-09-17 Thread Maxime Ripard
shkov Suggested-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Paul Cercueil Cc: linux-m...@vger.kernel.org --- drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/ingenic/ingenic-drm-drv.c b/driver

[PATCH v4 39/39] drm/atomic: Document __drm_private_objs_state state pointer

2025-09-17 Thread Maxime Ripard
t state when we free the global state. Reviewed-by: Luca Ceresoli Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- include/drm/drm_atomic.h | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/include/drm/drm_atomic.h b/include/dr

[PATCH v4 32/39] drm/vc4: Switch to drm_atomic_get_new_crtc_state()

2025-09-17 Thread Maxime Ripard
. Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Maxime Ripard To: Dave Stevenson Cc: "Maíra Canal" Cc: Raspberry Pi Kernel Maintenance --- drivers/gpu/drm/vc4/vc4_plane.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/g

[PATCH v4 35/39] drm/atomic: Remove unused drm_atomic_get_existing_crtc_state()

2025-09-17 Thread Maxime Ripard
The drm_atomic_get_existing_crtc_state() function is deprecated and isn't used anymore, so let's remove it. Reviewed-by: Dmitry Baryshkov Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- include/drm/drm_atomic.h | 18 -- 1 file changed, 18 deletions(-) di

[PATCH v4 36/39] drm/atomic: Document __drm_crtcs_state state pointer

2025-09-17 Thread Maxime Ripard
t state when we free the global state. Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- include/drm/drm_atomic.h | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/include/drm/drm_atomic.h b/include/drm/drm_atomic.h index cba63857e920515b48b7

[PATCH v4 30/39] drm/tilcdc: Switch to drm_atomic_get_new_crtc_state()

2025-09-17 Thread Maxime Ripard
() instead. Reviewed-by: Ville Syrjälä Acked-by: Jyri Sarha Signed-off-by: Maxime Ripard --- To: Jyri Sarha To: Tomi Valkeinen Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/tilcdc/tilcdc_plane.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/tilcdc

[PATCH v4 34/39] drm/framebuffer: Switch to drm_atomic_get_new_crtc_state()

2025-09-17 Thread Maxime Ripard
swapped. As such, the existing state points to the new state, and we can use drm_atomic_get_new_crtc_state() instead. Reviewed-by: Dmitry Baryshkov Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- drivers/gpu/drm/drm_framebuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH v4 25/39] drm/msm/mdp5: Switch to drm_atomic_get_new_crtc_state()

2025-09-17 Thread Maxime Ripard
. Reviewed-by: Dmitry Baryshkov Acked-by: Dmitry Baryshkov Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Rob Clark To: Dmitry Baryshkov Cc: Abhinav Kumar Cc: Jessica Zhang Cc: Sean Paul Cc: Marijn Suijten Cc: linux-arm-...@vger.kernel.org Cc: dri-devel

[PATCH v4 27/39] drm/rockchip: Switch to drm_atomic_get_new_crtc_state()

2025-09-17 Thread Maxime Ripard
() instead. Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Sandy Huang To: "Heiko Stübner" To: Andy Yan Cc: dri-devel@lists.freedesktop.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-rockc...@lists.infradead.org --- drivers/gpu/drm/rockchip/rockchip_drm_

[PATCH v4 28/39] drm/sun4i: Switch to drm_atomic_get_new_crtc_state()

2025-09-17 Thread Maxime Ripard
() instead. Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Maxime Ripard To: Chen-Yu Tsai To: Jernej Skrabec To: Samuel Holland Cc: Jernej Skrabec Cc: dri-devel@lists.freedesktop.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-su...@lists.linux.dev --- drivers/gpu/drm/sun4i

[PATCH v4 26/39] drm/omap: Switch to drm_atomic_get_new_crtc_state()

2025-09-17 Thread Maxime Ripard
. Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Tomi Valkeinen Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/omapdrm/omap_plane.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/omapdrm/omap_plane.c b/drivers/gpu/drm/omapdrm

[PATCH v4 24/39] drm/mediatek: Switch to drm_atomic_get_new_crtc_state()

2025-09-17 Thread Maxime Ripard
() instead. Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Chun-Kuang Hu To: Philipp Zabel To: Matthias Brugger To: AngeloGioacchino Del Regno Cc: dri-devel@lists.freedesktop.org Cc: linux-media...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Cc: linux-arm-ker

[PATCH v4 20/39] drm/ingenic: Switch to drm_atomic_get_new_crtc_state()

2025-09-17 Thread Maxime Ripard
() instead. Reviewed-by: Paul Cercueil Tested-by: Paul Cercueil Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Paul Cercueil Cc: linux-m...@vger.kernel.org --- drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 3 +-- drivers/gpu/drm/ingenic/ingenic-ipu.c | 2 +- 2 files changed, 2

[PATCH v4 15/39] drm/atmel-hlcdc: Switch to drm_atomic_get_new_crtc_state()

2025-09-17 Thread Maxime Ripard
() instead. Reviewed-by: Ville Syrjälä Reviewed-by: Manikandan Muralidharan Signed-off-by: Maxime Ripard --- To: Manikandan Muralidharan To: Dharma Balasubiramani To: Nicolas Ferre To: Alexandre Belloni To: Claudiu Beznea Cc: dri-devel@lists.freedesktop.org Cc: linux-arm-ker

[PATCH v4 21/39] drm/kmb: Switch to drm_atomic_get_new_crtc_state()

2025-09-17 Thread Maxime Ripard
. Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Anitha Chrisanthus To: Edmund Dea --- drivers/gpu/drm/kmb/kmb_plane.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/kmb/kmb_plane.c b/drivers/gpu/drm/kmb/kmb_plane.c index

[PATCH v4 19/39] drm/imx-ipuv3: Switch to drm_atomic_get_new_crtc_state()

2025-09-17 Thread Maxime Ripard
() instead. Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Philipp Zabel To: Shawn Guo To: Sascha Hauer Cc: Pengutronix Kernel Team Cc: Fabio Estevam Cc: dri-devel@lists.freedesktop.org Cc: i...@lists.linux.dev Cc: linux-arm-ker...@lists.infradead.org --- drivers/gpu/drm/imx

[PATCH v4 11/39] drm/ingenic: ipu: Switch to drm_atomic_get_new_crtc_state()

2025-09-17 Thread Maxime Ripard
drm_atomic_get_new_crtc_state() instead. Reviewed-by: Paul Cercueil Tested-by: Paul Cercueil Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Paul Cercueil Cc: linux-m...@vger.kernel.org --- drivers/gpu/drm/ingenic/ingenic-ipu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH v4 13/39] drm/armada: Drop always true condition in atomic_check

2025-09-17 Thread Maxime Ripard
The drm_atomic_state pointer passed to atomic_check is always valid, so checking if it's NULL or not is pointless. Remove the check. Suggested-by: Ville Syrjälä Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Russell King --- drivers/gpu/drm/armada/armada_plane.

[PATCH v4 03/39] drm/atomic: Document __drm_connectors_state state pointer

2025-09-17 Thread Maxime Ripard
t state when we free the global state. Reviewed-by: Luca Ceresoli Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- include/drm/drm_atomic.h | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/include/drm/drm_atomic.h b/include/dr

[PATCH v4 12/39] drm/arm/malidp: Switch to drm_atomic_get_new_crtc_state()

2025-09-17 Thread Maxime Ripard
() instead. Reviewed-by: Liviu Dudau Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Liviu Dudau --- drivers/gpu/drm/arm/malidp_planes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/arm/malidp_planes.c b/drivers/gpu/drm/arm/malidp_planes.c index

[PATCH v4 09/39] drm/atomic: Document __drm_planes_state state pointer

2025-09-17 Thread Maxime Ripard
t state when we free the global state. Reviewed-by: Luca Ceresoli Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- To: Maarten Lankhorst To: Maxime Ripard To: Thomas Zimmermann To: David Airlie To: Simona Vetter Cc: dri-devel@lists.freedesktop.org --- include/drm/drm_atomic.h | 16

[PATCH v4 07/39] drm/tilcdc: crtc: Use drm_atomic_helper_check_crtc_primary_plane()

2025-09-17 Thread Maxime Ripard
Syrjälä Acked-by: Jyri Sarha Signed-off-by: Maxime Ripard --- To: Jyri Sarha To: Tomi Valkeinen Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c b/drivers

[PATCH v4 05/39] drm/atomic: Convert drm_atomic_get_plane_state() to use new plane state

2025-09-17 Thread Maxime Ripard
atomic_check), the existing state is the new state and drm_atomic_get_existing_plane_state() can thus be replaced by drm_atomic_get_new_plane_state(). Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard --- drivers/gpu/drm/drm_atomic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v4 04/39] drm/atomic: Convert __drm_atomic_get_current_plane_state() to modern accessor

2025-09-17 Thread Maxime Ripard
te as the new state, and plane->state is always going to be the old state. Any plane isn't guaranteed to be part of the state though, so we can't rely on drm_atomic_get_old_plane_state() and we still need to use plane->state. Reviewed-by: Ville Syrjälä Signed-off-by: Maxime Ripard

  1   2   3   4   5   6   7   8   9   10   >