summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_overlay.c
diff options
context:
space:
mode:
authorJohn Harrison <John.C.Harrison@Intel.com>2015-05-29 19:43:48 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-06-23 15:02:15 +0300
commit6258fbe23fe04da544261f48112a292bdb068c12 (patch)
tree362209359b95249f820f95677e05018fce285ab1 /drivers/gpu/drm/i915/intel_overlay.c
parentdad540ce02c5bc82569061c9562982e6f052ee42 (diff)
downloadlinux-6258fbe23fe04da544261f48112a292bdb068c12.tar.xz
drm/i915: Update queue_flip() to take a request structure
Updated the display page flip code to do explicit request creation and submission rather than relying on the OLR and just hoping that the request actually gets submitted at some random point. The sequence is now to create a request, queue the work to the ring, assign the known request to the flip queue work item then actually submit the work and post the request. Note that every single flip function used to finish with '__intel_ring_advance(ring);'. However, immediately after they return there is now an add request call which will do the advance anyway. Thus the many duplicate advance calls have been removed. v2: Updated commit message with comment about advance removal. v3: The request can now be allocated by the _sync() code earlier on. Thus the page flip path does not necessarily need to allocate a new request, it may be able to re-use one. For: VIZ-5115 Signed-off-by: John Harrison <John.C.Harrison@Intel.com> Reviewed-by: Tomas Elf <tomas.elf@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_overlay.c')
0 files changed, 0 insertions, 0 deletions