summaryrefslogtreecommitdiffstats
path: root/include/uapi/drm
diff options
context:
space:
mode:
authorSean Paul2018-01-08 20:55:36 +0100
committerSean Paul2018-01-08 20:57:22 +0100
commit23fdbdd7ed3f18f56773c6cbef5d3f1d68befd69 (patch)
treed27caa497091d6f92790001d18663b5221d20ee0 /include/uapi/drm
parentdrm: Fix link-status kerneldoc line lengths (diff)
downloadkernel-qcow2-linux-23fdbdd7ed3f18f56773c6cbef5d3f1d68befd69.tar.gz
kernel-qcow2-linux-23fdbdd7ed3f18f56773c6cbef5d3f1d68befd69.tar.xz
kernel-qcow2-linux-23fdbdd7ed3f18f56773c6cbef5d3f1d68befd69.zip
drm/i915: Add more control to wait_for routines
This patch adds a little more control to a couple wait_for routines such that we can avoid open-coding read/wait/timeout patterns which: - need the value of the register after the wait_for - run arbitrary operation for the read portion This patch also chooses the correct sleep function (based on timers-howto.txt) for the polling interval the caller specifies. Changes in v2: - Added to the series Changes in v3: - Rebased on drm-intel-next-queued and the new Wmin/max _wait_for - Removed msleep option Changes in v4: - Removed ; for OP in _wait_for (Chris) - Moved reg_value definition above ret (Chris) Changes in v4: - checkpatch whitespace fix Changes in v5: - None Changes in v6: - None Suggested-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Sean Paul <seanpaul@chromium.org> Link: https://patchwork.freedesktop.org/patch/msgid/20180108195545.218615-3-seanpaul@chromium.org
Diffstat (limited to 'include/uapi/drm')
0 files changed, 0 insertions, 0 deletions