drm/i915/tc: Move the intel_tc_port struct declaration to intel_tc.c
authorImre Deak <imre.deak@intel.com>
Thu, 23 Mar 2023 14:20:13 +0000 (16:20 +0200)
committerImre Deak <imre.deak@intel.com>
Mon, 3 Apr 2023 08:35:30 +0000 (11:35 +0300)
commitc5879999641f7860495cb9655de6775c96999103
tree7f53f58acaea2e2390ca8b66b2127cdf0f94273d
parent711762415ddacf54b1c973b208073438de5879b4
drm/i915/tc: Move the intel_tc_port struct declaration to intel_tc.c

Move the intel_tc_port struct to intel_tc.c for better isolation. This
requires allocating the struct dynamically.

Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230323142035.1432621-8-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_display_types.h
drivers/gpu/drm/i915/display/intel_tc.c
drivers/gpu/drm/i915/display/intel_tc.h