1. 24 Jan, 2019 1 commit
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2019-01-10' of git://anongit.freedesktop.org/drm/drm-intel into drm-next · 8ca4fd04
      Dave Airlie authored
      - Unwind failure on pinning the gen7 PPGTT (Chris)
      - Fastset updates to make sure DRRS and PSR are properly enabled (Hans)
      - Header include clean-up (Brajeswar, Jani)
      - Improvements and clean-up on debugfs (Chris, Jani)
      - Avoid division by zero on CNL clocks setup (Xiao)
      - Restrict PSMI context load w/a to Haswell GT1 (Chris)
      - Remove HW semaphores for gen7 inter-engine sync (Chris)
      - Pull the render flush into breadcrumb emission (Chris)
      - i915_params copy and free helpers and other reorgs and docs (Jani)
      - Remove has_pooled_eu static initializer (Tvrtko)
      - Updates on kerneldoc (Chris)
      - Remove redundant trailing request flush (Chris)
      - ringbuffer irq seqno fixes and clean-up (Chris)
      - splitting off runtime device info and other clean-up around (Jani)
      - Selftests improvements (Chris, Daniele)
      - Flush RING_IMR changes before changing the global GT IMR on gen6 and HSW (Chris)
      - Some improvements and fixes around GPU reset and GPU hang report (Chris)
      - Remove partial attempt to swizzle on pread/pwrite (Chris)
      - Return immediately if trylock fails for direct-reclaim (Chris)
      - Downgrade scare message for unknown HuC firmware (Jani)
      - ACPI / PMIC for MIPI / DSI (Hans)
      - Reduce i915_request_alloc retirement to local context (Chris)
      - Init per-engine WAs for all engines (Daniele)
      - drop DPF code for gen8+ (Daniele)
      - Guard error capture against unpinned vma (Chris)
      - Use mutex_lock_killable from inside the shrinker (Chris)
      - Removing pooling from struct_mutex from vmap shrinker (Chris)
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      # gpg: Signature made Fri 11 Jan 2019 09:58:18 AEST
      # gpg:                using RSA key FA625F640EEB13CA
      # gpg: Good signature from "Rodrigo Vivi <rodrigo.vivi@intel.com>"
      # gpg:                 aka "Rodrigo Vivi <rodrigo.vivi@gmail.com>"
      # gpg: WARNING: This key is not certified with a trusted signature!
      # gpg:          There is no indication that the signature belongs to the owner.
      # Primary key fingerprint: 6D20 7068 EEDD 6509 1C2C  E2A3 FA62 5F64 0EEB 13CA
      
      # Conflicts:
      #	drivers/gpu/drm/i915/intel_dp.c
      #	drivers/gpu/drm/i915/intel_drv.h
      From: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190114183820.GA2855@intel.com
      8ca4fd04
  2. 17 Jan, 2019 2 commits
  3. 16 Jan, 2019 2 commits
    • Sam Ravnborg's avatar
      drm: fix alpha build after drm_util.h change · 94520db5
      Sam Ravnborg authored
      0-DAY reported the following bug:
      
      tree:   git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
      head:   21376e2c
      commit: e9eafcb5 [1/2] drm: move drm_can_sleep() to drm_util.h
      config: alpha-allmodconfig (attached as .config)
      ...
         In file included from include/linux/irqflags.h:16:0,
                          from include/drm/drm_util.h:35,
                          from drivers/gpu/drm/qxl/qxl_cmd.c:28:
      >> arch/alpha/include/asm/irqflags.h:58:15: error: unknown type name 'bool'
          static inline bool arch_irqs_disabled_flags(unsigned long flags)
                        ^~~~
      
      And later following bug:
      tree:   git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
      head:   21376e2c
      commit: e9eafcb5 [1/2] drm: move drm_can_sleep() to drm_util.h
      config: ia64-allyesconfig (attached as .config)
      ...
         In file included from arch/ia64/include/asm/irqflags.h:14,
                          from include/linux/irqflags.h:16,
                          from include/drm/drm_util.h:35,
                          from drivers/gpu/drm/qxl/qxl_cmd.c:28:
         arch/ia64/include/asm/pal.h: In function 'ia64_pal_tr_read':
         arch/ia64/include/asm/pal.h:1703:64: error: implicit declaration of function 'ia64_tpa'; did you mean 'ia64_pal'?  [-Werror=implicit-function-declaration]
           PAL_CALL_PHYS_STK(iprv, PAL_VM_TR_READ, reg_num, tr_type,(u64)ia64_tpa(tr_buffer));
                                                                         ^~~~~~~~
      ...
      
      So we have a situation where we do not pull in <linux/types.h>
      when building for alpha and for ia64 we need even more definitions
      are required.
      
      Two invasive fixes where considered:
      - Change all declarations of arch_irqs_disabled_flags() to use bool
      - Add include of <linux/types.h> to all files that uses bool for
        arch_irqs_disabled_flags
      
      To invasive with a too high pain/benefit ratio, so dropped.
      They would not cover ia64 either.
      
      Some less invasive fixes was also considered:
      - Add include of <linux/types.h> to drm_util.h
      - Add include of <linux/interrupt.h> to drm_util.h
      
      The first was dropped as this did not cover the ia64 case.
      
      The latter was considered the best option as there could
      be other similar cases and we would like the header files below
      include/drm/ to be selfcontained.
      So we end up pulling in a lot of stuff not needed, but this is
      the price we pay in drm/ because the kernel headers are not all
      selfcontained.
      
      While at it, ordred the includefiles in drm_util in alphabetical order.
      
      Build tested with alpha,ia64,arm,x86 with allmodconfig and allyesconfig.
      
      v2:
      - fix ia64 build, changed to include interrupt.h
      - sort include files alphabetically
      
      Fixes: 733748ac37b45 ("drm: move drm_can_sleep() to drm_util.h")
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Cc: Maxime Ripard <maxime.ripard@bootlin.com>
      Cc: Sean Paul <sean@poorly.run>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190115214845.8117-1-sam@ravnborg.org
      94520db5
    • Thierry Reding's avatar
      dt-bindings: panel: Add missing .txt suffix · 993a815d
      Thierry Reding authored
      All other files in that directory have a .txt suffix, so add one for
      consistency.
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      Reviewed-by: default avatarRob Herring <robh@kernel.org>
      Link: https://patchwork.freedesktop.org/patch/msgid/20181203161310.15438-1-thierry.reding@gmail.com
      993a815d
  4. 15 Jan, 2019 8 commits
  5. 14 Jan, 2019 27 commits