Fix the printf for PAE kernels where it'd be long long to unbreak
the build.
This commit is contained in:
parent
61fc4ac3aa
commit
a3f2eca5d7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=296862
@ -565,9 +565,10 @@ void i915_gem_init_global_gtt(struct drm_device *dev,
|
|||||||
i915_ggtt_clear_range(dev, start / PAGE_SIZE, (end-start) / PAGE_SIZE);
|
i915_ggtt_clear_range(dev, start / PAGE_SIZE, (end-start) / PAGE_SIZE);
|
||||||
|
|
||||||
device_printf(dev->dev,
|
device_printf(dev->dev,
|
||||||
"taking over the fictitious range 0x%lx-0x%lx\n",
|
"taking over the fictitious range 0x%jx-0x%jx\n",
|
||||||
dev_priv->mm.gtt_base_addr + start,
|
(uintmax_t)(dev_priv->mm.gtt_base_addr + start),
|
||||||
dev_priv->mm.gtt_base_addr + start + dev_priv->mm.mappable_gtt_total);
|
(uintmax_t)(dev_priv->mm.gtt_base_addr + start +
|
||||||
|
dev_priv->mm.mappable_gtt_total));
|
||||||
vm_phys_fictitious_reg_range(dev_priv->mm.gtt_base_addr + start,
|
vm_phys_fictitious_reg_range(dev_priv->mm.gtt_base_addr + start,
|
||||||
dev_priv->mm.gtt_base_addr + start + dev_priv->mm.mappable_gtt_total,
|
dev_priv->mm.gtt_base_addr + start + dev_priv->mm.mappable_gtt_total,
|
||||||
VM_MEMATTR_WRITE_COMBINING);
|
VM_MEMATTR_WRITE_COMBINING);
|
||||||
|
Loading…
Reference in New Issue
Block a user