diff options
| author | Dmitry Baryshkov <[email protected]> | 2024-12-14 13:37:06 +0000 |
|---|---|---|
| committer | Dmitry Baryshkov <[email protected]> | 2025-01-07 10:40:02 +0000 |
| commit | b255ce4388e09f14311e7912d0ccd45a14a08d66 (patch) | |
| tree | 3731c2a8a903ecd5e87951435e06c2f7fbd8375f /drivers/gpu/drm/omapdrm/omap_irq.h | |
| parent | drm/encoder_slave: make mode_valid accept const struct drm_display_mode (diff) | |
| download | kernel-b255ce4388e09f14311e7912d0ccd45a14a08d66.tar.gz kernel-b255ce4388e09f14311e7912d0ccd45a14a08d66.zip | |
drm/amdgpu: don't change mode in amdgpu_dm_connector_mode_valid()
Make amdgpu_dm_connector_mode_valid() duplicate the mode during the
test rather than modifying the passed mode. This is a preparation to
converting the mode_valid() callback of drm_connector to take a const
struct drm_display_mode argument.
Reviewed-by: Laurent Pinchart <[email protected]>
Reviewed-by: Maxime Ripard <[email protected]>
Reviewed-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Harry Wentland <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/20241214-drm-connector-mode-valid-const-v2-2-4f9498a4c822@linaro.org
Signed-off-by: Dmitry Baryshkov <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_irq.h')
0 files changed, 0 insertions, 0 deletions
