drm/amd/display: Clean Kconfig formatting
Subsystems (3)
PATCH 1/2 drm/amd/display: Clean Kconfig formatting
--- drivers/gpu/drm/amd/display/Kconfig | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-)
drivers/gpu/drm/amd/display/Kconfig +16 -17
@@ -2,26 +2,25 @@ menu "Display Engine Configuration" depends on DRM && DRM_AMDGPU config DRM_AMD_DC - bool "AMD DC - Enable new display engine (will be deprecated when the development is done)" - help - Choose this option if you want to use the new display engine - support for AMDGPU. - - Will be deprecated when the DC component is upstream. + bool "AMD DC - Enable new display engine + help + Choose this option if you want to use the new display engine + support for AMDGPU. This adds required support for Vega and + Raven ASICs. config DRM_AMD_DC_DCN1_0 - bool "DCN 1.0 Raven family" - depends on DRM_AMD_DC && X86 - help - Choose this option if you want to have - RV family for display engine + bool "DCN 1.0 Raven family" + depends on DRM_AMD_DC && X86 + help + Choose this option if you want to have + RV family for display engine config DEBUG_KERNEL_DC - bool "Enable kgdb break in DC" - depends on DRM_AMD_DC - help - Choose this option - if you want to hit - kdgb_break in assert. + bool "Enable kgdb break in DC" + depends on DRM_AMD_DC + help + Choose this option + if you want to hit + kdgb_break in assert. endmenu
Signature · 6 lines
2.11.0 _______________________________________________ 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): 20170912145751.14030-1-harry.wentland-5C7GfCeVMHo@public.gmane.org
PATCH 2/2 drm/amd/display: Disable pre-Vega ASICs be default
--- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 ++ drivers/gpu/drm/amd/display/Kconfig | 8 ++++++++ 2 files changed, 10 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +2 -0
@@ -1995,7 +1995,9 @@ bool amdgpu_device_asic_has_dc_support(enum amd_asic_type asic_type)case CHIP_TONGA :case CHIP_FIJI :case CHIP_VEGA10 : +#if defined(CONFIG_DRM_AMD_DC_PRE_VEGA )return amdgpu_dc !=0 ; +#endif case CHIP_KABINI :case CHIP_MULLINS :return amdgpu_dc >0 ;
drivers/gpu/drm/amd/display/Kconfig +8 -0
@@ -3,11 +3,19 @@ menu "Display Engine Configuration" config DRM_AMD_DC bool "AMD DC - Enable new display engine + default y help Choose this option if you want to use the new display engine support for AMDGPU. This adds required support for Vega and Raven ASICs. +config DRM_AMD_DC_PRE_VEGA + bool "DC support for Polaris and older ASICs" + default n + help + Choose this option to use the new DC driver for Polaris, Carrizo, + Tonga, Bonaire, and Hawaii. + config DRM_AMD_DC_DCN1_0 bool "DCN 1.0 Raven family" depends on DRM_AMD_DC && X86
Signature · 6 lines
2.11.0 _______________________________________________ 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): 20170912145751.14030-2-harry.wentland-5C7GfCeVMHo@public.gmane.org
RE: [PATCH 2/2] drm/amd/display: Disable pre-Vega ASICs be default
Quoted 42 lines
-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Harry Wentland
Sent: Tuesday, September 12, 2017 10:58 AM
To: [email protected]
Cc: Deucher, Alexander; Wentland, Harry; [email protected]; [email protected]
Subject: [PATCH 2/2] drm/amd/display: Disable pre-Vega ASICs be defaultSigned-off-by Harry Wentland <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 ++ drivers/gpu/drm/amd/display/Kconfig | 8 ++++++++ 2 files changed, 10 insertions(+)drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +2
-0@@ -1995,7 +1995,9 @@ bool amdgpu_device_asic_has_dc_support(enum amd_asic_type asic_type)case CHIP_TONGA :case CHIP_FIJI :case CHIP_VEGA10 : +#if defined(CONFIG_DRM_AMD_DC_PRE_VEGA )return amdgpu_dc !=0 ; +#endif case CHIP_KABINI :case CHIP_MULLINS :drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +0
-0return amdgpu_dc >0 ;drivers/gpu/drm/amd/display/Kconfig +1
-0@@ -3,11 +3,19 @@ menu "Display Engine Configuration" config DRM_AMD_DC bool "AMD DC - Enable new display engine + default y help
drivers/gpu/drm/amd/display/Kconfig menu "Display Engine Configuration" · line 17
Quoted 10 lines
drivers/gpu/drm/amd/display/Kconfig +6
-0Choose this option if you want to use the new display engine support for AMDGPU. This adds required support for Vega and Raven ASICs. +config DRM_AMD_DC_PRE_VEGA + bool "DC support for Polaris and older ASICs" + default n + help + Choose this option to use the new DC driver for Polaris, Carrizo, + Tonga, Bonaire, and Hawaii.
I'd suggest changing the wording of this option to say something like:
"Choose this option to enable the new DC support for older asics by default."
So it's clear this just changes the default behavior, the user can still use DC via module parameter.
Alex
Quoted 11 lines
drivers/gpu/drm/amd/display/Kconfig +1
-1+ config DRM_AMD_DC_DCN1_0 bool "DCN 1.0 Raven family" depends on DRM_AMD_DC && X86 --2.11.0
_______________________________________________
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
Deucher, Alexander
Reviewed-by Alex DeucherQuoted 9 lines
-----Original Message-----
From: Harry Wentland [mailto:[email protected]]
Sent: Tuesday, September 12, 2017 10:58 AM
To: [email protected]
Cc: [email protected]; Deucher, Alexander; [email protected]; Wentland, Harry
Subject: [PATCH 1/2] drm/amd/display: CleanKconfigformattingSigned-off-by Harry Wentland <[email protected]>
Quoted 55 lines
--- drivers/gpu/drm/amd/display/Kconfig | 33 ++++++++++++++++--------------- -- 1 file changed, 16 insertions(+), 17 deletions(-)drivers/gpu/drm/amd/display/Kconfig +0
-1@@ -2,26 +2,25 @@ menu "Display Engine Configuration" depends on DRM && DRM_AMDGPU config DRM_AMD_DC - bool "AMD DC - Enable new display engine (will be deprecated whenthe development is done)"
drivers/gpu/drm/amd/display/Kconfig +16
-17- help - Choose this option if you want to use the new display engine - support for AMDGPU. - - Will be deprecated when the DC component is upstream. + bool "AMD DC - Enable new display engine + help + Choose this option if you want to use the new display engine + support for AMDGPU. This adds required support for Vega and + Raven ASICs. config DRM_AMD_DC_DCN1_0 - bool "DCN 1.0 Raven family" - depends on DRM_AMD_DC && X86 - help - Choose this option if you want to have - RV family for display engine + bool "DCN 1.0 Raven family" + depends on DRM_AMD_DC && X86 + help + Choose this option if you want to have + RV family for display engine config DEBUG_KERNEL_DC - bool "Enable kgdb break in DC" - depends on DRM_AMD_DC - help - Choose this option - if you want to hit - kdgb_break in assert. + bool "Enable kgdb break in DC" + depends on DRM_AMD_DC + help + Choose this option + if you want to hit + kdgb_break in assert. endmenu --
Quoted 1 line
2.11.0
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx