diff options
author | Alvin lee <alvin.lee3@amd.com> | 2018-06-19 15:40:09 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-07-13 14:48:49 -0500 |
commit | 4b99affbb30027c8414a9d583777ad5c6439ae12 (patch) | |
tree | 44f333e549934e4f55135b463a6923b86fb9e8f8 /drivers/gpu/drm/amd/display/include/dpcd_defs.h | |
parent | e1cb3e4801e6896ba93d63222b1052199d2a8c9b (diff) | |
download | linux-4b99affbb30027c8414a9d583777ad5c6439ae12.tar.gz linux-4b99affbb30027c8414a9d583777ad5c6439ae12.tar.bz2 linux-4b99affbb30027c8414a9d583777ad5c6439ae12.zip |
drm/amd/display: read DP sink and DP branch hardware and firmware revision from DPCD
- define new dpcd address in drm
- implement new members in dpcd_caps to store values read from new dpcd address
Signed-off-by: Alvin lee <alvin.lee3@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/include/dpcd_defs.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/include/dpcd_defs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/include/dpcd_defs.h b/drivers/gpu/drm/amd/display/include/dpcd_defs.h index d8e52e3b8e3c..1c66166d0a94 100644 --- a/drivers/gpu/drm/amd/display/include/dpcd_defs.h +++ b/drivers/gpu/drm/amd/display/include/dpcd_defs.h @@ -27,6 +27,9 @@ #define __DAL_DPCD_DEFS_H__ #include <drm/drm_dp_helper.h> +#ifndef DP_SINK_HW_REVISION_START // can remove this once the define gets into linux drm_dp_helper.h +#define DP_SINK_HW_REVISION_START 0x409 +#endif enum dpcd_revision { DPCD_REV_10 = 0x10, |