[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241211-abhinavk-modeset-fix-v3-0-0de4bf3e7c32@quicinc.com>
Date: Wed, 11 Dec 2024 13:18:41 -0800
From: Jessica Zhang <quic_jesszhan@...cinc.com>
To: Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard
<mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
David Airlie
<airlied@...il.com>, Simona Vetter <simona@...ll.ch>
CC: <quic_abhinavk@...cinc.com>, <dri-devel@...ts.freedesktop.org>,
<linux-kernel@...r.kernel.org>, <dmitry.baryshkov@...aro.org>,
<robdclark@...il.com>, Jessica Zhang <quic_jesszhan@...cinc.com>
Subject: [PATCH v3 0/2] drm: Allow encoder modeset when connectors are
changed
Call encoder mode_set() when connectors are changed. This avoids issues
for cases where the connectors are changed but CRTC mode is not.
---
Changes in v3:
- BUILD_BUG_ON() for encoders and connectors array size check (Dmitry)
- Added more descriptive, file-specific names for helper functions
(Dmitry)
- Added comment to test documenting what the test does (Dmitry)
- Return drm_connector_helper_get_modes_fixed() directly for encoder
get_modes() instead of returning 1 (Dmitry)
- Move local variable declarations to top of function (Dmitry)
- Link to v2: https://lore.kernel.org/r/20241209-abhinavk-modeset-fix-v2-0-4d008f6ea8d0@quicinc.com
Changes in v2:
- Added kunit test
---
Abhinav Kumar (1):
drm: allow encoder mode_set even when connectors change for crtc
Jessica Zhang (1):
drm/tests: Add test for drm_atomic_helper_commit_modeset_disables()
drivers/gpu/drm/drm_atomic_helper.c | 2 +-
drivers/gpu/drm/tests/Makefile | 1 +
drivers/gpu/drm/tests/drm_atomic_state_test.c | 244 ++++++++++++++++++++++++++
3 files changed, 246 insertions(+), 1 deletion(-)
---
base-commit: 86313a9cd152330c634b25d826a281c6a002eb77
change-id: 20241209-abhinavk-modeset-fix-74864f1de08d
Best regards,
--
Jessica Zhang <quic_jesszhan@...cinc.com>
Powered by blists - more mailing lists