1. 26 Jul, 2017 38 commits
  2. 20 Jul, 2017 1 commit
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2017-07-17' of git://anongit.freedesktop.org/git/drm-intel into drm-next · 2d62c799
      Dave Airlie authored
      2nd round of 4.14 features:
      
      - prep for deferred fbdev setup
      - refactor fixed 16.16 computations and skl+ wm code (Mahesh Kumar)
      - more cnl paches (Rodrigo, Imre et al)
      - tighten context cleanup and handling (Chris Wilson)
      - fix interlaced handling on skl+ (Mahesh Kumar)
      - small bits as usual
      
      * tag 'drm-intel-next-2017-07-17' of git://anongit.freedesktop.org/git/drm-intel: (84 commits)
        drm/i915: Update DRIVER_DATE to 20170717
        drm/i915: Protect against deferred fbdev setup
        drm/i915/fbdev: Always forward hotplug events
        drm/i915/skl+: unify cpp value in WM calculation
        drm/i915/skl+: WM calculation don't require height
        drm/i915: Addition wrapper for fixed16.16 operation
        drm/i915: cleanup fixed-point wrappers naming
        drm/i915: Always perform internal fixed16 division in 64 bits
        drm/i915: take-out common clamping code of fixed16 wrappers
        drm/i915/cnl: Add missing type case.
        drm/i915/cnl: Add max allowed Cannonlake DC.
        drm/i915: Make DP-MST connector info work
        drm/i915/cnl: Get DDI clock based on PLLs.
        drm/i915/cnl: Inherit RPS stuff from previous platforms.
        drm/i915/cnl: Gen10 render context size.
        drm/i915/cnl: Don't trust VBT's alternate pin for port D for now.
        drm/i915: Fix the kernel panic when using aliasing ppgtt
        drm/i915/cnl: Cannonlake color init.
        drm/i915/cnl: Add force wake for gen10+.
        x86/gpu: CNL uses the same GMS values as SKL
        ...
      2d62c799
  3. 18 Jul, 2017 1 commit
    • Daniel Vetter's avatar
      drm: Don't complain too much about struct_mutex. · 3379c04c
      Daniel Vetter authored
      For modern drivers the DRM core doesn't use struct_mutex at all, which
      means it's defacto a driver-private lock. But since we still need it
      for legacy drivers we can't initialize it in drivers, which means all
      the different instances share one lockdep key. Despite that they might
      be placed in totally different places in the locking hierarchy.
      
      This results in a lot of bogus lockdep splats when running stuff on
      systems with multiple gpus. Partially remedy the situation by only
      doing might_lock checks on drivers that do use struct_mutex still for
      gem locking.
      
      A more complete solution would be to do the mutex_init in the drm core
      only for legacy drivers, plus add it to each modern driver that still
      needs it, which would also give each its own lockdep key. Trying to do
      that dynamically doesn't work, because lockdep requires it's keys to
      be statically allocated.
      
      v2: {} everywhere (Chris)
      
      Cc: Hans de Goede <hdegoede@redhat.com>
      Cc: Ben Skeggs <bskeggs@redhat.com>
      Cc: Jiri Slaby <jirislaby@gmail.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Ingo Molnar <mingo@redhat.com>
      Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20170715095328.25671-1-daniel.vetter@ffwll.ch
      3379c04c