aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_dma.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 /drivers/gpu/drm/i915/i915_dma.c
parentdrm/i915: Small display interrupt handlers tidy (diff)
downloadlinux-dev-e1382efb6051f43c317856ef97ec0976a29577b3.tar.xz
linux-dev-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 'drivers/gpu/drm/i915/i915_dma.c')
0 files changed, 0 insertions, 0 deletions