OSDN Git Service

drm/i915: Consolidate plane handler vtables
authorMatt Roper <matthew.d.roper@intel.com>
Thu, 22 Jan 2015 00:35:42 +0000 (16:35 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Jan 2015 08:51:18 +0000 (09:51 +0100)
commit65a3fea0a6f02950f22f983755ce8145b73a007d
tree69d6d34201eb7aff9d2872292a4112e9130f6f1f
parent8e7d688b7a8316d514d2fe311b4ef8d6ac091f2d
drm/i915: Consolidate plane handler vtables

All of the previous refactoring/consolidation of plane code has resulted
in intel_primary_plane_funcs, intel_cursor_plane_funcs, and
intel_sprite_plane_funcs being identical.  Replace all of these with a
single 'intel_plane_funcs' vtable for simplicity.

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Ander Conselvan de Oliveira <conselvan2@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_sprite.c