Skip to contentSkip to conversation

drm/amd/display: Remove PRE_VEGA flag

PATCH In review Harry Wentland 2 participants 2 messages Apr 9, 2018 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amd/display: Remove PRE_VEGA flag

We enabled this upstream by default now and no longer need the flag.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 ---
 drivers/gpu/drm/amd/display/Kconfig        | 8 --------
 2 files changed, 11 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +0 -3
index 0e798b3032da..1762eb4d4e2b 100644
@@ -2093,9 +2093,6 @@ bool amdgpu_device_asic_has_dc_support(enum amd_asic_type asic_type)
 	case CHIP_POLARIS12:
 	case CHIP_TONGA:
 	case CHIP_FIJI:
-#if defined(CONFIG_DRM_AMD_DC_PRE_VEGA)
-		return amdgpu_dc != 0;
-#endif
 	case CHIP_VEGA10:
 	case CHIP_VEGA12:
 #if defined(CONFIG_DRM_AMD_DC_DCN1_0)
drivers/gpu/drm/amd/display/Kconfig +0 -8
index 5b124a67404c..d5d4586e6176 100644
@@ -9,14 +9,6 @@ config DRM_AMD_DC
 	  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 y
-	help
-	  Choose this option to enable the new DC support for older asics
-	  by default. This includes Polaris, Carrizo, Tonga, Bonaire,
-	  and Hawaii.
-
 config DRM_AMD_DC_FBC
 	bool "AMD FBC - Enable Frame Buffer Compression"
 	depends on DRM_AMD_DC
Signature · 6 lines
2.15.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): 20180409183719.8128-1-harry.wentland-5C7GfCeVMHo@public.gmane.org

Reviewed-by
#2 lore raw
Quoted 3 lines · Harry Wentland

We enabled this upstream by default now and no longer need the flag.

Quoted 41 lines
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 ---
 drivers/gpu/drm/amd/display/Kconfig        | 8 --------
 2 files changed, 11 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +0 -3
index 0e798b3032da..1762eb4d4e2b 100644
@@ -2093,9 +2093,6 @@ bool amdgpu_device_asic_has_dc_support(enum amd_asic_type asic_type)
        case CHIP_POLARIS12:
        case CHIP_TONGA:
        case CHIP_FIJI:
-#if defined(CONFIG_DRM_AMD_DC_PRE_VEGA)
-               return amdgpu_dc != 0;
-#endif
        case CHIP_VEGA10:
        case CHIP_VEGA12:
 #if defined(CONFIG_DRM_AMD_DC_DCN1_0)
drivers/gpu/drm/amd/display/Kconfig +0 -9
index 5b124a67404c..d5d4586e6176 100644
@@ -9,14 +9,6 @@ config DRM_AMD_DC
          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 y
-       help
-         Choose this option to enable the new DC support for older asics
-         by default. This includes Polaris, Carrizo, Tonga, Bonaire,
-         and Hawaii.
-
 config DRM_AMD_DC_FBC
        bool "AMD FBC - Enable Frame Buffer Compression"
        depends on DRM_AMD_DC
--

2.15.1

Quoted 4 lines

_______________________________________________
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