aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2023-04-18 20:55:14 +0300
committerJoonas Lahtinen <[email protected]>2023-04-24 14:48:42 +0300
commitd944eafed618a8507270b324ad9d5405bb7f0b3e (patch)
tree4f1eb9f9f72501e8251e51e3e9ddaaac5e46f095 /lib/mpi/mpi-mod.c
parent2c69679626d5daa680d71c77ad58af0088db537f (diff)
drm/i915: Check pipe source size when using skl+ scalers
The skl+ scalers only sample 12 bits of PIPESRC so we can't do any plane scaling at all when the pipe source size is >4k. Make sure the pipe source size is also below the scaler's src size limits. Might not be 100% accurate, but should at least be safe. We can refine the limits later if we discover that recent hw is less restricted. Cc: [email protected] Tested-by: Ross Zwisler <[email protected]> Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/8357 Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Jani Nikula <[email protected]> (cherry picked from commit 691248d4135fe3fae64b4ee0676bc96a7fd6950c) Signed-off-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions