diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-07-05 21:59:07 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-07-13 17:58:19 +0300 |
commit | e7695eb6ea70ed143fafbcd12ce69886be3aa03d (patch) | |
tree | d330c4b1c1d632e4be25a85e361b20f8e867985c /include/drm | |
parent | 4dd4677c2d3d34a2bcd511c088da4535ea58e360 (diff) |
drm: Introduce __setplane_atomic()
All the plane->fb/old_fb/crtc dance of __setplane_internal() is
pointless on atomic drivers. So let's just introduce a simpler
version that skips all that.
Ideally we could also skip the __setplane_check() as
drm_atomic_plane_check() already checks for everything, but the
legacy cursor/"async" .update_plane() tricks bypass that so
we still need to call __setplane_check(). Toss in a FIXME to
remind someone to clean this up later.
v2: Use drm_drv_uses_atomic_modeset() (Daniel)
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180705185907.9524-1-ville.syrjala@linux.intel.com
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions