Skip to content
Snippets Groups Projects
  1. May 06, 2015
  2. May 05, 2015
  3. Apr 29, 2015
  4. Apr 28, 2015
  5. Apr 15, 2015
  6. Apr 14, 2015
    • Chris Wilson's avatar
      intel: Delay testing for userptr until first use · 32258e4d
      Chris Wilson authored
      
      Running __mmu_notifier_register() is surprisingly expensive, so let's
      not do that unless we have to.
      
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
      32258e4d
    • Chris Wilson's avatar
      mode: Retrieve only the current information for a Connector · 5ed5fa10
      Chris Wilson authored
      
      Add a new API that allows the caller to skip any forced probing, which
      may require slow i2c to a remote display, and only report the currently
      active mode and encoder for a Connector. This is often the information
      of interest and is much, much faster than re-retrieving the link status
      and EDIDs, e.g. if the caller only wishes to count the number of active
      outputs.
      
      v2: Fix error path to avoid double free after a failed GETCONNECTOR
      ioctl.
      
      v3: Daniel strongly disapproved of my disjoint in behaviour between
      GetConnector and GetConnectorCurrent, and considering how best to make a
      drop in replacement for drmmode_output_init() convinced me keeping the
      API as consistent as possible was the right approach.
      
      v4: Avoid probing on the second calls to GETCONNECTOR for unconnected
      outputs.
      
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Cc: Daniel Vetter <daniel.vetter@ffwll.com>
      Cc: Damien Lespiau <damien.lespiau@intel.com>
      Cc: David Herrmann <dh.herrmann@googlemail.com>
      Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      5ed5fa10
  7. Apr 09, 2015
Loading