diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-05-06 16:40:20 +0200 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-05-09 14:39:17 +0200 |
commit | e1382efb6051f43c317856ef97ec0976a29577b3 (patch) | |
tree | d80b81705295033b0df13ce375b5291c3978bca2 /drivers/pci | |
parent | drm/i915: Small display interrupt handlers tidy (diff) | |
download | linux-e1382efb6051f43c317856ef97ec0976a29577b3.tar.xz linux-e1382efb6051f43c317856ef97ec0976a29577b3.zip |
drm/i915/execlists: Refactor common engine setup
Move all of the constant assignments up front and into a common
function. This is primarily to ensure the backpointers are set as early
as possible for later use during initialisation.
v2: Use a constant struct so that all the similar values are set
together.
v3: Sanitize the engine's IMR to disable any potential interrupt before
we are ready (enabled in init_hw).
v4: Ignore the engine's IMR, to be resolved later
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: Dave Gordon <david.s.gordon@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1462545621-30125-2-git-send-email-chris@chris-wilson.co.uk
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions