mbox series

[0/2] Clean and Optimise mtl_ddi_prepare_link_retrain

Message ID 20250103051705.145161-1-suraj.kandpal@intel.com (mailing list archive)
Headers show
Series Clean and Optimise mtl_ddi_prepare_link_retrain | expand

Message

Kandpal, Suraj Jan. 3, 2025, 5:17 a.m. UTC
While going through code of mtl_ddi_prepare_link_retrain which calls
mtl_port_buf_ctl_program I saw some potential cleanup and optimization
that could take place i.e the i915 to intel_display usage and using
intel_de_rmw instead of the intel_de_read, add mask and then
intel_de_write sequence. This patch series implements them.

Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>

Suraj Kandpal (2):
  drm/i915/dp: Use intel_display instead of drm_i915_private
  drm/i915/ddi: Optimize mtl_port_buf_ctl_program

 drivers/gpu/drm/i915/display/intel_ddi.c | 25 ++++++++++++------------
 1 file changed, 12 insertions(+), 13 deletions(-)