diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-03-14 17:10:49 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-03-22 22:04:50 +0200 |
commit | 24304d81930fdee0784ac27c0bf8d6a27f529382 (patch) | |
tree | 54661fbf2d65cbe1378473e63e91b85c204d7d04 /scripts/gcc-plugins/sancov_plugin.c | |
parent | 24f8e00a8a2eae92491f8668939dbfdc123d6e75 (diff) |
drm/i915: Extract intel_wm_plane_visible()
All platforms that lack double buffered watermarks will need to
handle the legacy cursor updates in the same way. So let's extract the
logic to determine the plane visibility into a small helper. For
simplicity we'll make the function DTRT for any plane, but only apply
the special sauce for cursor planes.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170314151050.12194-1-ville.syrjala@linux.intel.com
Tested-by: Dorota Czaplejewicz <dorota.czaplejewicz@collabora.co.uk>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions