OSDN Git Service

drm/i915: Check engine->default_state mapping on module load
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 14 Sep 2018 12:35:03 +0000 (13:35 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 14 Sep 2018 13:23:33 +0000 (14:23 +0100)
commit37d7c9cc2eb6620bf1130de1ca28eb1da0b8ede8
tree04288e93adf08b5062951422b10923d80c59fece
parentdee60ca1f35234d890977c095410ed6ac1dcfc33
drm/i915: Check engine->default_state mapping on module load

Check we can indeed acquire a WB mapping of the context image on module
load. Later this will give us the opportunity to validate that we can
switch from WC to WB as required.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180914123504.2062-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c