summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/gvt/mmio_context.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-03-08 13:25:18 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2019-03-08 13:59:50 +0000
commit4dc84b77b07731b7f5de2ce14b5f0526a86f013d (patch)
treedab57196ae00549822468476afab8c77cc68e252 /drivers/gpu/drm/i915/gvt/mmio_context.c
parent39e2f501c1b431bd9291308e1ef02b9a02fffbee (diff)
downloadlinux-4dc84b77b07731b7f5de2ce14b5f0526a86f013d.tar.bz2
drm/i915: Store the intel_context_ops in the intel_engine_cs
If we place a pointer to the engine specific intel_context_ops in the engine itself, we can assign the ops pointer on initialising the context, and then rely on it being set. This simplifies the code in later patches. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190308132522.21573-3-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/mmio_context.c')
0 files changed, 0 insertions, 0 deletions