1. 15 5月, 2014 4 次提交
  2. 14 5月, 2014 8 次提交
  3. 13 5月, 2014 24 次提交
  4. 08 5月, 2014 2 次提交
  5. 07 5月, 2014 2 次提交
    • B
      drm/i915: Make aliasing a 2nd class VM · 6e7186af
      Ben Widawsky 提交于
      There is a good debate to be had about how best to fit the aliasing
      PPGTT into the code. However, as it stands right now, getting aliasing
      PPGTT bindings is a hack, and done through implicit arguments. To make
      this absolutely clear, WARN and return an error if a driver writer tries
      to do something they shouldn't.
      
      I have no issue with an eventual revert of this patch. It makes sense
      for what we have today.
      Signed-off-by: NBen Widawsky <ben@bwidawsk.net>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      6e7186af
    • B
      drm/i915: Use topdown allocation for PPGTT PDEs on gen6/7 · 3e8b5ae9
      Ben Widawsky 提交于
      It was always the intention to do the topdown allocation for context
      objects (Chris' idea originally). Unfortunately, I never managed to land
      the patch, but someone else did, so now we can use it.
      
      As a reminder, hardware contexts never need to be in the precious GTT
      aperture space - which is what is what happens with the normal bottom up
      allocation we do today. Doing a top down allocation increases the odds
      that the HW contexts can get out of the way, especially with per FD
      contexts as is done in full PPGTT
      Signed-off-by: NBen Widawsky <ben@bwidawsk.net>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      3e8b5ae9