diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-11-07 17:24:16 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-12-18 17:47:34 +0300 |
commit | 979e94c1d64ae961016f5da2118dd46c87826d9e (patch) | |
tree | 80d8c7fedff71179e1b16e6bc3bfc86e693d9493 /tools/perf/scripts/python/syscall-counts.py | |
parent | 6643453987c44d5d37709c3021d21d0e3bb4d5c4 (diff) | |
download | linux-979e94c1d64ae961016f5da2118dd46c87826d9e.tar.xz |
drm/i915: Introduce intel_crtc_state_reset()
We have a few places where we want to reset a crtc state to its
default values. Let's add a helper for that. We'll need the new
__drm_atomic_helper_crtc_state_reset() helper for this to allow
us to just reset the state itself without clobbering the
crtc->state pointer.
And while at it let's zero out the whole thing, except a few
choice member which we'll mark as "invalid". And thanks to this
we can now nuke intel_crtc_init_scalers().
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191107142417.11107-4-ville.syrjala@linux.intel.com
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions