diff options
author | Bhawanpreet Lakha <[email protected]> | 2022-12-13 14:18:35 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-01-03 16:57:58 -0500 |
commit | 2e68ad8f985769db1f68fde34be939f03426cd97 (patch) | |
tree | 73a0c9aedb5f0d68d5d07565a20c2f16c4fbae46 /scripts/gdb/linux/mm.py | |
parent | c26cd999180dcb6d0a5705884485d66cd4bb4afd (diff) |
drm/amd/display: Fix dsc mismatch of acquire and validation of dsc engine
[Why]
We skip dsc_validation on pipes that are underlays, but in the
acquire_dsc code we don't have this check.
In certain conditions (when underlay pipe index is lower) we will assign
the dsc resource to the underlay pipe and skip the base pipe.
Now during dsc_validation we will skip the underlay pipe (this has the
dsc resource) but try to validate the base pipe(this doesn't have a dsc
resource) due to this mismatch we hit a NULLPTR
[How]
In the acquire_dsc add a check for underlay pipe so we
don't acquire a dsc resource for this pipe. This will match the
acquire/validation conditions.
Reviewed-by: Wenjing Liu <[email protected]>
Reviewed-by: Hersen Wu <[email protected]>
Acked-by: Praful Swarnakar <[email protected]>
Signed-off-by: Bhawanpreet Lakha <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions