1. 28 1月, 2017 1 次提交
  2. 15 12月, 2016 1 次提交
  3. 26 10月, 2016 1 次提交
  4. 19 9月, 2016 1 次提交
  5. 18 7月, 2016 1 次提交
  6. 08 7月, 2016 1 次提交
  7. 17 5月, 2016 1 次提交
  8. 05 5月, 2016 1 次提交
  9. 24 11月, 2015 1 次提交
  10. 10 8月, 2015 1 次提交
  11. 30 9月, 2014 1 次提交
  12. 24 9月, 2014 1 次提交
  13. 27 8月, 2014 1 次提交
  14. 08 7月, 2014 1 次提交
  15. 22 4月, 2014 2 次提交
  16. 16 3月, 2014 2 次提交
    • D
      drm: init TTM dev_mapping in ttm_bo_device_init() · 44d847b7
      David Herrmann 提交于
      With dev->anon_inode we have a global address_space ready for operation
      right from the beginning. Therefore, there is no need to do a delayed
      setup with TTM. Instead, set dev_mapping during initialization in
      ttm_bo_device_init() and remove any "if (dev_mapping)" conditions.
      
      Cc: Dave Airlie <airlied@redhat.com>
      Cc: Ben Skeggs <bskeggs@redhat.com>
      Cc: Maarten Lankhorst <maarten.lankhorst@canonical.com>
      Cc: Alex Deucher <alexdeucher@gmail.com>
      Cc: Thomas Hellstrom <thellstrom@vmware.com>
      Signed-off-by: NDavid Herrmann <dh.herrmann@gmail.com>
      44d847b7
    • D
      drm: use anon-inode instead of relying on cdevs · 6796cb16
      David Herrmann 提交于
      DRM drivers share a common address_space across all character-devices of a
      single DRM device. This allows simple buffer eviction and mapping-control.
      However, DRM core currently waits for the first ->open() on any char-dev
      to mark the underlying inode as backing inode of the device. This delayed
      initialization causes ugly conditions all over the place:
        if (dev->dev_mapping)
          do_sth();
      
      To avoid delayed initialization and to stop reusing the inode of the
      char-dev, we allocate an anonymous inode for each DRM device and reset
      filp->f_mapping to it on ->open().
      Signed-off-by: NDavid Herrmann <dh.herrmann@gmail.com>
      6796cb16
  17. 23 12月, 2013 1 次提交