]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/dp: add g4x_dp_compute_config()
authorJani Nikula <jani.nikula@intel.com>
Wed, 11 Dec 2024 12:54:30 +0000 (14:54 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 11 Dec 2024 17:06:04 +0000 (19:06 +0200)
commit0c638e861f02946ac7e89ea189ca7070aa376d4f
treed42c283f0666dd1c65b84d121d88ebd1e04abee4
parentf2efcd90b58d74e6aab7ba47ead0dedc543c0145
drm/i915/dp: add g4x_dp_compute_config()

Add g4x_dp_compute_config() instead of using intel_dp_compute_config()
directly, in order to slightly reduce the clutter in the latter wrt
->has_pch_encoder.

Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241211125431.680227-1-jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/g4x_dp.c
drivers/gpu/drm/i915/display/intel_dp.c