On Wed, Dec 11, 2024 at 01:18:43PM -0800, Jessica Zhang wrote: > Add a subtest to check that modeset is called when the connector is > changed > > Signed-off-by: Jessica Zhang <quic_jesszhan@xxxxxxxxxxx> > --- > Changes in v3: > - Use BUILD_BUG_ON to check connectors and encoders array sizes (Dmitry) > - Renamed functions to be more test-specific (Dmitry) > - Added comment description for test (Dmitry) > - Return get_modes_fixed() directly within the encoder get_modes > function (Dmitry) > - Move drm_connector local variable declaration to top of function > (Dmitry) > - Changed drm_test_modeset() to a more descriptive name > --- > drivers/gpu/drm/tests/Makefile | 1 + > drivers/gpu/drm/tests/drm_atomic_state_test.c | 244 ++++++++++++++++++++++++++ > 2 files changed, 245 insertions(+) > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> -- With best wishes Dmitry