1. 20 Oct, 2017 6 commits
    • Monk Liu's avatar
      drm/amdgpu:fix wb_clear · 63ae07ca
      Monk Liu authored
      Properly shift the index when clearing so we clear
      the right bit
      Signed-off-by: default avatarMonk Liu <Monk.Liu@amd.com>
      Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      63ae07ca
    • Monk Liu's avatar
      drm/amdgpu:fix vf_error_put · 6867e1b5
      Monk Liu authored
      1,it should not work on non-SR-IOV case
      2,the NO_VBIOS error is incorrect, should
      handle it under detect_sriov_bios.
      3,wrap the whole detect_sriov_bios with sriov check
      Signed-off-by: default avatarMonk Liu <Monk.Liu@amd.com>
      Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      6867e1b5
    • Monk Liu's avatar
      drm/amdgpu/sriov:now must reinit psp · ef4c166d
      Monk Liu authored
      otherwise after VF FLR the KIQ cannot work
      Signed-off-by: default avatarMonk Liu <Monk.Liu@amd.com>
      Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      ef4c166d
    • pding's avatar
      drm/amdgpu: merge bios post checking functions · 91fe77eb
      pding authored
      Merge the post checking functions to avoid confusion and take
      virtualization into account in all cases.
      Signed-off-by: default avatarpding <Pixel.Ding@amd.com>
      Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      91fe77eb
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2017-10-12' of git://anongit.freedesktop.org/drm/drm-intel into drm-next · 282dc832
      Dave Airlie authored
      Last batch of drm/i915 features for v4.15:
      
      - transparent huge pages support (Matthew)
      - uapi: I915_PARAM_HAS_SCHEDULER into a capability bitmask (Chris)
      - execlists: preemption (Chris)
      - scheduler: user defined priorities (Chris)
      - execlists optimization (Michał)
      - plenty of display fixes (Imre)
      - has_ipc fix (Rodrigo)
      - platform features definition refactoring (Rodrigo)
      - legacy cursor update fix (Maarten)
      - fix vblank waits for cursor updates (Maarten)
      - reprogram dmc firmware on resume, dmc state fix (Imre)
      - remove use_mmio_flip module parameter (Maarten)
      - wa fixes (Oscar)
      - huc/guc firmware refacoring (Sagar, Michal)
      - push encoder specific code to encoder hooks (Jani)
      - DP MST fixes (Dhinakaran)
      - eDP power sequencing fixes (Manasi)
      - selftest updates (Chris, Matthew)
      - mmu notifier cpu hotplug deadlock fix (Daniel)
      - more VBT parser refactoring (Jani)
      - max pipe refactoring (Mika Kahola)
      - rc6/rps refactoring and separation (Sagar)
      - userptr lockdep fix (Chris)
      - tracepoint fixes and defunct tracepoint removal (Chris)
      - use rcu instead of abusing stop_machine (Daniel)
      - plenty of other fixes all around (Everyone)
      
      * tag 'drm-intel-next-2017-10-12' of git://anongit.freedesktop.org/drm/drm-intel: (145 commits)
        drm/i915: Update DRIVER_DATE to 20171012
        drm/i915: Simplify intel_sanitize_enable_ppgtt
        drm/i915/userptr: Drop struct_mutex before cleanup
        drm/i915/dp: limit sink rates based on rate
        drm/i915/dp: centralize max source rate conditions more
        drm/i915: Allow PCH platforms fall back to BIOS LVDS mode
        drm/i915: Reuse normal state readout for LVDS/DVO fixed mode
        drm/i915: Use rcu instead of stop_machine in set_wedged
        drm/i915: Introduce separate status variable for RC6 and LLC ring frequency setup
        drm/i915: Create generic functions to control RC6, RPS
        drm/i915: Create generic function to setup LLC ring frequency table
        drm/i915: Rename intel_enable_rc6 to intel_rc6_enabled
        drm/i915: Name structure in dev_priv that contains RPS/RC6 state as "gt_pm"
        drm/i915: Move rps.hw_lock to dev_priv and s/hw_lock/pcu_lock
        drm/i915: Name i915_runtime_pm structure in dev_priv as "runtime_pm"
        drm/i915: Separate RPS and RC6 handling for CHV
        drm/i915: Separate RPS and RC6 handling for VLV
        drm/i915: Separate RPS and RC6 handling for BDW
        drm/i915: Remove superfluous IS_BDW checks and non-BDW changes from gen8_enable_rps
        drm/i915: Separate RPS and RC6 handling for gen6+
        ...
      282dc832
    • Dave Airlie's avatar
      Merge branch 'drm-next-4.15' of git://people.freedesktop.org/~agd5f/linux into drm-next · 6585d427
      Dave Airlie authored
      Last set of features for 4.15.  Highlights:
      - Add a bo flag to allow buffers to opt out of implicit sync
      - Add ctx priority setting interface
      - Lots more powerplay cleanups
      - Start to plumb through vram lost infrastructure for gpu reset
      - ttm support for huge pages
      - misc cleanups and bug fixes
      
      * 'drm-next-4.15' of git://people.freedesktop.org/~agd5f/linux: (73 commits)
        drm/amd/powerplay: Place the constant on the right side of the test
        drm/amd/powerplay: Remove useless variable
        drm/amd/powerplay: Don't cast kzalloc() return value
        drm/amdgpu: allow GTT overcommit during bind
        drm/amdgpu: linear validate first then bind to GART
        drm/amd/pp: Fix overflow when setup decf/pix/disp dpm table.
        drm/amd/pp: thermal control not enabled on vega10.
        drm/amdgpu: busywait KIQ register accessing (v4)
        drm/amdgpu: report more amdgpu_fence_info
        drm/amdgpu:don't check soft_reset for sriov
        drm/amdgpu:fix duplicated setting job's vram_lost
        drm/amdgpu:reduce wb to 512 slot
        drm/amdgpu: fix regresstion on SR-IOV gpu reset failed
        drm/amd/powerplay: Tidy up cz_dpm_powerup_vce()
        drm/amd/powerplay: Tidy up cz_dpm_powerdown_vce()
        drm/amd/powerplay: Tidy up cz_dpm_update_vce_dpm()
        drm/amd/powerplay: Tidy up cz_dpm_update_uvd_dpm()
        drm/amd/powerplay: Tidy up cz_dpm_powerup_uvd()
        drm/amd/powerplay: Tidy up cz_dpm_powerdown_uvd()
        drm/amd/powerplay: Tidy up cz_start_dpm()
        ...
      6585d427
  2. 19 Oct, 2017 34 commits