aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAnkit Nautiyal <[email protected]>2024-03-13 20:08:25 +0530
committerAnkit Nautiyal <[email protected]>2024-03-20 11:03:28 +0530
commit183e2568b84d7bd5ee391762043c4c53c27e53ed (patch)
tree850b7f4fcb8bf4f99eb302e5414f0a9c3493815e /tools/perf/scripts/python
parent4df6ac223cad36e7384ed00fe6efc114279f0df6 (diff)
drm/i915/scaler: Update Pipe src size check in skl_update_scaler
For Earlier platforms, the Pipe source size is 12-bits so max pipe source width and height is 4096. For newer platforms it is 13-bits so theoretically max width/height is 8192. For few of the earlier platforms the scaler did not use all bits of the PIPESRC, so max scaler source size was used to make that the pipe source size is programmed within limits, before using scaler. This creates a problem, for MTL where scaler source size is 4096, but max pipe source width can theroretically be 8192. Switch the check to use the max scaler destination size, which closely match the limits. Signed-off-by: Ankit Nautiyal <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions