diff options
author | 2024-12-14 15:37:06 +0200 | |
---|---|---|
committer | 2025-01-07 12:40:02 +0200 | |
commit | b255ce4388e09f14311e7912d0ccd45a14a08d66 (patch) | |
tree | 3731c2a8a903ecd5e87951435e06c2f7fbd8375f /drivers/gpu/drm/i915/display/intel_dp_mst.c | |
parent | drm/encoder_slave: make mode_valid accept const struct drm_display_mode (diff) | |
download | wireguard-linux-b255ce4388e09f14311e7912d0ccd45a14a08d66.tar.xz wireguard-linux-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 <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241214-drm-connector-mode-valid-const-v2-2-4f9498a4c822@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
0 files changed, 0 insertions, 0 deletions