1. 06 8月, 2009 1 次提交
  2. 05 8月, 2009 1 次提交
  3. 04 8月, 2009 4 次提交
  4. 29 7月, 2009 10 次提交
  5. 15 7月, 2009 18 次提交
  6. 24 6月, 2009 4 次提交
  7. 19 6月, 2009 2 次提交
    • D
      drm/radeon: fix unused variables warning · fc436d9d
      Dave Airlie 提交于
      just remove i variable left over from previous code.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      fc436d9d
    • J
      drm/radeon: command stream checker for r3xx-r5xx hardware · 068a117c
      Jerome Glisse 提交于
      For security purpose we want to make sure the userspace process doesn't
      access memory beyond buffer it owns. To achieve this we need to check
      states the userspace program. For color buffer and zbuffer we check that
      the clipping register will discard access beyond buffers set as color
      or zbuffer. For vertex buffer we check that no vertex fetch will happen
      beyond buffer end. For texture we check various texture states (number
      of mipmap level, texture size, texture depth, ...) to compute the amount
      of memory the texture fetcher might access.
      
      The command stream checking impact the performances so far quick benchmark
      shows an average of 3% decrease in fps of various applications. It can
      be optimized a bit more by caching result of checking and thus avoid a
      full recheck if no states changed since last check.
      
      Note that this patch is still incomplete on checking side as it doesn't
      check 2d rendering states.
      Signed-off-by: NJerome Glisse <jglisse@redhat.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      068a117c