1. 14 Nov, 2016 1 commit
  2. 13 Nov, 2016 1 commit
    • Julia Lawall's avatar
      drm/sun4i: constify component_ops structures · dfeb693d
      Julia Lawall authored
      These component_ops structures are only used as the second argument to
      component_add and component_del, which are declared as const, so the
      structures can be declared as const as well.
      
      The semantic patch that makes this change is as follows:
      (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @r disable optional_qualifier@
      identifier i;
      position p;
      @@
      
      static struct component_ops i@p = { ... };
      
      @ok1@
      identifier r.i;
      expression e1;
      position p;
      @@
      
      component_add(e1,&i@p)
      
      @ok2@
      identifier r.i;
      expression e1;
      position p;
      @@
      
      component_del(e1, &i@p)
      
      @bad@
      position p != {r.p,ok1.p,ok2.p};
      identifier r.i;
      struct component_ops e;
      @@
      
      e@i@p
      
      @depends on !bad disable optional_qualifier@
      identifier r.i;
      @@
      
      static
      +const
       struct component_ops i = { ... };
      // </smpl>
      
      The result of the size command before the change is (arm):
      
         text       data         bss     dec      hex filename
         5266        236           8    5510     1586 sun4i_backend.o
         6393        236           8    6637     19ed sun4i_tcon.o
         3700        368           8    4076      fec sun4i_tv.o
         1668        108           0    1776      6f0 sun6i_drc.o
      
      and after the change:
      
         text       data         bss     dec     hex filename
         5274        228           8    5510    1586 sun4i_backend.o
         6401        228           8    6637    19ed sun4i_tcon.o
         3708        360           8    4076     fec sun4i_tv.o
         1676        100           0    1776     6f0 sun6i_drc.o
      Signed-off-by: default avatarJulia Lawall <Julia.Lawall@lip6.fr>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: http://patchwork.freedesktop.org/patch/msgid/1478971198-3659-1-git-send-email-Julia.Lawall@lip6.fr
      dfeb693d
  3. 12 Nov, 2016 1 commit
  4. 11 Nov, 2016 3 commits
  5. 10 Nov, 2016 4 commits
    • Dave Airlie's avatar
      Merge tag 'dw-hdmi-next-2016-09-19' of git://git.pengutronix.de/git/pza/linux into drm-next · 90233ee5
      Dave Airlie authored
      dw-hdmi i2c master controller
      
      - add support for the HDMI I2C master controller, for boards that
        can have their DDC pins connected only to the HDMI TX directly.
      
      * tag 'dw-hdmi-next-2016-09-19' of git://git.pengutronix.de/git/pza/linux:
        drm: bridge/dw_hdmi: add dw hdmi i2c bus adapter support
        drm: dw_hdmi: use of_get_i2c_adapter_by_node interface
      90233ee5
    • Dave Airlie's avatar
      Merge tag 'imx-drm-next-2016-11-10' of git://git.pengutronix.de/git/pza/linux into drm-next · 628d1655
      Dave Airlie authored
      imx-drm plane update cleanup, YUV formats
      
      - request modeset if plane offsets changed, only the plane base
        address can be changed without disabling the plane IDMAC channel.
      - cleanup of plane atomic_update
      - remove unused ipu_cpmem_set_yuv_planar function
      - support YUV 4:4:4, 4:2:2, NV12 and NV16 plane formats
      - not only mask interrupts during irq init, also clear them
      - remove a legacy check from imx-ldb
      - add support to set the CSI downsizing bits
      - silence an obnoxious warning during modeset
      
      * tag 'imx-drm-next-2016-11-10' of git://git.pengutronix.de/git/pza/linux:
        gpu: ipu-di: silence videomode logspam
        gpu: ipu-v3: add ipu_csi_set_downsize
        drm/imx: imx-ldb: remove unnecessary double disable check
        gpu: ipu-v3: initially clear all interrupts
        drm/imx: ipuv3-plane: add support for YUV 4:2:2 and 4:4:4, NV12, and NV16 formats
        gpu: ipu-v3: add YUV 4:4:4 support
        gpu: ipu-cpmem: remove unused ipu_cpmem_set_yuv_planar function
        drm/imx: ipuv3-plane: let drm_plane_state_to_ubo/vbo handle chroma subsampling other than 4:2:0
        drm/imx: ipuv3-plane: merge ipu_plane_atomic_set_base into atomic_update
        drm/imx: ipuv3-plane: request modeset if plane offsets changed
      628d1655
    • Dave Airlie's avatar
      Merge tag 'topic/drm-misc-2016-11-10' of git://anongit.freedesktop.org/drm-intel into drm-next · 3e91168a
      Dave Airlie authored
      - better atomic state debugging from Rob
      - fence prep from gustavo
      - sumits flushed out his backlog of pending dma-buf/fence patches from
        various people
      - drm_mm leak debugging plus trying to appease Kconfig (Chris)
      - a few misc things all over
      
      * tag 'topic/drm-misc-2016-11-10' of git://anongit.freedesktop.org/drm-intel: (35 commits)
        drm: Make DRM_DEBUG_MM depend on STACKTRACE_SUPPORT
        drm/i915: Restrict DRM_DEBUG_MM automatic selection
        drm: Restrict stackdepot usage to builtin drm.ko
        drm/msm: module param to dump state on error irq
        drm/msm/mdp5: add atomic_print_state support
        drm/atomic: add debugfs file to dump out atomic state
        drm/atomic: add new drm_debug bit to dump atomic state
        drm: add helpers to go from plane state to drm_rect
        drm: add helper for printing to log or seq_file
        drm: helper macros to print composite types
        reservation: revert "wait only with non-zero timeout specified (v3)" v2
        drm/ttm: fix ttm_bo_wait
        dma-buf/fence: revert "don't wait when specified timeout is zero" (v2)
        dma-buf/fence: make timeout handling in fence_default_wait consistent (v2)
        drm/amdgpu: add the interface of waiting multiple fences (v4)
        dma-buf: return index of the first signaled fence (v2)
        MAINTAINERS: update Sync File Framework files
        dma-buf/sw_sync: put fence reference from the fence creation
        dma-buf/sw_sync: mark sync_timeline_create() static
        drm: Add stackdepot include for DRM_DEBUG_MM
        ...
      3e91168a
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2016-11-08' of git://anongit.freedesktop.org/git/drm-intel into drm-next · db8feb69
      Dave Airlie authored
      - gpu idling rework for s/r (Imre)
      - vlv mappable scanout fix
      - speed up probing in resume (Lyude)
      - dp audio workarounds for gen9 (Dhinakaran)
      - more conversion to using dev_priv internally (Ville)
      - more gen9+ wm fixes and cleanups (Maarten)
      - shrinker cleanup&fixes (Chris)
      - reorg plane init code (Ville)
      - implement support for multiple timelines (prep work for scheduler)
        from Chris and all
      - untangle dev->struct_mutex locking as prep for multiple timelines
        (Chris)
      - refactor bxt phy code and collect it all in intel_dpio_phy.c (Ander)
      - another gvt with bugfixes all over from Zhenyu
      - piles of lspcon fixes from Imre
      - 90/270 rotation fixes (Ville)
      - guc log buffer support (Akash+Sagar)
      - fbc fixes from Paulo
      - untangle rpm vs. tiling-fences/mmaps (Chris)
      - fix atomic commit to wait on the right fences (Daniel Stone)
      
      * tag 'drm-intel-next-2016-11-08' of git://anongit.freedesktop.org/git/drm-intel: (181 commits)
        drm/i915: Update DRIVER_DATE to 20161108
        drm/i915: Mark CPU cache as dirty when used for rendering
        drm/i915: Add assert for no pending GPU requests during suspend/resume in LR mode
        drm/i915: Make sure engines are idle during GPU idling in LR mode
        drm/i915: Avoid early GPU idling due to race with new request
        drm/i915: Avoid early GPU idling due to already pending idle work
        drm/i915: Limit Valleyview and earlier to only using mappable scanout
        drm/i915: Round tile chunks up for constructing partial VMAs
        drm/i915: Remove the vma from the object list upon close
        drm/i915: Reinit polling before hpd when resuming
        drm/i915: Remove redundant reprobe in i915_drm_resume
        drm/i915/dp: Extend BDW DP audio workaround to GEN9 platforms
        drm/i915/dp: BDW cdclk fix for DP audio
        drm/i915: Fix pages pin counting around swizzle quirk
        drm/i915: Fix test on inputs for vma_compare()
        drm/i915/guc: Cache the client mapping
        drm/i915: Tidy slab cache allocations
        drm/i915: Introduce HAS_64BIT_RELOC
        drm/i915: Show the execlist queue in debugfs/i915_engine_info
        drm/i915: Unify global_list into global_link
        ...
      db8feb69
  6. 09 Nov, 2016 4 commits
  7. 08 Nov, 2016 26 commits