1. 30 Oct, 2015 1 commit
    • Jammy Zhou's avatar
      Fix crash in PCI probe path (v4) · edf72afe
      Jammy Zhou authored
      
      
      The crash is caused by the NULL value returned by AMDGPUPTR(pScrn),
      because the driverPrivate is not allocated yet in PciProbe phase,
      and it is usually done in the PreInit phase.
      
      Use pAMDGPUEnt->fd instead of info->dri2.drm_fd to avoid AMDGPUInfoPtr
      related code in amdgpu_open_drm_master, so that the crash can be fixed.
      
      v4: (md) Remove unused parameter entity_num, split out logically
          separate changes
      v3: some more cleanup
      v2: switch to pAMDGPUEnt->fd, and update the commit message
      Signed-off-by: Jammy Zhou's avatarJammy Zhou <Jammy.Zhou@amd.com>
      Signed-off-by: Michel Dänzer's avatarMichel Dänzer <michel.daenzer@amd.com>
      Reviewed-by: Alex Deucher <alexander.deucher@amd.com> (v3)
      edf72afe
  2. 28 Oct, 2015 1 commit
    • Michel Dänzer's avatar
      Remove dead code from probe paths · cef72512
      Michel Dänzer authored
      
      
      amdgpu_get_scrninfo allocates the memory pointed to by pAMDGPUEnt just
      before it calls amdgpu_open_drm_master, so pAMDGPUEnt->fd is always 0
      in the latter.
      
      Also, no need to clear pAMDGPUEnt->fd just before freeing the memory
      it's stored in.
      Reviewed-by: Jammy Zhou's avatarJammy Zhou <Jammy.Zhou@amd.com>
      cef72512
  3. 23 Oct, 2015 1 commit
  4. 21 Oct, 2015 2 commits
  5. 15 Oct, 2015 2 commits
  6. 14 Oct, 2015 2 commits
  7. 07 Oct, 2015 3 commits
  8. 06 Oct, 2015 8 commits
  9. 05 Oct, 2015 10 commits
  10. 11 Sep, 2015 2 commits
  11. 10 Sep, 2015 1 commit
  12. 14 Aug, 2015 1 commit
  13. 11 Aug, 2015 4 commits
  14. 07 Aug, 2015 2 commits