diff options
| author | Ville Syrjälä <[email protected]> | 2018-07-05 21:59:07 +0300 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2018-07-13 17:58:19 +0300 |
| commit | e7695eb6ea70ed143fafbcd12ce69886be3aa03d (patch) | |
| tree | d330c4b1c1d632e4be25a85e361b20f8e867985c /scripts/gcc-plugins/randomize_layout_plugin.c | |
| 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ä <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions