summary refs log tree commit diff
path: root/kernel/kexec_core.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-05-06 15:40:20 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2016-05-09 13:39:17 +0100
commite1382efb6051f43c317856ef97ec0976a29577b3 (patch)
treed80b81705295033b0df13ce375b5291c3978bca2 /kernel/kexec_core.c
parent91d14251bb3bf01d7a6e8abe898dc0f1889ebf22 (diff)
downloadlinux-e1382efb6051f43c317856ef97ec0976a29577b3.tar.gz
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 'kernel/kexec_core.c')
0 files changed, 0 insertions, 0 deletions