aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_runtime_pm.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2018-10-29 14:27:20 -0400
committerChris Wilson <chris@chris-wilson.co.uk>2018-10-30 05:10:20 -0400
commitdaf3dc0f9b0044e25ac96d1b9c65dca4df1aa99f (patch)
treefcb1011819af08b72c0b3780711522f75e569aac /drivers/gpu/drm/i915/intel_runtime_pm.c
parent4c8d351d0b4936ae93ed0febb7bf0ee3044e49ba (diff)
drm/i915/gtt: Record the scratch pte
Record the scratch PTE encoding upon creation rather than recomputing the bits everytime. This is important for the next patch where we forgo having a valid scratch page with which we may compute the bits and so require keeping the PTE value instead. v2: Fix up scrub_64K to use scratch_pte as well. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Matthew Auld <matthew.auld@intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20181029182721.29568-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/intel_runtime_pm.c')
0 files changed, 0 insertions, 0 deletions