drm/i915/display: refactor out initial plane config for crtcs
authorDave Airlie <airlied@redhat.com>
Tue, 12 Oct 2021 04:34:57 +0000 (14:34 +1000)
committerJani Nikula <jani.nikula@intel.com>
Tue, 12 Oct 2021 09:58:29 +0000 (12:58 +0300)
commit0d594ea0cff28c44cb9314023c4064676d929f8d
tree027e9a0bf776fd0525655794399be216a6bc15e1
parent2f9a995a38d89f499850b48bf6b769f95239eaf9
drm/i915/display: refactor out initial plane config for crtcs

This just pulls this out into a function so it can be moved to
another file easier.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211012043502.1377715-4-airlied@gmail.com
drivers/gpu/drm/i915/display/intel_display.c