]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/dp/fec: DRM helper for Forward Error Correction
authorAnusha Srivatsa <anusha.srivatsa@intel.com>
Fri, 2 Nov 2018 04:14:55 +0000 (21:14 -0700)
committerManasi Navare <manasi.d.navare@intel.com>
Sat, 3 Nov 2018 01:22:25 +0000 (18:22 -0700)
commit857d828374cc84d07c7b94db2cf535aa517444dd
tree4debc299b4a1834adbf4cd9aff134812f77ced05
parent08cadae8e1570c069f639a86fe4370485094552c
drm/dp/fec: DRM helper for Forward Error Correction

DP 1.4 has Forward Error Correction Support(FEC).
Add helper function to check if the sink device
supports FEC.

v2: Separate the helper and the code that uses the helper into
two separate patches. (Manasi)

v3:
- Move the code to drm_dp_helper.c (Manasi)
- change the return type, code style changes (Gaurav)
- Use drm_dp_dpcd_readb instead of drm_dp_dpcd_read. (Jani)

v4:
- Avoid aux reads everytime, instead read cached
values of dpcd register (jani)
- Move helper to drm_dp_helper.h like other dsc
helpers.(Anusha)

v5: rebased. Change the helper parameter suitably.

Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Manasi Navare <manasi.d.navare@intel.com>
Acked-by: Sean Paul <seanpaul@chromium.org> (For merging through
drm-intel)
Signed-off-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181102041455.15818-2-anusha.srivatsa@intel.com
include/drm/drm_dp_helper.h