drm/i915: Move intel_(pre_disable/post_enable)_primary to intel_display.c, and use...
authorMaarten Lankhorst <[email protected]>
Tue, 21 Apr 2015 14:12:54 +0000 (17:12 +0300)
committerDaniel Vetter <[email protected]>
Fri, 8 May 2015 11:03:54 +0000 (13:03 +0200)
commit87d4300a7dbc19634018e147b4753f3c9bb5f471
tree3ea826161f02c784c4d1056cc9d589e100faeb06
parentb70709a6f0e9176c2bc7ecf44acf015c7362ddc6
drm/i915: Move intel_(pre_disable/post_enable)_primary to intel_display.c, and use it there.

They're the same code, so why not?

Signed-off-by: Maarten Lankhorst <[email protected]>
Reviewed-by: Ander Conselvan de Oliveira <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_sprite.c