drm: Use struct fb_info * as arg for syscons fb restore helper function.
authorImre Vadász <imre@vdsz.com>
Tue, 15 Nov 2016 23:34:04 +0000 (00:34 +0100)
committerImre Vadász <imre@vdsz.com>
Sat, 19 Nov 2016 19:49:45 +0000 (20:49 +0100)
commitf25fc9b7775736755e5e2e9e95f6f078de737ed2
tree99a7d0142d0091874103aff1445cc87d554854e3
parent7a13f593a425f3b1a5c97d3e28cf735dc51825ec
drm: Use struct fb_info * as arg for syscons fb restore helper function.

* This makes the framebuffer api handling in drm slightly nicer, and
  reduces the diffs in drm/radeonkms/i915 a bit.

* Renames the cookie element in struct fb_info to par, to avoid diffs
  in drm, radeonkms and i915.

* While there, use drm_fb_helper_alloc_fbi() in drm/radeon as well for
  allocating the struct fb_info, and uncomment drm_fb_helper_release_fbi(),
  which is needed in an error handler there.
sys/dev/drm/drm_fb_helper.c
sys/dev/drm/i915/intel_fbdev.c
sys/dev/drm/radeon/radeon_fb.c
sys/dev/misc/syscons/syscons.c
sys/platform/pc64/include/framebuffer.h