Message ID | 20201003001616.16816-1-qingqing.zhuo@amd.com |
---|---|
State | Superseded |
Headers | show |
Series | drm/amd/display: [FIX] Compilation error | expand |
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> On 10/02, Qingqing Zhuo wrote: > [Why] > ifdef mismatch. > > [How] > Update to the correct flag. > > Signed-off-by: Qingqing Zhuo <qingqing.zhuo@amd.com> > Cc: <stable@vger.kernel.org> > --- > drivers/gpu/drm/amd/display/dc/dce/dce_abm.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_abm.h b/drivers/gpu/drm/amd/display/dc/dce/dce_abm.h > index 389ca0d54d1b..829cd9a93ba9 100644 > --- a/drivers/gpu/drm/amd/display/dc/dce/dce_abm.h > +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_abm.h > @@ -189,7 +189,7 @@ > > #define ABM_MASK_SH_LIST_DCN20(mask_sh) ABM_MASK_SH_LIST_DCE110(mask_sh) > > -#if defined(CONFIG_DRM_AMD_DC_DCN3_01) > +#if defined(CONFIG_DRM_AMD_DC_DCN3_0) || defined(CONFIG_DRM_AMD_DC_DCN3_01) > #define ABM_MASK_SH_LIST_DCN301(mask_sh) ABM_MASK_SH_LIST_DCN10(mask_sh) > #endif > > -- > 2.17.1 >
diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_abm.h b/drivers/gpu/drm/amd/display/dc/dce/dce_abm.h index 389ca0d54d1b..829cd9a93ba9 100644 --- a/drivers/gpu/drm/amd/display/dc/dce/dce_abm.h +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_abm.h @@ -189,7 +189,7 @@ #define ABM_MASK_SH_LIST_DCN20(mask_sh) ABM_MASK_SH_LIST_DCE110(mask_sh) -#if defined(CONFIG_DRM_AMD_DC_DCN3_01) +#if defined(CONFIG_DRM_AMD_DC_DCN3_0) || defined(CONFIG_DRM_AMD_DC_DCN3_01) #define ABM_MASK_SH_LIST_DCN301(mask_sh) ABM_MASK_SH_LIST_DCN10(mask_sh) #endif
[Why] ifdef mismatch. [How] Update to the correct flag. Signed-off-by: Qingqing Zhuo <qingqing.zhuo@amd.com> Cc: <stable@vger.kernel.org> --- drivers/gpu/drm/amd/display/dc/dce/dce_abm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)