aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/gt/intel_engine_pm.c
diff options
context:
space:
mode:
authorWayne Lin <[email protected]>2019-12-03 12:24:23 +0800
committerLyude Paul <[email protected]>2019-12-04 15:31:16 -0500
commite5a6ca27eb72c67533ddfc11c06df84beaa167fa (patch)
tree2e0d5d376c62b236a876a879dcf9bf019a255353 /drivers/gpu/drm/i915/gt/intel_engine_pm.c
parentd9c148cfaf0a99296ad7c92fb8b65952196053ec (diff)
drm/dp_mst: Correct the bug in drm_dp_update_payload_part1()
[Why] If the payload_state is DP_PAYLOAD_DELETE_LOCAL in series, current code doesn't delete the payload at current index and just move the index to next one after shuffling payloads. [How] Drop the i++ increasing part in for loop head and decide whether to increase the index or not according to payload_state of current payload. Changes since v1: * Refine the code to have it easy reading * Amend the commit message to meet the way code is modified now. Signed-off-by: Wayne Lin <[email protected]> Reviewed-by: Lyude Paul <[email protected]> Fixes: 706246c761dd ("drm/dp_mst: Refactor drm_dp_update_payload_part1()") Cc: Daniel Vetter <[email protected]> Cc: Juston Li <[email protected]> Cc: Maarten Lankhorst <[email protected]> Cc: Maxime Ripard <[email protected]> Cc: Sean Paul <[email protected]> Cc: David Airlie <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: [email protected] Cc: <[email protected]> # v5.1+ [Added cc for stable] Signed-off-by: Lyude Paul <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/gt/intel_engine_pm.c')
0 files changed, 0 insertions, 0 deletions