diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-01-23 20:08:56 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-03-05 21:41:00 +0300 |
commit | bf817d0cf719d07d642837de00160ad03ec5fe9a (patch) | |
tree | 4211744549332c8b7fed82c690264c891b2fb66d /include/drm/drm_atomic_helper.h | |
parent | 57270b8191a9d3d15d8c77287733ba1ce5213937 (diff) | |
download | linux-bf817d0cf719d07d642837de00160ad03ec5fe9a.tar.xz |
drm/armada: Use drm_mode_get_hv_timing() to populate plane clip rectangle
Use drm_mode_get_hv_timing() to fill out the plane clip rectangle.
Since armada isn't atomic we'll use crtc->enabled and crtc->mode instead
of the stuff under crtc_state.
Once everyone agrees on how the clip rectangle gets set up we can
move the code into drm_atomic_helper_check_plane_state().
Cc: Dave Airlie <airlied@redhat.com>
Cc: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180123170857.13818-4-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drm_atomic_helper.h')
0 files changed, 0 insertions, 0 deletions