]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Allow drivers to register cursor planes with crtc
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 10 Jun 2014 15:28:11 +0000 (08:28 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 13 Jun 2014 15:45:22 +0000 (17:45 +0200)
commit3a8f74c038b704bb959a56f033b80959b55687b1
tree7ce7b24afa62f4cc5e4e4a7ebcc3263dbb6e40fe
parentf96a3e569e3c82bc6372d1812c46e897a8a5a3a9
drm: Allow drivers to register cursor planes with crtc

Universal plane support had placeholders for cursor planes, but didn't
actually do anything with them.  Save the cursor plane reference inside
the crtc and update the cursor plane parameter from void* to drm_plane.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Pallavi G<pallavi.g@intel.com>
Acked-by: Dave Airlie <airlied@linux.ie>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_crtc.c
include/drm/drm_crtc.h