1. 21 6月, 2016 1 次提交
  2. 10 6月, 2016 4 次提交
  3. 01 6月, 2016 2 次提交
  4. 21 5月, 2016 1 次提交
    • D
      drm: Nuke ->vblank_disable_allowed · fcee5906
      Daniel Vetter 提交于
      This was added in
      
      commit 0a3e67a4
      Author: Jesse Barnes <jbarnes@virtuousgeek.org>
      Date:   Tue Sep 30 12:14:26 2008 -0700
      
          drm: Rework vblank-wait handling to allow interrupt reduction.
      
      to stay backwards-compatible with old UMS code that didn't even tell
      the kernel when it did a modeset, so that the kernel could
      save/restore vblank counters. At worst this means vblanks will be
      somewhat funky on a setup that very likely no one still runs.
      
      So let's just nuke it.
      
      Plan B would be to set it unconditionally in drm_vblank_init for kms
      drivers, instead of in each driver separately. So if this patch breaks
      anything please only restore the hunks in drmP.h and drm_irq.c, plus
      add a check for DRIVER_MODESET in drm_vblank_init.
      
      Stumbled over this in a discussion on irc with Chris.
      
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: Liviu Dudau <liviu.dudau@arm.com>
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Cc: Thierry Reding <thierry.reding@gmail.com>
      Cc: Eric Anholt <eric@anholt.net>
      Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
      Cc: Inki Dae <inki.dae@samsung.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: Mark Yao <mark.yao@rock-chips.com>
      Cc: Sascha Hauer <s.hauer@pengutronix.de>
      Cc: Philipp Zabel <p.zabel@pengutronix.de>
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      Reviewed-by: NAlex Deucher <alexander.deucher@amd.com>
      Acked-by: NLiviu Dudau <Liviu.Dudau@arm.com>
      Acked-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Tested-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      fcee5906
  5. 03 5月, 2016 3 次提交
  6. 28 3月, 2016 1 次提交
    • J
      drm/rockchip: cancel pending vblanks on close · f135046e
      John Keeping 提交于
      When closing the DRM device while a vblank is pending, we access
      file_priv after it has been free'd, which gives:
      
        Unable to handle kernel NULL pointer dereference at virtual address 00000000
        ...
        PC is at __list_add+0x5c/0xe8
        LR is at send_vblank_event+0x54/0x1f0
        ...
        [<c02952e8>] (__list_add) from [<c031a7b4>] (send_vblank_event+0x54/0x1f0)
        [<c031a760>] (send_vblank_event) from [<c031a9c0>] (drm_send_vblank_event+0x70/0x78)
        [<c031a950>] (drm_send_vblank_event) from [<c031a9f8>] (drm_crtc_send_vblank_event+0x30/0x34)
        [<c031a9c8>] (drm_crtc_send_vblank_event) from [<c0339ad8>] (vop_isr+0x224/0x28c)
        [<c03398b4>] (vop_isr) from [<c0081780>] (handle_irq_event_percpu+0x12c/0x3e4)
      
      This can be triggered somewhat reliably with:
      
      	modetest -M rockchip -v -s ...
      
      Add a preclose hook to the driver so that we can discard any pending
      vblank events when the device is closed.
      Signed-off-by: NJohn Keeping <john@metanate.com>
      f135046e
  7. 01 3月, 2016 1 次提交
  8. 18 1月, 2016 1 次提交
    • M
      drm/rockchip: cleanup unnecessary export symbol · 63087aae
      Mark Yao 提交于
      Now rockchip_drm_vop.c is build into rockchipdrm.ko, so
      no need to export following symbol anymore:
          rockchip_drm_dma_attach_device
          rockchip_drm_dma_detach_device
          rockchip_drm_dma_attach_device
          rockchip_drm_dma_detach_device
          rockchip_register_crtc_funcs
          rockchip_unregister_crtc_funcs
          rockchip_fb_get_gem_obj
      Signed-off-by: NMark Yao <mark.yao@rock-chips.com>
      63087aae
  9. 28 12月, 2015 3 次提交
  10. 15 12月, 2015 2 次提交
  11. 13 11月, 2015 1 次提交
  12. 20 10月, 2015 1 次提交
  13. 07 10月, 2015 1 次提交
  14. 06 10月, 2015 1 次提交
    • T
      drm/irq: Use unsigned int pipe in public API · 88e72717
      Thierry Reding 提交于
      This continues the pattern started in commit cc1ef118 ("drm/irq:
      Make pipe unsigned and name consistent"). This is applied to the public
      APIs and driver callbacks, so pretty much all drivers need to be updated
      to match the new prototypes.
      
      Cc: Christian König <christian.koenig@amd.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Cc: Inki Dae <inki.dae@samsung.com>
      Cc: Jianwei Wang <jianwei.wang.chn@gmail.com>
      Cc: Alison Wang <alison.wang@freescale.com>
      Cc: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
      Cc: Daniel Vetter <daniel.vetter@intel.com>
      Cc: Jani Nikula <jani.nikula@linux.intel.com>
      Cc: Philipp Zabel <p.zabel@pengutronix.de>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Rob Clark <robdclark@gmail.com>
      Cc: Ben Skeggs <bskeggs@redhat.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Mark Yao <mark.yao@rock-chips.com>
      Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org>
      Cc: Vincent Abriou <vincent.abriou@st.com>
      Cc: Thomas Hellstrom <thellstrom@vmware.com>
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      88e72717
  15. 13 7月, 2015 1 次提交
  16. 17 6月, 2015 1 次提交
  17. 08 4月, 2015 1 次提交
  18. 03 4月, 2015 1 次提交
  19. 08 1月, 2015 1 次提交
  20. 02 12月, 2014 1 次提交