[PATCH 1/2] drm/amdgpu/display: include delay.h

Kazlauskas, Nicholas nicholas.kazlauskas at amd.com
Tue Dec 17 20:50:01 UTC 2019


On 2019-12-17 3:47 p.m., Alex Deucher wrote:
> For udelay.  This is needed for some platforms.
> 
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

Reviewed-by: Nicholas Kazlauskas <nicholas.kazluaskas at amd.om>

I wonder if it makes more sense to include this in os_types.h to avoid 
these errors in the future.

Nicholas Kazlauskas

> ---
>   drivers/gpu/drm/amd/display/modules/hdcp/hdcp2_execution.c | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/gpu/drm/amd/display/modules/hdcp/hdcp2_execution.c b/drivers/gpu/drm/amd/display/modules/hdcp/hdcp2_execution.c
> index 110c8620907b..bcbc0b8a9aa0 100644
> --- a/drivers/gpu/drm/amd/display/modules/hdcp/hdcp2_execution.c
> +++ b/drivers/gpu/drm/amd/display/modules/hdcp/hdcp2_execution.c
> @@ -23,6 +23,8 @@
>    *
>    */
>   
> +#include <linux/delay.h>
> +
>   #include "hdcp.h"
>   
>   static inline enum mod_hdcp_status check_receiver_id_list_ready(struct mod_hdcp *hdcp)
> 



More information about the amd-gfx mailing list