diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2023-02-09 13:45:03 +0100 | 
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2023-02-09 10:04:25 -0500 | 
| commit | 474876bac2333fcc41b10db61571219e2f990a8a (patch) | |
| tree | c9b1d4dcf0cc228a2d75f6629d6aa12c3778d204 /drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c | |
| parent | 34a24462561ff5b48467243829afd9b2b407528e (diff) | |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c')
0 files changed, 0 insertions, 0 deletions
