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: Clear response ready & error bit

Clear the response ready and error bit of PORT_P2M_MESSAGE_BUS_STATUS
before writing the transaction pending bit of
PORT_M2P_MSGBUS_CTL as that is a hard requirement. If not done
we find that the PHY hangs since it ends up in a weird state if left
idle for more than 1 hour.

Bspec: 65101
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Reviewed-by: Michał Grzelak <michal.grzelak@intel.com>
Link: https://patch.msgid.link/20260122044859.753682-1-suraj.kandpal@intel.com

+4
+4
drivers/gpu/drm/i915/display/intel_cx0_phy.c
··· 223 223 return -ETIMEDOUT; 224 224 } 225 225 226 + intel_clear_response_ready_flag(encoder, lane); 227 + 226 228 intel_de_write(display, XELPDP_PORT_M2P_MSGBUS_CTL(display, port, lane), 227 229 XELPDP_PORT_M2P_TRANSACTION_PENDING | 228 230 XELPDP_PORT_M2P_COMMAND_READ | ··· 295 293 intel_cx0_bus_reset(encoder, lane); 296 294 return -ETIMEDOUT; 297 295 } 296 + 297 + intel_clear_response_ready_flag(encoder, lane); 298 298 299 299 intel_de_write(display, XELPDP_PORT_M2P_MSGBUS_CTL(display, port, lane), 300 300 XELPDP_PORT_M2P_TRANSACTION_PENDING |