OSDN Git Service

drm/probe-helper: Check epoch counter in output_poll_execute()
authorNoralf Trønnes <noralf@tronnes.org>
Sat, 13 Mar 2021 11:25:44 +0000 (12:25 +0100)
committerNoralf Trønnes <noralf@tronnes.org>
Tue, 16 Mar 2021 11:45:52 +0000 (12:45 +0100)
commitdc659a4e852b591771fc2e5abb60f4455b0cf316
treebc23d70b4d369aaac68c081a413d359a9d1308fd
parent757e26712337be6be70f7405c38cc0639957eedc
drm/probe-helper: Check epoch counter in output_poll_execute()

drm_helper_hpd_irq_event() checks the epoch counter to determine
connector status change. This was introduced in
commit 5186421cbfe2 ("drm: Introduce epoch counter to drm_connector").
Do the same for output_poll_execute() so it can detect other changes
beside connection status value changes.

v2:
- Add Fixes tag (Daniel)

Fixes: 5186421cbfe2 ("drm: Introduce epoch counter to drm_connector")
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210313112545.37527-3-noralf@tronnes.org
drivers/gpu/drm/drm_probe_helper.c