]> www.infradead.org Git - users/hch/misc.git/commit
drm/dp_mst: Reset message rx state after OOM in drm_dp_mst_handle_up_req()
authorImre Deak <imre.deak@intel.com>
Tue, 3 Dec 2024 16:02:22 +0000 (18:02 +0200)
committerImre Deak <imre.deak@intel.com>
Thu, 5 Dec 2024 14:19:35 +0000 (16:19 +0200)
commit2b245c97b1af5d8f04c359e0826cb5a5c81ef704
tree503118e65f9b7b39062302012b4c54f9ba1ea4a6
parente54b00086f7473dbda1a7d6fc47720ced157c6a8
drm/dp_mst: Reset message rx state after OOM in drm_dp_mst_handle_up_req()

After an out-of-memory error the reception state should be reset, so
that the next attempt receiving a message doesn't fail (due to getting a
start-of-message packet, while the reception state has already the
start-of-message flag set).

Cc: Lyude Paul <lyude@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241203160223.2926014-7-imre.deak@intel.com
drivers/gpu/drm/display/drm_dp_mst_topology.c