]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915: Introduce intel_plane_state_reset()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 7 Nov 2019 14:24:17 +0000 (16:24 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 18 Dec 2019 14:47:34 +0000 (16:47 +0200)
commit74cb2751d42efc17abdeba8ed3f2c322e41cfad5
treed0ad6997ccb81d8c4333fb4110063674c353414e
parent979e94c1d64ae961016f5da2118dd46c87826d9e
drm/i915: Introduce intel_plane_state_reset()

For the sake of symmetry with the crtc stuff let's add
a helper to reset the plane state to sane default values.
For the moment this only gets caller from the plane init.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191107142417.11107-5-ville.syrjala@linux.intel.com
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
drivers/gpu/drm/i915/display/intel_atomic_plane.c