summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_i2c.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2016-01-27 16:37:58 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-02-10 10:52:08 +0300
commit9f5ac8ed4013c616bd3b29147808c8b2f057c251 (patch)
treef6728c67af45056a7a0dc10a5b4def2a2efe35a3 /drivers/gpu/drm/i915/intel_i2c.c
parent06e6ff8f10513ae863adeddf21510c99171a6283 (diff)
downloadlinux-9f5ac8ed4013c616bd3b29147808c8b2f057c251.tar.xz
agp/intel-gtt: Don't leak the scratch page
Recently discovered by enabling CONFIG_DMA_API_DEBUG in our CI. By the looks of it broken since forever. v2: Don't forget to set the scratch page back to wb (Chris). Reuse intel_gtt_teardown_scratch_page for that (and fix it up to treat needs_dmar y/n correctly). Cc: Chris Wilson <chris@chris-wilson.co.uk> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93793 Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1453901881-26425-1-git-send-email-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/gpu/drm/i915/intel_i2c.c')
0 files changed, 0 insertions, 0 deletions