diff options
| author | Fangzhi Zuo <jerry.zuo@amd.com> | 2026-09-09 20:26:03 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-09-23 14:07:26 -0400 |
| commit | e4dca268eea60bcae566262daecc5e067799528d (patch) | |
| tree | f412125f4fd300987c5380e9a11a7d1eadf937b2 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 47a84adcade0000dbc05dbc90229f7adcea17618 (diff) | |
| download | linux-e4dca268eea60bcae566262daecc5e067799528d.tar.gz linux-e4dca268eea60bcae566262daecc5e067799528d.zip | |
drm/amd/display: Restore FreeSync VCP code check for HDMI/PCON sinks
[WHAT]
Folding the MCCS FreeSync checks into the do_mccs block dropped the
other half of the original condition: the check that clears
freesync_capable for HDMI or PCON-in-whitelist sinks that expose no
EDID FreeSync VCP code. That check does not depend on the MCCS caps
and must run regardless of do_mccs.
As a result, when do_mccs is false such a sink without a FreeSync VCP
code is still reported as FreeSync-capable.
[HOW]
Restore the VCP code check outside the do_mccs block so it is
evaluated whether or not MCCS caps were read.
Fixes: 115bf5ca318e ("drm/amd/display: Consult MCCS FreeSync cap only if requested & supported")
Reviewed-by: Roman Li <roman.li@amd.com>
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Fangzhi Zuo <jerry.zuo@amd.com>
Signed-off-by: George Zhang <george.zhang@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
