diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2020-12-03 16:06:26 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-12-08 23:01:59 -0500 |
commit | d58159de57437806035d9f331c42d66cd31aedfa (patch) | |
tree | 49f104a09241b498106ad241104a1267e35233a2 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | e42dd87e70e66a54144bf75b62aa21bb518b3ba3 (diff) | |
download | lwn-d58159de57437806035d9f331c42d66cd31aedfa.tar.gz lwn-d58159de57437806035d9f331c42d66cd31aedfa.zip |
drm/amdgpu/disply: set num_crtc earlier
To avoid a recently added warning:
Bogus possible_crtcs: [ENCODER:65:TMDS-65] possible_crtcs=0xf (full crtc mask=0x7)
WARNING: CPU: 3 PID: 439 at drivers/gpu/drm/drm_mode_config.c:617 drm_mode_config_validate+0x178/0x200 [drm]
In this case the warning is harmless, but confusing to users.
Bug: https://bugzilla.kernel.org/show_bug.cgi?id=209123
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions