diff options
| author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-11-07 16:24:16 +0200 |
|---|---|---|
| committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-12-18 16:47:34 +0200 |
| commit | 979e94c1d64ae961016f5da2118dd46c87826d9e (patch) | |
| tree | 80d8c7fedff71179e1b16e6bc3bfc86e693d9493 /tools/perf/scripts/python | |
| parent | drm/i915: Introduce intel_crtc_{alloc,free}() (diff) | |
| download | linux-979e94c1d64ae961016f5da2118dd46c87826d9e.tar.gz linux-979e94c1d64ae961016f5da2118dd46c87826d9e.zip | |
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')
0 files changed, 0 insertions, 0 deletions
