drm/i915/execlists: Record elsp offset during engine setup
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 2 Jan 2018 15:12:33 +0000 (15:12 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 3 Jan 2018 11:01:38 +0000 (11:01 +0000)
commit693cfbf0589040536c673d6ed3d262ea3ecf9aea
tree295de96721ef34debf9f5bbe1ade73dc38bb49a7
parent42232213614ddbef854ef368092e39c4e8347877
drm/i915/execlists: Record elsp offset during engine setup

Currently, we record the elsp register offset inside init-hw but we only
need to do it once during engine setup (after we know the mmio
iomapping).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: MichaƂ Winiarski <michal.winiarski@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180102151235.3949-17-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_lrc.c