aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2020-01-15 21:08:10 +0200
committerVille Syrjälä <[email protected]>2020-01-20 16:52:29 +0200
commitfff13e63a14185f788ecbad5ed0a24609074f6c7 (patch)
tree9b68e16cff2b0cf1dbdc0239df7bb5535ce2d127 /tools/perf/scripts/python/bin
parentd0eed1545fe75f115a548691a008e94b0e7abc45 (diff)
drm/i915: Clear most of crtc state when disabling the crtc
Currently we don't call intel_crtc_prepare_cleared_state() for crtcs that are going to be entirely disabled (uapi.enable==false). That means such crtcs will leave stale junk lying around in their states and we have to sprinkle hw.enable checks all over before we can look at the states. Let's change that a bit so that we aways do the state clearing, even for fully disabled crtcs. Note that we still keep some parts of the old state (see intel_crtc_prepare_cleared_state() for the details) so probably can't trust things 100% when hw.enable==false. But at least there's less chance now that we end up looking at stale junk. Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: José Roberto de Souza <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions