1. 22 10月, 2016 1 次提交
  2. 18 10月, 2016 2 次提交
  3. 22 9月, 2016 1 次提交
  4. 29 8月, 2016 1 次提交
  5. 09 8月, 2016 1 次提交
  6. 28 7月, 2016 2 次提交
  7. 27 7月, 2016 1 次提交
  8. 18 7月, 2016 2 次提交
  9. 16 6月, 2016 1 次提交
  10. 10 6月, 2016 1 次提交
  11. 03 6月, 2016 4 次提交
    • L
      drm: hdlcd: Add information about the underlying framebuffers in debugfs · f6c68b4b
      Liviu Dudau 提交于
      drm_fb_cma code has a nice helper function to display in the debugfs
      information about the underlying framebuffers used by HDLCD:
      
      $ cat /sys/kernel/debug/dri/0/fb
      fb: 1920x1200@XR24
         0: offset=0 pitch=7680, obj:  0 ( 2) 001011ba 0x00000000fc300000 ffffff800a27c000 9338880
      fb: 1920x1200@XR24
         0: offset=0 pitch=7680, obj:  0 ( 2) 001008ca 0x00000000fba00000 ffffff8009987000 9338880
      fb: 1920x1200@XR24
         0: offset=0 pitch=7680, obj:  0 ( 1) 00100000 0x00000000fb100000 ffffff8008fdc000 9216000
      
      Add the entry in HDLCD's debugfs node.
      Signed-off-by: NLiviu Dudau <Liviu.Dudau@arm.com>
      f6c68b4b
    • L
      drm: hdlcd: Cleanup the atomic plane operations · 96ebb1f3
      Liviu Dudau 提交于
      Harden the plane_check() code to drop attempts at scaling because
      that is not supported. Make hdlcd_plane_atomic_update() set the pitch
      and line length registers that correctly reflect the plane's values.
      And make hdlcd_crtc_mode_set_nofb() a helper function for
      hdlcd_crtc_enable() rather than an exposed hook.
      
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: NLiviu Dudau <Liviu.Dudau@arm.com>
      96ebb1f3
    • D
      drm/hdlcd: Fix up crtc_state->event handling · 38c8c22c
      Daniel Vetter 提交于
      event_list just reimplemented what drm_crtc_arm_vblank_event does. And
      we also need to send out drm events when shutting down a pipe.
      
      With this it's possible to use the new nonblocking commit support in
      the helpers.
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      Acked-by: NLiviu Dudau <Liviu.Dudau@arm.com>
      38c8c22c
    • L
      drm: hdlcd: Revamp runtime power management · a95acec1
      Liviu Dudau 提交于
      Because the HDLCD driver acts as a component master it can end
      up enabling the runtime PM functionality before the encoders
      are initialised. This can cause crashes if the component slave
      never probes (missing module) or if the PM operations kick in
      before the probe finishes.
      
      Move the enabling of the runtime PM after the component master
      has finished collecting the slave components and use the DRM
      atomic helpers to suspend and resume the device.
      Tested-by: NRobin Murphy <Robin.Murphy@arm.com>
      Signed-off-by: NLiviu Dudau <Liviu.Dudau@arm.com>
      a95acec1
  12. 02 6月, 2016 1 次提交
  13. 31 5月, 2016 1 次提交
  14. 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
  15. 02 5月, 2016 1 次提交
  16. 04 4月, 2016 2 次提交
  17. 10 2月, 2016 1 次提交