drm/vc4: Relax VEC modeline requirements and add progressive mode support
authorMateusz Kwiatkowski <kfyatek+publicgit@gmail.com>
Wed, 14 Jul 2021 23:08:08 +0000 (01:08 +0200)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:31:24 +0000 (11:31 +0000)
commitbd365f8b4fadbf8ac6678f7fac76f29949e70cf5
tree0bf59cd1a84bc6c2dcdb7f35fdea51a336f2a077
parent9966ea1c60a57ab84aecabfffa546e6fb720161d
drm/vc4: Relax VEC modeline requirements and add progressive mode support

Make vc4_vec_encoder_atomic_check() accept arbitrary modelines, as long
as they result in somewhat sane output from the VEC. The bounds have
been determined empirically. Additionally, add support for the
progressive 262-line and 312-line modes.

Signed-off-by: Mateusz Kwiatkowski <kfyatek+publicgit@gmail.com>
drivers/gpu/drm/vc4/vc4_vec.c