]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Deduplicate the code to fill the aux message header
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 22 Feb 2018 21:28:02 +0000 (23:28 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 2 Mar 2018 16:26:52 +0000 (18:26 +0200)
commitd0fce91a2f09fa1e83c38c250285986cee71ef4f
treec0983f021943ad31a58818594e6dbd69dc7e61d0
parent303fbcc5315947eda33fcd2da58c76d0c3bf8de1
drm/i915: Deduplicate the code to fill the aux message header

We have two instances of the code to fill out the header for the aux
message. Pull it into a small helper.

v2: Rebase due to txbuf[] changes

Cc: Sean Paul <seanpaul@chromium.org>
Cc: Ramalingam C <ramalingam.c@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180222212802.4826-1-ville.syrjala@linux.intel.com
Reviewed-by: Ramalingam C <ramalingam.c@intel.com>
drivers/gpu/drm/i915/intel_dp.c