diff options
author | Lyude Paul <lyude@redhat.com> | 2018-11-07 00:30:12 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-21 11:22:14 +0300 |
commit | 355c0d23ff884aa0909ab6ba94bb39c05eb50dd3 (patch) | |
tree | 35ec8c83ad4591ed85f522145cb297a750e275fc /scripts/gdb/linux/utils.py | |
parent | 0400eb06d37c71d9ebaafd65b407214791cc1a3a (diff) | |
download | linux-355c0d23ff884aa0909ab6ba94bb39c05eb50dd3.tar.xz |
drm/i915: Fix possible race in intel_dp_add_mst_connector()
commit 7c4512300cfa5a4dcc8c1c52ae61e3fa4bd11a39 upstream.
This hasn't caused any issues yet that I'm aware of, but as Ville
Syrjälä pointed out - we need to make sure that
intel_connector->mst_port is set before initializing MST connectors,
since in theory we could potentially check intel_connector->mst_port in
i915_hpd_poll_init_work() after registering the connector but before
having written it's value.
Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: stable@vger.kernel.org
Link: https://patchwork.freedesktop.org/patch/msgid/20181106213017.14563-2-lyude@redhat.com
(cherry picked from commit 66a5ab1034be801630816d1fa6cfc30db1a2f0b0)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions