drm: add helpers to go from plane state to drm_rect
authorRob Clark <robdclark@gmail.com>
Sat, 5 Nov 2016 15:08:08 +0000 (11:08 -0400)
committerSean Paul <seanpaul@chromium.org>
Tue, 8 Nov 2016 21:38:03 +0000 (16:38 -0500)
commit1638d30c1584ff8097776d691f5fa5aafa7aeb8c
treec5a339c20e97b2ce284e7a335845f609125133a1
parentd8187177b0b195368699ba12b5fa8cd5fdc39b79
drm: add helpers to go from plane state to drm_rect

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
[seanpaul resolved conflict in drm_plane.h]
Signed-off-by: Sean Paul <seanpaul@chromium.org>
drivers/gpu/drm/drm_plane_helper.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_sprite.c
include/drm/drm_plane.h