summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-06-01 15:21:23 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-06-02 20:51:03 +0200
commit30dfebf34b9930277d83b25ec740510007cc4c6d (patch)
tree5682a4b4ffebb22f8b43267308eb2f354862147c /usr
parent493a708179469e3978e50f59902e9d47b6f3dabd (diff)
downloadblackbird-obmc-linux-30dfebf34b9930277d83b25ec740510007cc4c6d.tar.gz
blackbird-obmc-linux-30dfebf34b9930277d83b25ec740510007cc4c6d.zip
drm/i915: extract object active state flushing code
Both busy_ioctl and the new wait_ioct need to do the same dance (or at least should). Some slight changes: - busy_ioctl now unconditionally checks for olr. Before emitting a require flush would have prevent the olr check and hence required a second call to the busy ioctl to really emit the request. - the timeout wait now also retires request. Not really required for abi-reasons, but makes a notch more sense imo. I've tested this by pimping the i-g-t test some more and also checking the polling behviour of the wait_rendering_timeout ioctl versus what busy_ioctl returns. v2: Too many people complained about unplug, new color is flush_active. v3: Kill the comment about the unplug moniker. v4: s/un-active/inactive/ Reviewed-by: Ben Widawsky <ben@bwidawsk.net> Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud