1. 04 10月, 2017 1 次提交
    • R
      drm/i915/skl: Fix has_ipc on skl and document WaDisableIPC. · 4d6ef0da
      Rodrigo Vivi 提交于
      According to Spec for SKL+: "Isochronous Priority Control.
      If enabled, Display sends demoted requests once the transition
      watermark is reached. If transition watermark is not enabled,
      Display sends demoted requests when the display buffer is full."
      
      The commit 'e57f1c02 ("drm/i915/gen9+: Add has_ipc flag in
      device info structure")' introduced that as gen9+ but missing many
      SKL Skus.
      
      I believe the reason for that is Spec also mentions workarounds for
      SKL-ALL: "IPC (Isoch Priority Control) may cause underflows
      WA: Do not enable IPC in register ARB_CTL2"
      
      It seems lame to add the feature and forever disable it,
      but it will avoid a mistake of enabling it when we are reorganizing
      the feature definitions on i915_pci.c later.
      
      It will also allow us to probably extend that workaround for
      other platforms.
      
      Cc: Mahesh Kumar <mahesh1.kumar@intel.com>
      Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Reviewed-by: NMahesh Kumar <mahesh1.kumar@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20171003063652.17248-1-rodrigo.vivi@intel.com
      4d6ef0da
  2. 03 10月, 2017 3 次提交
  3. 02 10月, 2017 2 次提交
  4. 29 9月, 2017 10 次提交
  5. 28 9月, 2017 5 次提交
    • J
      Merge drm-upstream/drm-next into drm-intel-next-queued · 32f35b86
      Jani Nikula 提交于
      Need MST sideband message transaction to power up/down nodes.
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      32f35b86
    • T
      drm/i915: Allow optimized platform checks · ae7617f0
      Tvrtko Ursulin 提交于
      If we store the platform as a bitmask, and convert the
      IS_PLATFORM macro to use it, we allow the compiler to
      merge the IS_PLATFORM(a) || IS_PLATFORM(b) || ... checks
      into a single conditional.
      
      As a secondary benefit this saves almost 1k of text:
      
          text           data     bss     dec     hex filename
      -1460254          60014    3656 1523924  1740d4 drivers/gpu/drm/i915/i915.ko
      +1459260          60026    3656 1522942  173cfe drivers/gpu/drm/i915/i915.ko
      
      v2: Removed the infamous -1.
      Signed-off-by: NTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Cc: Jani Nikula <jani.nikula@intel.com>
      Reviewed-by: NChris Wilson <chris@chris-wilson.co.uk>
      Acked-by: NJani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20170927164138.15474-1-tvrtko.ursulin@linux.intel.com
      ae7617f0
    • D
      Merge branch 'drm-next-4.15' of git://people.freedesktop.org/~agd5f/linux into drm-next · 754270c7
      Dave Airlie 提交于
      First feature pull for 4.15.  Highlights:
      - Per VM BO support
      - Lots of powerplay cleanups
      - Powerplay support for CI
      - pasid mgr for kfd
      - interrupt infrastructure for recoverable page faults
      - SR-IOV fixes
      - initial GPU reset for vega10
      - prime mmap support
      - ttm page table debugging improvements
      - lots of bug fixes
      
      * 'drm-next-4.15' of git://people.freedesktop.org/~agd5f/linux: (232 commits)
        drm/amdgpu: clarify license in amdgpu_trace_points.c
        drm/amdgpu: Add gem_prime_mmap support
        drm/amd/powerplay: delete dead code in smumgr
        drm/amd/powerplay: delete SMUM_FIELD_MASK
        drm/amd/powerplay: delete SMUM_WAIT_INDIRECT_FIELD
        drm/amd/powerplay: delete SMUM_READ_FIELD
        drm/amd/powerplay: delete SMUM_SET_FIELD
        drm/amd/powerplay: delete SMUM_READ_VFPF_INDIRECT_FIELD
        drm/amd/powerplay: delete SMUM_WRITE_VFPF_INDIRECT_FIELD
        drm/amd/powerplay: delete SMUM_WRITE_FIELD
        drm/amd/powerplay: delete SMU_WRITE_INDIRECT_FIELD
        drm/amd/powerplay: move macros to hwmgr.h
        drm/amd/powerplay: move PHM_WAIT_VFPF_INDIRECT_FIELD to hwmgr.h
        drm/amd/powerplay: move SMUM_WAIT_VFPF_INDIRECT_FIELD_UNEQUAL to hwmgr.h
        drm/amd/powerplay: move SMUM_WAIT_INDIRECT_FIELD_UNEQUAL to hwmgr.h
        drm/amd/powerplay: add new helper functions in hwmgr.h
        drm/amd/powerplay: use SMU_IND_INDEX/DATA_11 pair
        drm/amd/powerplay: refine powerplay code.
        drm/amd/powerplay: delete dead code in hwmgr.h
        drm/amd/powerplay: refine interface in struct pp_smumgr_func
        ...
      754270c7
    • D
      Merge tag 'drm-intel-next-2017-09-07' of git://anongit.freedesktop.org/git/drm-intel into drm-next · 9afafdbf
      Dave Airlie 提交于
      Getting started with v4.15 features:
      
      - Cannonlake workarounds (Rodrigo, Oscar)
      - Infoframe refactoring and fixes to enable infoframes for DP (Ville)
      - VBT definition updates (Jani)
      - Sparse warning fixes (Ville, Chris)
      - Crtc state usage fixes and cleanups (Ville)
      - DP vswing, pre-emph and buffer translation refactoring and fixes (Rodrigo)
      - Prevent IPS from interfering with CRC capture (Ville, Marta)
      - Enable Mesa to advertise ARB_timer_query (Nanley)
      - Refactor GT number into intel_device_info (Lionel)
      - Avoid eDP DP AUX CH timeouts harder (Manasi)
      - CDCLK check improvements (Ville)
      - Restore GPU clock boost on missed pageflip vblanks (Chris)
      - Fence register reservation API for vGPU (Changbin)
      - First batch of CCS fixes (Ville)
      - Finally, numerous GEM fixes, cleanups and improvements (Chris)
      
      * tag 'drm-intel-next-2017-09-07' of git://anongit.freedesktop.org/git/drm-intel: (100 commits)
        drm/i915: Update DRIVER_DATE to 20170907
        drm/i915/cnl: WaThrottleEUPerfToAvoidTDBackPressure:cnl(pre-prod)
        drm/i915: Lift has-pinned-pages assert to caller of ____i915_gem_object_get_pages
        drm/i915: Display WA #1133 WaFbcSkipSegments:cnl, glk
        drm/i915/cnl: Allow the reg_read ioctl to read the RCS TIMESTAMP register
        drm/i915: Move device_info.has_snoop into the static tables
        drm/i915: Disable MI_STORE_DATA_IMM for i915g/i915gm
        drm/i915: Re-enable GTT following a device reset
        drm/i915/cnp: Wa 1181: Fix Backlight issue
        drm/i915: Annotate user relocs with __user
        drm/i915: Constify load detect mode
        drm/i915/perf: Remove __user from u64 in drm_i915_perf_oa_config
        drm/i915: Silence sparse by using gfp_t
        drm/i915: io unmap functions want __iomem
        drm/i915: Add __rcu to radix tree slot pointer
        drm/i915: Wake up the device for the fbdev setup
        drm/i915: Add interface to reserve fence registers for vGPU
        drm/i915: Use correct path to trace include
        drm/i915: Fix the missing PPAT cache attributes on CNL
        drm/i915: Fix enum pipe vs. enum transcoder for the PCH transcoder
        ...
      9afafdbf
    • D
      Merge tag 'drm-misc-next-2017-09-20' of git://anongit.freedesktop.org/git/drm-misc into drm-next · 29baa82a
      Dave Airlie 提交于
      UAPI Changes:
      
      Cross-subsystem Changes:
      
      Core Changes:
      - DP SDP defines (Ville)
      - polish for scdc helpers (Thierry Reding)
      - fix lifetimes for connector/plane state across crtc changes (Maarten
        Lankhorst).
      - sparse fixes (Ville+Thierry)
      - make legacy kms ioctls all interruptible (Maarten)
      - push edid override into the edid helpers (out of probe helpers)
        (Jani)
      - DP ESI defines for link status (DK)
      
      Driver Changes:
      - drm-panel is now in drm-misc!
      - minor panel-simple cleanups/refactoring by various folks
      - drm_bridge_add cleanup (Inki Dae)
      - constify a few i2c_device_id structs (Arvind Yadav)
      - More patches from Noralf's fb/gem helper cleanup
      - bridge/synopsis: reset fix (Philippe Cornu)
      - fix tracepoint include handling in drivers (Thierry)
      - rockchip: lvds support (Sandy Huang)
      - move sun4i into drm-misc fold (Maxime Ripard)
      - sun4i: refactor driver load + support TCON backend/layer muxing
        (Chen-Yu Tsai)
      - pl111: support more pl11x variants (Linus Walleij)
      - bridge/adv7511: robustify probing/edid handling (Lars-Petersen
        Clausen)
      
      New hw support:
      - S6E63J0X03 panel (Hoegeun Kwon)
      - OTM8009A panel (Philippe CORNU)
      - Seiko 43WVF1G panel (Marco Franchi)
      - tve200 driver (Linus Walleij)
      
      Plus assorted of tiny patches all over, including our first outreachy
      patches from applicants for the winter round!
      
      * tag 'drm-misc-next-2017-09-20' of git://anongit.freedesktop.org/git/drm-misc: (101 commits)
        drm: add backwards compatibility support for drm_kms_helper.edid_firmware
        drm: handle override and firmware EDID at drm_do_get_edid() level
        drm/dp: DPCD register defines for link status within ESI field
        drm/rockchip: Replace dev_* with DRM_DEV_*
        drm/tinydrm: Drop driver registered message
        drm/gem-fb-helper: Use debug message on gem lookup failure
        drm/imx: Use drm_gem_fb_create() and drm_gem_fb_prepare_fb()
        drm/bridge: adv7511: Constify HDMI CODEC platform data
        drm/bridge: adv7511: Enable connector polling when no interrupt is specified
        drm/bridge: adv7511: Remove private copy of the EDID
        drm/bridge: adv7511: Properly update EDID when no EDID was found
        drm/crtc: Convert setcrtc ioctl locking to interruptible.
        drm/atomic: Convert pageflip ioctl locking to interruptible.
        drm/legacy: Convert setplane ioctl locking to interruptible.
        drm/legacy: Convert cursor ioctl locking to interruptible.
        drm/atomic: Convert atomic ioctl locking to interruptible.
        drm/atomic: Prepare drm_modeset_lock infrastructure for interruptible waiting, v2.
        drm/tve200: Clean up panel bridging
        drm/doc: Update todo.rst
        drm/dp/mst: Sideband message transaction to power up/down nodes
        ...
      29baa82a
  6. 27 9月, 2017 19 次提交