1. 24 5月, 2012 24 次提交
  2. 23 5月, 2012 3 次提交
  3. 22 5月, 2012 3 次提交
  4. 13 5月, 2012 1 次提交
  5. 03 5月, 2012 1 次提交
  6. 30 4月, 2012 4 次提交
  7. 19 4月, 2012 2 次提交
  8. 04 4月, 2012 1 次提交
  9. 02 4月, 2012 1 次提交
    • B
      nouveau/bios: Fix tracking of BIOS image data · d06221c0
      Benjamin Herrenschmidt 提交于
      The code tries various methods for retreiving the BIOS data. However
      it doesn't clear the bios->data pointer between the iterations.
      
      In some cases, the shadow() method will fail and not update bios->data
      at all, which will cause us to "score" the old data and incorrectly
      attribute that score to the new method. This can cause double frees
      later when disposing of the unused data.
      
      Additionally, we were not freeing the data for methods that fail the
      score test (we only freed when a "best" is superseeded, not when the
      new method has a lower score than the exising "best"). Fix that as well.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Acked-by: NBen Skeggs <bskeggs@redhat.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      d06221c0