1. 20 3月, 2014 1 次提交
    • B
      drm/i915: Reorganize the overclock code · d060c169
      Ben Widawsky 提交于
      The existing code (which I changed last) was very convoluted. I believe
      it was attempting to skip the overclock portion if the previous pcode
      write failed. When I last touched the code, I was preserving this
      behavior. There is some benefit to doing it that way in that if the
      first pcode access fails, the later is likely invalid.
      
      Having a bit more confidence in my understanding of how things work, I
      now feel it's better to have clear, readable, code than to try to skip
      over this one operation in an unusual case.
      Signed-off-by: NBen Widawsky <ben@bwidawsk.net>
      Reviewed-by: NChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      d060c169
  2. 19 3月, 2014 21 次提交
  3. 18 3月, 2014 13 次提交
  4. 16 3月, 2014 1 次提交
    • 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
  5. 14 3月, 2014 2 次提交
  6. 13 3月, 2014 2 次提交