[PATCH 1/2] drm/amd/display: Drop unnecessary header file

Harry Wentland harry.wentland at amd.com
Tue Jun 26 14:43:26 UTC 2018


On 2018-06-26 01:53 AM, rex zhu wrote:
> powerplay implement hwmgr_function table for all supported asics in
> order to conceal the asic's detail infomation. so no need to include
> the smu10_hwmgr.h
> 
> Signed-off-by: Rex Zhu <Rex.Zhu at amd.com>
> ---
>  drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c
> index ad96e2a..2acbcc7 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c
> @@ -34,7 +34,6 @@
>  #include "amdgpu_pm.h"
>  #include "dm_pp_smu.h"
>  #include "../../powerplay/inc/hwmgr.h"
> -#include "../../powerplay/hwmgr/smu10_hwmgr.h"

We don't even need the relative reference since powerplay/Makefile adds the right include folder. I can send a separate patch for that, though.

Reviewed-by: Harry Wentland <harry.wentland at amd.com>

Harry

>  
>  
>  bool dm_pp_apply_display_requirements(
> 


More information about the amd-gfx mailing list