drm/amd/display: Drop unnecessary header file
Subsystems (3)
PATCH 1/2 drm/amd/display: Drop unnecessary header file
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
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c +0 -1
@@ -34,7 +34,6 @@#include "amdgpu_pm.h" #include "dm_pp_smu.h" #include "../../powerplay/inc/hwmgr.h" -#include "../../powerplay/hwmgr/smu10_hwmgr.h" bool dm_pp_apply_display_requirements(
Signature · 6 lines
1.9.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 1529992395-8694-1-git-send-email-rezhu-5C7GfCeVMHo@public.gmane.org
PATCH 2/2 drm/amd/display: Fix dm-pp clks type convert error
fix a typo when convert displayphyclk type.
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c +3 -0
@@ -167,6 +167,9 @@ static enum amd_pp_clock_type dc_to_pp_clock_type( amd_pp_clk_type = amd_pp_f_clock;break ;case DM_PP_CLOCK_TYPE_DISPLAYPHYCLK : + amd_pp_clk_type = amd_pp_phy_clock; +break ; +case DM_PP_CLOCK_TYPE_DPPCLK : amd_pp_clk_type = amd_pp_dpp_clock;break ;default :
Signature · 6 lines
1.9.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 1529992395-8694-2-git-send-email-rezhu-5C7GfCeVMHo@public.gmane.org
Deucher, Alexander
Reviewed-byRe: [PATCH 2/2] drm/amd/display: Fix dm-pp clks type convert error
Series is:
________________________________
From: amd-gfx <amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org> on behalf of rex zhu <[email protected]>
Sent: Tuesday, June 26, 2018 1:53:15 AM
To: [email protected]
Cc: Zhu, Rex; Zhu, Rex
Subject: [PATCH 2/2] drm/amd/display: Fix dm-pp clks type convert error
fix a typo when convert displayphyclk type.
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c +3 -0
@@ -167,6 +167,9 @@ static enum amd_pp_clock_type dc_to_pp_clock_type( amd_pp_clk_type = amd_pp_f_clock;break ;case DM_PP_CLOCK_TYPE_DISPLAYPHYCLK : + amd_pp_clk_type = amd_pp_phy_clock; +break ; +case DM_PP_CLOCK_TYPE_DPPCLK : amd_pp_clk_type = amd_pp_dpp_clock;break ;default :
--
1.9.1
_______________________________________________
amd-gfx mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Harry Wentland
Reviewed-byRe: [PATCH 2/2] drm/amd/display: Fix dm-pp clks type convert error
In reply to a message not in the archiveQuoted 3 lines · rex zhu
fix a typo when convert displayphyclk type.
Signed-off-by Rex Zhu <[email protected]>
Harry
Quoted 10 lines
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c | 3 +++ 1 file changed, 3 insertions(+)drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c +0
-0
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c static enum amd_pp_clock_type dc_to_pp_clock_type( · line 175
Quoted 9 lines
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c +3
-0@@ -167,6 +167,9 @@ static enum amd_pp_clock_type dc_to_pp_clock_type( amd_pp_clk_type = amd_pp_f_clock;break ;case DM_PP_CLOCK_TYPE_DISPLAYPHYCLK : + amd_pp_clk_type = amd_pp_phy_clock; +break ; +case DM_PP_CLOCK_TYPE_DPPCLK : amd_pp_clk_type = amd_pp_dpp_clock;break ;default :
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Harry Wentland
Reviewed-byQuoted 14 lines · rex zhu
powerplay implement
hwmgr_functiontable for all supported asics in order to conceal the asic's detail infomation. so no need to include thesmu10_hwmgr.hSigned-off-by Rex Zhu <[email protected]>--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c | 1 - 1 file changed, 1 deletion(-)drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c +0
-0
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c line 37
Quoted 4 lines
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c +0
-1@@ -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.
Harry
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c line 38
Quoted 4 lines
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c +0
-0bool dm_pp_apply_display_requirements(
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx