vswing/pre-emphasis adjustment calculation is needed in processing of auto phy compliance request other than link training, so have made non-static function. No functional change. v1: initial patch. v2: - used "intel_dp" prefix in function name. (Jani) - used array notation instead pointer for link_status. (Ville) v3: Scrapped the initial patch, modified commit description accordingly. - made non-static function and used intel_dp prefix. (Jani, Manasi) Reviewed-by: Manasi Navare <manasi.d.navare@intel.com> Signed-off-by: Animesh Manna <animesh.manna@intel.com> Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200316103759.12867-4-animesh.manna@intel.com
19 lines
479 B
C
19 lines
479 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2019 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __INTEL_DP_LINK_TRAINING_H__
|
|
#define __INTEL_DP_LINK_TRAINING_H__
|
|
|
|
#include <drm/drm_dp_helper.h>
|
|
|
|
struct intel_dp;
|
|
|
|
void intel_dp_get_adjust_train(struct intel_dp *intel_dp,
|
|
const u8 link_status[DP_LINK_STATUS_SIZE]);
|
|
void intel_dp_start_link_train(struct intel_dp *intel_dp);
|
|
void intel_dp_stop_link_train(struct intel_dp *intel_dp);
|
|
|
|
#endif /* __INTEL_DP_LINK_TRAINING_H__ */
|