Signed-off-by: Jordan Lazare <Jordan.Lazare@amd.com> Reviewed-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
···19871987 case CHIP_POLARIS12:19881988 case CHIP_TONGA:19891989 case CHIP_FIJI:19901990-#if defined(CONFIG_DRM_AMD_DC_DCE12_0)19911990 case CHIP_VEGA10:19921992-#endif19931991#if defined(CONFIG_DRM_AMD_DC_PRE_VEGA)19941992 return amdgpu_dc != 0;19951993#else
-7
drivers/gpu/drm/amd/display/Kconfig
···1717 by default. This includes Polaris, Carrizo, Tonga, Bonaire,1818 and Hawaii.19192020-config DRM_AMD_DC_DCE12_02121- bool "Vega10 family"2222- depends on DRM_AMD_DC2323- help2424- Choose this option if you want to have2525- VG family for display engine.2626-2720config DEBUG_KERNEL_DC2821 bool "Enable kgdb break in DC"2922 depends on DRM_AMD_DC
-4
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
···11231123 case CHIP_POLARIS11:11241124 case CHIP_POLARIS10:11251125 case CHIP_POLARIS12:11261126-#if defined(CONFIG_DRM_AMD_DC_DCE12_0)11271126 case CHIP_VEGA10:11281128-#endif11291127 if (dce110_register_irq_handlers(dm->adev)) {11301128 DRM_ERROR("DM: Failed to initialize IRQ\n");11311129 return -1;···13901392 adev->mode_info.num_hpd = 6;13911393 adev->mode_info.num_dig = 6;13921394 break;13931393-#if defined(CONFIG_DRM_AMD_DC_DCE12_0)13941395 case CHIP_VEGA10:13951396 adev->mode_info.num_crtc = 6;13961397 adev->mode_info.num_hpd = 6;13971398 adev->mode_info.num_dig = 6;13981399 break;13991399-#endif14001400 default:14011401 DRM_ERROR("Usupported ASIC type: 0x%X\n", adev->asic_type);14021402 return -EINVAL;
···192192 unsigned int delay_between_poll_us, unsigned int time_out_num_tries,193193 const char *func_name);194194195195-#if defined(CONFIG_DRM_AMD_DC_DCE12_0)196195197196/* These macros need to be used with soc15 registers in order to retrieve198197 * the actual offset.···273274 20000,\274275 200000)275276276276-#endif277277/**************************************278278 * Power Play (PP) interfaces279279 **************************************/···335337 const struct dc_context *ctx,336338 struct dm_pp_wm_sets_with_clock_ranges *wm_with_clock_ranges);337339338338-#if defined(CONFIG_DRM_AMD_DC_DCE12_0)339340bool dm_pp_notify_wm_clock_changes_soc15(340341 const struct dc_context *ctx,341342 struct dm_pp_wm_sets_with_clock_ranges_soc15 *wm_with_clock_ranges);342342-#endif343343344344/* DAL calls this function to notify PP about completion of Mode Set.345345 * For PP it means that current DCE clocks are those which were returned