]> git.baikalelectronics.ru Git - kernel.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)
commitc681dc493158b0b974a3782995b94fafe107dd80
tree9a4c60a30b1d58e55c74e53fad29dd01decaaddd
parent956e5054b79f0d00be43ddbb6a6f703cebf67f0d
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