An error occurred fetching the project authors.
  1. 29 Aug, 2012 1 commit
  2. 20 Aug, 2012 1 commit
  3. 26 Mar, 2012 1 commit
  4. 20 Mar, 2012 1 commit
  5. 13 Feb, 2012 2 commits
    • Jerome Glisse's avatar
      drm/radeon: add support for evergreen/ni tiling informations v11 · 285484e2
      Jerome Glisse authored
      evergreen and northern island gpu needs more informations for 2D tiling
      than previous r6xx/r7xx. Add field to tiling ioctl to allow userspace
      to provide those.
      
      The v8 cs checking change to track color view on r6xx/r7xx doesn't
      affect old userspace as old userspace always emited 0 for this register.
      
      v2 fix r6xx/r7xx 2D tiling computation
      v3 fix r6xx/r7xx height align for untiled surface & add support for
         tile split on evergreen and newer
      v4 improve tiling debugging output
      v5 fix tile split code for evergreen and newer
      v6 set proper tile split for crtc register
      v7 fix tile split limit value
      v8 add COLOR_VIEW checking to r6xx/r7xx checker, add evergreen cs
         checking, update safe reg for r600, evergreen and cayman.
         Evergreen checking need some work around for stencil alignment
         issues
      v9 fix tile split value range, fix compressed texture handling and
         mipmap calculation, allow evergreen check to be silencious in
         front of current broken userspace (depth/stencil alignment issue)
      v10 fix eg 3d texture and compressed texture, fix r600 depth array,
          fix r600 color view computation, add support for evergreen stencil
          split
      v11 more verbose debugging in some case
      Signed-off-by: default avatarJerome Glisse <jglisse@redhat.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      285484e2
    • Marek Olšák's avatar
      drm/radeon/kms: add support for streamout v7 · dd220a00
      Marek Olšák authored
      v2: agd5f: add strmout CS checking, copy_dw register checking
      
      v3: agd5f: don't use cs_check_reg() for copy_dw checking as it
      will incorrectly patch the command stream for certain regs.
      
      v4: agd5f: add warning if safe reg check fails for copy_dw
      
      v5: agd5f: add stricter checking for 6xx/7xx
      
      v6: agd5f: add range checking for copy_dw on eg+,
      add sx_surface_sync to safe reg list for 7xx.
      
      v7: agd5f: add stricter checking for eg+
      Signed-off-by: default avatarMarek Olšák <maraeo@gmail.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      dd220a00
  6. 21 Jun, 2011 1 commit
  7. 02 Jun, 2011 1 commit
  8. 27 Apr, 2011 1 commit
  9. 31 Mar, 2010 3 commits
  10. 11 Feb, 2010 1 commit
    • Jerome Glisse's avatar
      drm/radeon/kms: r600/r700 command stream checker · 961fb597
      Jerome Glisse authored
      This patch add cs checker to r600/r700 hw. Command stream checking
      will rewrite some of the cs value in order to restrict GPU access
      to BO size. This doesn't break old userspace but just enforce safe
      value. It should break any things that was using the r600/r700 cs
      ioctl to do forbidden things (malicious software), though we are
      not aware of such things.
      
      Here is the list of thing we check :
      - enforcing resource size
      - enforcing color buffer slice tile max, will restrict cb access
      - enforcing db buffer slice tile max, will restrict db access
      
      We don't check for shader bigger than the BO in which they are
      supposed to be, such use would lead to GPU lockup and is harmless
      from security POV, as far as we can tell (note that even checking
      for this wouldn't prevent someone to write bogus shader that lead
      to lockup).
      
      This patch has received as much testing as humanly possible with
      old userspace to check that it didn't break such configuration.
      However not all the applications out there were tested, thus it
      might broke some odd, rare applications.
      
      [airlied: fix rules for cs checker for parallel builds]
      Signed-off-by: default avatarJerome Glisse <jglisse@redhat.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      961fb597