1. 02 11月, 2016 13 次提交
  2. 22 10月, 2016 3 次提交
  3. 17 10月, 2016 1 次提交
  4. 29 8月, 2016 1 次提交
  5. 19 8月, 2016 1 次提交
  6. 12 8月, 2016 2 次提交
  7. 09 8月, 2016 1 次提交
  8. 22 7月, 2016 1 次提交
  9. 18 7月, 2016 1 次提交
  10. 15 7月, 2016 2 次提交
  11. 22 6月, 2016 1 次提交
    • D
      drm: Lobotomize set_busid nonsense for !pci drivers · a3257256
      Daniel Vetter 提交于
      We already have a fallback in place to fill out the unique from
      dev->unique, which is set to something reasonable in drm_dev_alloc.
      
      Which means we only need to have a special set_busid for pci devices,
      to be able to care the backwards compat code for drm 1.1 around, which
      libdrm still needs.
      
      While developing and testing this patch things blew up in really
      interesting ways, and the code is rather confusing in naming things
      between the kernel code, ioctl #defines and libdrm. For the next brave
      dragon slayer, document all this madness properly in the userspace
      interface section of gpu.tmpl.
      
      v2: Make drm_dev_set_unique static and update kerneldoc.
      
      v3: Entire rewrite, plus document what's going on for posterity in the
      gpu docbook uapi section.
      
      v4: Drop accidental amdgpu hunk (Emil).
      
      v5: Drop accidental omapdrm vblank counter change (Emil).
      
      v6: Rebase on top of the sphinx conversion.
      
      Cc: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
      Cc: Emil Velikov <emil.l.velikov@gmail.com>
      Tested-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> (virt_gpu)
      Reviewed-by: NEmil Velikov <emil.l.velikov@gmail.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      a3257256
  12. 21 6月, 2016 1 次提交
  13. 10 6月, 2016 2 次提交
  14. 09 6月, 2016 1 次提交
  15. 07 6月, 2016 3 次提交
    • J
      drm/omapdrm: Implement gamma_lut atomic crtc properties · 492a426a
      Jyri Sarha 提交于
      Implement gamma_lut atomic crtc properties, set crtc gamma size to 256
      for all crtcs and use drm_atomic_helper_legacy_gamma_set() as
      gamma_set func. The tv-out crtc has 1024 element gamma table (with
      10bit precision) in HW, but current Xorg server does not accept
      anything else but 256 elements so that is used for all CRTCs. The dss
      dispc API converts table of any length for HW and uses linear
      interpolation in the process. The default gamma table is restored
      if gamma_lut property is deleted.
      Signed-off-by: NJyri Sarha <jsarha@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      492a426a
    • J
      drm/omapdrm: Workaround for errata i734 (LCD1 Gamma) in DSS dispc · fbff010b
      Jyri Sarha 提交于
      Workaround for errata i734 in DSS dispc
       - LCD1 Gamma Correction Is Not Working When GFX Pipe Is Disabled
      
      For gamma tables to work on LCD1 the GFX plane has to be used at least
      once after DSS HW has come out of reset. The workaround sets up a
      minimal LCD setup with GFX plane and waits for one vertical sync irq
      before disabling the setup and continuing with the context
      restore. The physical outputs are gated during the operation.
      
      For details see:
      OMAP543x Multimedia Device Silicon Revision 2.0 Silicon Errata
      Literature Number: SWPZ037E
      Or some other relevant errata document for the DSS IP version.
      Signed-off-by: NJyri Sarha <jsarha@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      fbff010b
    • J
      drm/omapdrm: Add gamma table support to DSS dispc · acc3a231
      Jyri Sarha 提交于
      Add gamma table support to DSS dispc.
      
      DSS driver initializes the default gamma table at component bind time
      and holds a copy of all gamma tables in its internal data structure.
      
      Each call to dispc_mgr_set_gamma() updates the internal table and
      triggers write to the HW, if it is enabled. The tables are restored to
      HW in PM resume callback. The drivers internal data structure match
      the HW tables in size and in number of significant bits per color
      component. The dispc_mgr_set_gamma() converts the size of any given
      table for the internal data structure using linear interpolation.
      Default gamma table is restored if NULL is given in place of gamma
      lut.
      
      dispc_mgr_gamma_size() gives HW gamma table size for the channel and
      returns 0 if gamma table is not supported by the HW or the DSS driver.
      Signed-off-by: NJyri Sarha <jsarha@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      acc3a231
  16. 06 6月, 2016 6 次提交