aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/mm.py
diff options
context:
space:
mode:
authorLuca Coelho <[email protected]>2022-12-23 15:05:08 +0200
committerRadhakrishna Sripada <[email protected]>2023-01-10 13:50:53 -0800
commit8d4312e2b228ba7a5ac79154458098274ec61e9b (patch)
tree4793fe4ee0cfdda587e20e2ddc7702e8c0e61ba5 /scripts/gdb/linux/mm.py
parenta6fd6f94d36122d8962ba8a24194299a6bb1ecc1 (diff)
drm/i915/mtl: limit second scaler vertical scaling in ver >= 14
In newer hardware versions (i.e. display version >= 14), the second scaler doesn't support vertical scaling. The current implementation of the scaling limits is simplified and only occurs when the planes are created, so we don't know which scaler is being used. In order to handle separate scaling limits for horizontal and vertical scaling, and different limits per scaler, split the checks in two phases. We first do a simple check during plane creation and use the best-case scenario (because we don't know the scaler that may be used at a later point) and then do a more specific check when the scalers are actually being set up. Signed-off-by: Luca Coelho <[email protected]> Reviewed-by: Stanislav Lisovskiy <[email protected]> Signed-off-by: Radhakrishna Sripada <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions