]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: check that we are in an RPM atomic section in GGTT PTE updaters
authorImre Deak <imre.deak@intel.com>
Tue, 15 Dec 2015 18:10:38 +0000 (20:10 +0200)
committerImre Deak <imre.deak@intel.com>
Thu, 17 Dec 2015 14:37:44 +0000 (16:37 +0200)
commit1e2e985d196d43be5798dcc5f91f1b92e4d2a284
tree07ba717035c84ee33a922f7eb54efd510f16b8a6
parentf27b02de8c57e8c78a5b875a3174c1c8bf0a2473
drm/i915: check that we are in an RPM atomic section in GGTT PTE updaters

The device should be on for the whole duration of the update, so check
for this.

v2:
- use the existing dev_priv directly everywhere (Ville)
v3:
- check also that we are in an RPM atomic section (Chris)
- add the assert to i915_ggtt_insert_entries/clear_range too (Chris)

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1450203038-5150-11-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/i915_gem_gtt.c