aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2024-10-14 19:09:36 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-10-15 11:25:01 -0400
commit3b6e7d40649c0d75572039aff9d0911864c689db (patch)
treeb560e50b3ee0793aa81788e775f9c5af92ab5329 /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
parent62f38b4ccaa6aa063ca781d80b10aacd39dc5c76 (diff)
downloadlinux-3b6e7d40649c0d75572039aff9d0911864c689db.tar.gz
linux-3b6e7d40649c0d75572039aff9d0911864c689db.tar.bz2
linux-3b6e7d40649c0d75572039aff9d0911864c689db.zip
drm/radeon: Fix encoder->possible_clones
Include the encoder itself in its possible_clones bitmask. In the past nothing validated that drivers were populating possible_clones correctly, but that changed in commit 74d2aacbe840 ("drm: Validate encoder->possible_clones"). Looks like radeon never got the memo and is still not following the rules 100% correctly. This results in some warnings during driver initialization: Bogus possible_clones: [ENCODER:46:TV-46] possible_clones=0x4 (full encoder mask=0x7) WARNING: CPU: 0 PID: 170 at drivers/gpu/drm/drm_mode_config.c:615 drm_mode_config_validate+0x113/0x39c ... Cc: Alex Deucher <alexander.deucher@amd.com> Cc: amd-gfx@lists.freedesktop.org Fixes: 74d2aacbe840 ("drm: Validate encoder->possible_clones") Reported-by: Erhard Furtner <erhard_f@mailbox.org> Closes: https://lore.kernel.org/dri-devel/20241009000321.418e4294@yea/ Tested-by: Erhard Furtner <erhard_f@mailbox.org> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions