Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/i915/cx0: Use intel_port_to_tc() instead of open coding it

Use intel_port_to_tc() in mtl_port_to_pll_id(), instead of open coding
the same.

v2: s/USe/Use in commit message.

Cc: Suraj Kandpal <suraj.kandpal@intel.com>
Cc: Mika Kahola <mika.kahola@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patch.msgid.link/20251120172358.1282765-3-imre.deak@intel.com

Imre Deak 07ba4ecf 8aa2945f

+1 -1
+1 -1
drivers/gpu/drm/i915/display/intel_dpll_mgr.c
··· 206 206 enum intel_dpll_id mtl_port_to_pll_id(struct intel_display *display, enum port port) 207 207 { 208 208 if (port >= PORT_TC1) 209 - return icl_tc_port_to_pll_id(port - PORT_TC1 + TC_PORT_1); 209 + return icl_tc_port_to_pll_id(intel_port_to_tc(display, port)); 210 210 211 211 switch (port) { 212 212 case PORT_A: