Re: [PATCH 8/8] drm/i915: Support alias ppgtt in VM if ppgtt is enabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 22, 2014 at 07:17:41PM +0800, Jike Song wrote:
> Thanks for the demo. Currently sanitize_enable_ppgtt() is called by i915_gem_gtt_init(), before
> intel_check_vgpu().
> 
> I'm trying to detect VGPU as early as possible, maybe between intel_detect_pch() and intel_uncore_init(),
> using bare readq/readw instead of I915_READxx.

I am thinking that the right level for check_vgpu is uncore_init. Using
raw mmio is acceptable at that point, and once you know you have a vgpu
you can forgo all the mmio emulation.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux