mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-25 00:52:45 -04:00
drm: Correct DP DSC macro typo
In the file drm_dp_helper.h we have a macro named
DP_DSC_THROUGHPUT_MODE_{0,1}_UPSUPPORTED, the correct name should be
DP_DSC_THROUGHPUT_MODE_{0,1}_UNSUPPORTED. This commits adjusts this typo
in the header file and in other places that attempt to access this
macro.
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200429184142.1867987-1-Rodrigo.Siqueira@amd.com
This commit is contained in:
committed by
Alex Deucher
parent
ef54569966
commit
7837300c25
@@ -129,7 +129,7 @@ static bool dsc_line_buff_depth_from_dpcd(int dpcd_line_buff_bit_depth, int *lin
|
||||
static bool dsc_throughput_from_dpcd(int dpcd_throughput, int *throughput)
|
||||
{
|
||||
switch (dpcd_throughput) {
|
||||
case DP_DSC_THROUGHPUT_MODE_0_UPSUPPORTED:
|
||||
case DP_DSC_THROUGHPUT_MODE_0_UNSUPPORTED:
|
||||
*throughput = 0;
|
||||
break;
|
||||
case DP_DSC_THROUGHPUT_MODE_0_170:
|
||||
|
||||
Reference in New Issue
Block a user