commit | b4aca0106c466b5a0329318203f65bac2d91b682 | [log] [tgz] |
---|---|---|
author | Ben Widawsky <ben@bwidawsk.net> | Wed Apr 25 20:50:12 2012 -0700 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Thu May 03 11:18:32 2012 +0200 |
tree | c2babdee7cce61eefe1909650f188c0ab7f99db2 | |
parent | c921aba84ae5bf74b5386b4d2e01a5706ae4b878 [diff] |
drm/i915: extract some common olr+wedge code The new wait_rendering ioctl also needs to check for an oustanding lazy request, and we already duplicate that logic at three places. So extract it. While at it, also extract the code to check the gpu wedging state to improve code flow. v2: Don't use seqno as an outparam (Chris) v3 by danvet: Kill stale comment and pimp commit message Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>