1. 30 11月, 2016 3 次提交
  2. 02 11月, 2016 1 次提交
  3. 17 10月, 2016 1 次提交
  4. 23 9月, 2016 2 次提交
  5. 07 9月, 2016 3 次提交
  6. 02 9月, 2016 3 次提交
  7. 29 8月, 2016 1 次提交
  8. 09 8月, 2016 8 次提交
    • J
      drm/tilcdc: Get rid of legacy dpms mechanism · 47bfd6c0
      Jyri Sarha 提交于
      Get rid of legacy dpms mechanism. This simplifies the code quite a
      bit. The old start() and stop() functions become tilcdc_crtc_enable()
      and *_disable(). The functions are added with all the necessary
      mechanisms from the old dpms function and they are used directly as
      the crtc helper enable() and disable() callbacks.
      Signed-off-by: NJyri Sarha <jsarha@ti.com>
      47bfd6c0
    • J
      drm/tilcdc: Use drm_atomic_helper_resume/suspend() · 514d1a1f
      Jyri Sarha 提交于
      Use drm_atomic_helper_resume/suspend() and get rid off all the obsolete
      register level context restoring code.
      Signed-off-by: NJyri Sarha <jsarha@ti.com>
      514d1a1f
    • J
      drm/tilcdc: Enable and disable interrupts in crtc start() and stop() · afaf833d
      Jyri Sarha 提交于
      Enable and disable interrupts in crtc start() and stop(). None of the
      interrupts can fire if CRTC is disabled, so it is cleaner - when
      considering suspend/resume code etc. - to enable the interrupts when
      CRTC is turned on and to disable them when CRTC is turned off.
      Signed-off-by: NJyri Sarha <jsarha@ti.com>
      afaf833d
    • J
      drm/tilcdc: Set DRIVER_ATOMIC and use atomic crtc helpers · 305198de
      Jyri Sarha 提交于
      Set DRIVER_ATOMIC and use atomic helpers and rename commit and prepare
      crtc helpers to enable and disable. This makes the final jump to mode
      setting, but there is lot of obsolete code to clean up.
      Signed-off-by: NJyri Sarha <jsarha@ti.com>
      305198de
    • J
      drm/tilcdc: Add drm_mode_config_reset() call to tilcdc_load() · 522a76f8
      Jyri Sarha 提交于
      Add drm_mode_config_reset() call to tilcdc_load(). This is need to
      initialize atomic state variables at load time.
      Signed-off-by: NJyri Sarha <jsarha@ti.com>
      522a76f8
    • J
      drm/tilcdc: Add atomic mode config funcs · edc43303
      Jyri Sarha 提交于
      Add atomic mode config funcs. The atomic_commit implementation is a
      copy-paste from drm_atomic_helper_commit(), leaving out the async
      test. The similar copy-paste implementation appears to be used in many
      other drivers too. The standard drm_atomic_helper_check() is used for
      checking.
      
      The drm_atomic_helper_check() can not be used in drm_mode_config_funcs
      atomic_check() callback because the plane's check implementation may
      update crtc state's ->mode_changed flag. Because of this the
      drm_atomic_helper_check_modeset() has to be called once more after
      drm_atomic_helper_check_planes() (see drm_atomic_helper_check_modeset()
      documentation).
      Signed-off-by: NJyri Sarha <jsarha@ti.com>
      edc43303
    • J
      drm/tilcdc: Fix tilcdc component master unloading · 20a98acb
      Jyri Sarha 提交于
      Fix tilcdc component master unloading. If a subcomponent module
      (tda998x in this case) is unloaded before its master (tilcdc in this
      case), it calls drm_put_dev() and it should not be called again by
      the master when its module is unloaded. However component_master_del()
      must still be called and the check if the drm_put_dev() has been
      called must be in component_master_ops unbind() callback, not in
      platform_driver remove() callback.
      Signed-off-by: NJyri Sarha <jsarha@ti.com>
      20a98acb
    • J
      drm/tilcdc: Restore old dpms state in pm_resume() · 8fe5616b
      Jyri Sarha 提交于
      Restore old dpms state in pm_resume(). The dpms is turned off in
      pm_suspend() and it should be restored to its original state in
      pm_resume(). Without this patch the display is left blanked after a
      suspend/resume cycle.
      
      Fixes commit 614b3cfe ("drm/tilcdc: disable the lcd controller/dma
      engine when suspend invoked")
      Signed-off-by: NJyri Sarha <jsarha@ti.com>
      8fe5616b
  9. 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
  10. 01 6月, 2016 1 次提交
  11. 25 2月, 2016 15 次提交
  12. 08 2月, 2016 1 次提交