1. 30 4月, 2016 1 次提交
  2. 12 1月, 2016 3 次提交
    • I
      drm/exynos: fix kernel panic issue at drm releasing · c74d8eb5
      Inki Dae 提交于
      This patch fixes a kernel panic issue which happened
      when drm driver is closed while modetest.
      
      This issue could be reproduced easily by launching modetest
      with page flip repeatedly.
      
      The reason is that invalid drm_file object could be accessed by
      send_vblank_event function when finishing page flip if the drm_file
      object was removed by drm_release and there was a pended page
      flip event which was already committed to hardware.
      
      So this patch makes the pended page flip event to be cancelled by
      preclose callback which is called at front of drm_release function.
      
      Changelog v2:
      - free vblank event objects belonging to the request process,
        increment event space and decrease pending_update when cancelling
        the event
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      Reviewed-by: NDaniel Stone <daniels@collabora.com>
      Acked-by: NDaniel Vetter <daniel@ffwll.ch>
      c74d8eb5
    • I
      drm/exynos: crtc: do not wait for the scanout completion · d619894c
      Inki Dae 提交于
      This patch removes exynos_drm_crtc_complete_scanout function call
      which makes sure for overlay data to be updated to real hardware
      when drm driver is released.
      
      With atomic modeset support, it doesn't need the funtion anymore
      because atomic modeset interface makes sure that.
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      d619894c
    • M
      drm/exynos: crtc: rework atomic_{begin,flush} · d29c2c14
      Marek Szyprowski 提交于
      Some CRTC drivers (like Exynos DRM Mixer) can handle blocking register
      updates only on per-device level, not per-plane level. This patch changes
      exynos_crts atomic_begin/atomic_flush callbacks to handle the entire crtc,
      instead of given planes, so driver can handle both cases on their own.
      Signed-off-by: NMarek Szyprowski <m.szyprowski@samsung.com>
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      d29c2c14
  3. 20 12月, 2015 1 次提交
  4. 15 12月, 2015 1 次提交
  5. 11 12月, 2015 1 次提交
    • V
      drm: Pass 'name' to drm_crtc_init_with_planes() · f9882876
      Ville Syrjälä 提交于
      Done with coccinelle for the most part. However, it thinks '...' is
      part of the semantic patch, so I put an 'int DOTDOTDOT' placeholder
      in its place and got rid of it with sed afterwards.
      
      I didn't convert drm_crtc_init() since passing the varargs through
      would mean either cpp macros or va_list, and I figured we don't
      care about these legacy functions enough to warrant the extra pain.
      
      @@
      identifier dev, crtc, primary, cursor, funcs;
      @@
       int drm_crtc_init_with_planes(struct drm_device *dev,
                                     struct drm_crtc *crtc,
                                     struct drm_plane *primary, struct drm_plane *cursor,
                                     const struct drm_crtc_funcs *funcs
      +                              ,const char *name, int DOTDOTDOT
                                     )
      { ... }
      
      @@
      identifier dev, crtc, primary, cursor, funcs;
      @@
       int drm_crtc_init_with_planes(struct drm_device *dev,
                                     struct drm_crtc *crtc,
                                     struct drm_plane *primary, struct drm_plane *cursor,
                                     const struct drm_crtc_funcs *funcs
      +                              ,const char *name, int DOTDOTDOT
                                     );
      
      @@
      expression E1, E2, E3, E4, E5;
      @@
       drm_crtc_init_with_planes(E1, E2, E3, E4, E5
      +                          ,NULL
                                 )
      
      v2: Split crtc and plane changes apart
          Pass NULL for no-name instead of ""
          Leave drm_crtc_init() alone
      v3: Add ', or NULL...' to @name kernel doc (Jani)
          Annotate the function with __printf() attribute (Jani)
      Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: http://patchwork.freedesktop.org/patch/msgid/1449670771-2751-1-git-send-email-ville.syrjala@linux.intel.com
      f9882876
  6. 03 11月, 2015 1 次提交
  7. 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
  8. 30 9月, 2015 1 次提交
  9. 30 8月, 2015 5 次提交
  10. 16 8月, 2015 5 次提交
  11. 27 7月, 2015 1 次提交
  12. 19 6月, 2015 11 次提交
  13. 19 5月, 2015 1 次提交
  14. 13 4月, 2015 2 次提交
  15. 09 2月, 2015 2 次提交
  16. 25 1月, 2015 3 次提交