[PATCH] drm/amd/display: [FIX] Compilation error
Rodrigo Siqueira
Rodrigo.Siqueira at amd.com
Mon Oct 5 15:27:56 UTC 2020
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira at amd.com>
On 10/02, Qingqing Zhuo wrote:
> [Why]
> ifdef mismatch.
>
> [How]
> Update to the correct flag.
>
> Signed-off-by: Qingqing Zhuo <qingqing.zhuo at amd.com>
> Cc: <stable at 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
>
--
Rodrigo Siqueira
https://siqueira.tech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20201005/a227dbcf/attachment.sig>
More information about the amd-gfx
mailing list