drm/i915/display: move to_intel_frontbuffer to header
authorDave Airlie <airlied@redhat.com>
Mon, 21 Dec 2020 09:04:46 +0000 (11:04 +0200)
committerJani Nikula <jani.nikula@intel.com>
Tue, 22 Dec 2020 08:08:56 +0000 (10:08 +0200)
commit175c13d143017549a92706d4e2ec712d0649d505
treeb77b24b4dadd1fea5fd60f61f7f60cd245c8c750
parent1e4da5df21cf63c8bdef28825690e02488542925
drm/i915/display: move to_intel_frontbuffer to header

This will be used for some refactoring in other files, so move it
first.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201221090449.8288-2-jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_display_types.h