diff options
| author | Ville Syrjälä <[email protected]> | 2019-09-11 16:31:27 +0300 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-09-12 10:42:38 +0100 |
| commit | 0a12e437049786b9c33542d16b6a03f46fab46f8 (patch) | |
| tree | 2899103710de18fd8a097e1ae3bdfb78580301af /tools/perf/scripts/python | |
| parent | 74689ddfb7574e2bf08c7206a4ab0dff04978b05 (diff) | |
drm/i915: Fix CD2X pipe select masking during cdclk sanitation
We're forgetting to mask off all three pipe select bits from the
CDCLK_CTL value on icl+ which may lead to the extra bit being
left in. That will cause us to consider the current hardware
cdclk state as invalid, and we proceed to sanitize it even
though the hardware may have active pipes and whatnot.
Fix up the mask so we get rid of all three pipe select bits
and thus hopefully no longer sanitize cdclk when it's already
correctly programmed.
Cc: Matt Roper <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111641
Fixes: 0c1279b58fc7 ("drm/i915: Consolidate {bxt,cnl,icl}_init_cdclk")
Signed-off-by: Ville Syrjälä <[email protected]>
Reviewed-by: Matt Roper <[email protected]>
Signed-off-by: Chris Wilson <[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