diff options
author | Maxime Ripard <mripard@kernel.org> | 2024-02-22 19:14:21 +0100 |
---|---|---|
committer | Maxime Ripard <mripard@kernel.org> | 2024-02-26 10:33:18 +0100 |
commit | 358e76fd613a762bdba18b6b9fb0469a481de3a3 (patch) | |
tree | 7cd3545b3602a5e4ffb3cc660557fd7b1445df63 /tools/edid/1680x1050.S | |
parent | c6686f274d5ede72a18e2680e844a4c5f5855401 (diff) |
drm/sun4i: hdmi: Consolidate atomic_check and mode_valid
atomic_check and mode_valid do not check for the same things which can
lead to surprising result if the userspace commits a mode that didn't go
through mode_valid. Let's merge the two implementations into a function
called by both.
Acked-by: Sui Jingfeng <sui.jingfeng@linux.dev>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240222-kms-hdmi-connector-state-v7-35-8f4af575fce2@kernel.org
Diffstat (limited to 'tools/edid/1680x1050.S')
0 files changed, 0 insertions, 0 deletions