]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm: handle cursor_set2 in restore_fbdev_mode
authorAlex Deucher <alexdeucher@gmail.com>
Wed, 30 Sep 2015 18:47:37 +0000 (14:47 -0400)
committerDave Airlie <airlied@redhat.com>
Fri, 2 Oct 2015 05:30:41 +0000 (15:30 +1000)
commit03f9abb28c3e10a1d0e08df8bca69e0606b23ea6
tree9a4c60a30b1d58e55c74e53fad29dd01decaaddd
parentec403b89e3152f93199b7b1813148bcdf6829311
drm: handle cursor_set2 in restore_fbdev_mode

If a driver uses the cursor_set2 crtc callback rather than
cursor_set, use that.  This fixes the fbdev helper for drivers
that use cursor_set2.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_fb_helper.c