Arnd Bergmann 474876bac2 drm/amd/display: fix link_validation build failure
When CONFIG_DRM_AMD_DC_DCN is disabled, the is_frl member
is not defined:

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c: In function 'dp_active_dongle_validate_timing':
drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c:126:66: error: 'const struct dc_dsc_config' has no member named 'is_frl'
  126 |                         if (timing->flags.DSC && !timing->dsc_cfg.is_frl)
      |                                                                  ^

Use the same #ifdef as the other references to this.

Fixes: 54618888d1ea ("drm/amd/display: break down dc_link.c")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-02-09 10:04:25 -05:00
..
2023-01-24 17:36:29 +01:00
2022-12-13 19:29:45 -08:00
2022-12-14 12:20:00 -08:00
2023-01-24 17:36:29 +01:00
2023-01-31 12:23:23 +01:00
2022-11-24 11:05:43 +10:00
2023-01-04 14:59:25 +01:00
2023-01-31 12:23:23 +01:00
2023-01-31 12:23:23 +01:00
2023-01-31 12:23:23 +01:00
2023-01-31 12:23:23 +01:00
2022-12-19 09:50:06 +01:00
2022-12-14 12:20:00 -08:00
2023-01-30 14:24:52 +10:00
2023-01-31 12:23:23 +01:00
2023-01-31 12:23:23 +01:00
2023-01-31 12:23:23 +01:00
2023-01-31 12:23:23 +01:00
2023-01-31 12:23:23 +01:00
2023-01-12 17:02:20 -06:00
2022-11-16 07:17:32 +10:00
2023-01-04 14:59:25 +01:00
2023-01-31 12:23:23 +01:00
2023-01-31 12:23:23 +01:00
2023-01-16 15:33:28 +10:00
2023-01-16 15:33:28 +10:00
2023-01-31 12:23:23 +01:00
2022-12-16 03:54:54 -08:00
2023-01-13 09:44:53 +01:00
2023-01-24 17:36:29 +01:00