diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-10-26 13:11:29 +0300 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2022-10-31 14:09:15 +0000 |
commit | 12caf46cf4fc92b1c3884cb363ace2e12732fd2f (patch) | |
tree | 2e5b47829e81dad54a4572a9c70bc153b536e280 /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | |
parent | d372ec94a018c3a19dad71e2ee3478126394d9fc (diff) | |
download | linux-12caf46cf4fc92b1c3884cb363ace2e12732fd2f.tar.bz2 |
drm/i915/sdvo: Grab mode_config.mutex during LVDS init to avoid WARNs
drm_mode_probed_add() is unhappy about being called w/o
mode_config.mutex. Grab it during LVDS fixed mode setup
to silence the WARNs.
Cc: stable@vger.kernel.org
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/7301
Fixes: aa2b88074a56 ("drm/i915/sdvo: Fix multi function encoder stuff")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221026101134.20865-4-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
(cherry picked from commit a3cd4f447281c56377de2ee109327400eb00668d)
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c')
0 files changed, 0 insertions, 0 deletions