]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/display: replace dig_port->saved_port_bits with flags
authorJani Nikula <jani.nikula@intel.com>
Fri, 29 Nov 2024 10:25:03 +0000 (12:25 +0200)
committerJani Nikula <jani.nikula@intel.com>
Mon, 2 Dec 2024 14:26:31 +0000 (16:26 +0200)
commit6710232f1dcc47c6c5e49bb6a487821202579469
tree6a76f3da7f43efa14f3644c4c4c9a25447679d43
parente3ca05ce5014965377e28e02714020927093bf7f
drm/i915/display: replace dig_port->saved_port_bits with flags

dig_port->saved_port_bits is used to permanently store two DDI_BUF_CTL
bits, DDI_BUF_PORT_REVERSAL and DDI_A_4_LANES. Store them separately as
bools to make their use more logical and less about storing state as
register bits.

Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241129102503.452272-1-jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_cx0_phy.c
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