drm/i915: execlist request keeps ptr/ref to gem_request
authorNick Hoath <nicholas.hoath@intel.com>
Thu, 15 Jan 2015 13:10:36 +0000 (13:10 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Jan 2015 08:50:52 +0000 (09:50 +0100)
commit2d12955a3e539f0938b4b90d1eade852105ba290
tree6a60073d802904453d3faca49fecf63aa884b382
parent16f3f658e5f808235c04f0ac157e9b5c8916d7a3
drm/i915: execlist request keeps ptr/ref to gem_request

Add a reference and pointer from the execlist queue item to the associated
gem request. For execlist requests that don't have a request, create one
as a placeholder.

Issue: VIZ-4274
v1: Rebase after upstream of "Replace seqno values with request structures" patchset.

Signed-off-by: Nick Hoath <nicholas.hoath@intel.com>
Reviewed-by: Thomas Daniel <thomas.daniel@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_lrc.h