1. 30 3月, 2018 4 次提交
    • X
      drm/i915/gvt: Disable primary/sprite/cursor plane at virtual display initialization · 65eff272
      Xiong Zhang 提交于
      Much error exist in host dmesg during guest boot up with loca display
      enabled.
      gvt: vgpu 1: invalid range gmadr 0x0 size 0x0
      
      This error happens when qemu get dmabuf info in case that the virtual
      display plane is enabled but its base address is an invalid 0, such
      case may be true before guest enable its plane. At this moment, its
      state is copied from host where the plane may be enabled.
      
      This patch disable primary/sprite/cursor plane at virtual display
      initialization, so intel_vgpu_decode_primary/cursor/sprite could
      return early as plane is disabled, then plane base check is skipped and
      error message disapper.
      Signed-off-by: NXiong Zhang <xiong.y.zhang@intel.com>
      Signed-off-by: NZhenyu Wang <zhenyuw@linux.intel.com>
      65eff272
    • X
      drm/i915/gvt: Delete redundant error message in fb_decode.c · a733390f
      Xiong Zhang 提交于
      Much error message exist in host dmesg when guest boot up with local
      display enabled.
      [  167.680011] gvt: vgpu 1: invalid range gmadr 0x0 size 0x0
      [  167.680013] gvt: vgpu 1: invalid gma address: 0
      
      The second error line duplicate with the first error line, so this
      patch remove this redundant error message and make the next error
      message much clearer.
      Signed-off-by: NXiong Zhang <xiong.y.zhang@intel.com>
      Signed-off-by: NZhenyu Wang <zhenyuw@linux.intel.com>
      a733390f
    • C
      drm/i915/gvt: Cancel dma map when resetting ggtt entries · f4c43db3
      Changbin Du 提交于
      Ditto, don't forget ggtt entries during reset.
      Signed-off-by: NChangbin Du <changbin.du@intel.com>
      Signed-off-by: NZhenyu Wang <zhenyuw@linux.intel.com>
      f4c43db3
    • C
      drm/i915/gvt: Missed to cancel dma map for ggtt entries · 7598e870
      Changbin Du 提交于
      We have canceled dma map for ppgtt entries. Also we need to do it for
      ggtt entries when them are invalidated.
      
      This can fix task hung issue as:
      [13517.791767] INFO: task gvt_service_thr:1081 blocked for more than 120 seconds.
      [13517.792584] Not tainted 4.14.15+ #3
      [13517.793417] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
      [13517.794267] gvt_service_thr D 0 1081 2 0x80000000
      [13517.795132] Call Trace:
      [13517.795996] ? __schedule+0x493/0x77b
      [13517.796859] schedule+0x79/0x82
      [13517.797740] schedule_preempt_disabled+0x5/0x6
      [13517.798614] __mutex_lock.isra.0+0x2b5/0x445
      [13517.799504] ? __switch_to_asm+0x24/0x60
      [13517.800381] ? intel_gvt_cleanup+0x10/0x10
      [13517.801261] ? intel_gvt_schedule+0x19/0x2b9
      [13517.802107] intel_gvt_schedule+0x19/0x2b9
      [13517.802954] ? intel_gvt_cleanup+0x10/0x10
      [13517.803824] gvt_service_thread+0xe3/0x10d
      [13517.804704] ? wait_woken+0x68/0x68
      [13517.805588] kthread+0x118/0x120
      [13517.806478] ? kthread_create_on_node+0x3a/0x3a
      [13517.807381] ? call_usermodehelper_exec_async+0x113/0x11a
      [13517.808307] ret_from_fork+0x35/0x40
      
      v3: split out ggtt reset case.
      v2: also unmap ggtt during reset.
      Signed-off-by: NChangbin Du <changbin.du@intel.com>
      Signed-off-by: NZhenyu Wang <zhenyuw@linux.intel.com>
      7598e870
  2. 28 3月, 2018 2 次提交
  3. 22 3月, 2018 1 次提交
  4. 19 3月, 2018 6 次提交
  5. 16 3月, 2018 4 次提交
  6. 14 3月, 2018 4 次提交
    • D
      Merge tag 'drm-intel-next-2018-03-08' of git://anongit.freedesktop.org/drm/drm-intel into drm-next · 963976cf
      Dave Airlie 提交于
      UAPI Changes:
      
      - Query uAPI interface (used for GPU topology information currently)
      	* Mesa: https://patchwork.freedesktop.org/series/38795/
      
      Driver Changes:
      
      - Increase PSR2 size for CNL (DK)
      - Avoid retraining LSPCON link unnecessarily (Ville)
      - Decrease request signaling latency (Chris)
      - GuC error capture fix (Daniele)
      
      * tag 'drm-intel-next-2018-03-08' of git://anongit.freedesktop.org/drm/drm-intel: (127 commits)
        drm/i915: Update DRIVER_DATE to 20180308
        drm/i915: add schedule out notification of preempted but completed request
        drm/i915: expose rcs topology through query uAPI
        drm/i915: add query uAPI
        drm/i915: add rcs topology to error state
        drm/i915/debugfs: add rcs topology entry
        drm/i915/debugfs: reuse max slice/subslices already stored in sseu
        drm/i915: store all subslice masks
        drm/i915/guc: work around gcc-4.4.4 union initializer issue
        drm/i915/cnl: Add Wa_2201832410
        drm/i915/icl: Gen11 forcewake support
        drm/i915/icl: Add Indirect Context Offset for Gen11
        drm/i915/icl: Enhanced execution list support
        drm/i915/icl: new context descriptor support
        drm/i915/icl: Correctly initialize the Gen11 engines
        drm/i915: Assert that the request is indeed complete when signaled from irq
        drm/i915: Handle changing enable_fbc parameter at runtime better.
        drm/i915: Track whether the DP link is trained or not
        drm/i915: Nuke intel_dp->channel_eq_status
        drm/i915: Move SST DP link retraining into the ->post_hotplug() hook
        ...
      963976cf
    • D
      Merge tag 'drm-amdkfd-next-2018-03-11' of git://people.freedesktop.org/~gabbayo/linux into drm-next · 6fa7324a
      Dave Airlie 提交于
      Major points for this pull request:
      - Add dGPU support for amdkfd initialization code and queue handling. It's
        not complete support since the GPUVM part is missing (the under debate stuff).
      - Enable PCIe atomics for dGPU if present
      - Various adjustments to the amdgpu<-->amdkfd interface for dGPUs
      - Refactor IOMMUv2 code to allow loading amdkfd without IOMMUv2 in the system
      - Add HSA process eviction code in case of system memory pressure
      - Various fixes and small changes
      
      * tag 'drm-amdkfd-next-2018-03-11' of git://people.freedesktop.org/~gabbayo/linux: (24 commits)
        uapi: Fix type used in ioctl parameter structures
        drm/amdkfd: Implement KFD process eviction/restore
        drm/amdkfd: Add GPUVM virtual address space to PDD
        drm/amdkfd: Remove unaligned memory access
        drm/amdkfd: Centralize IOMMUv2 code and make it conditional
        drm/amdgpu: Add submit IB function for KFD
        drm/amdgpu: Add GPUVM memory management functions for KFD
        drm/amdgpu: add amdgpu_sync_clone
        drm/amdgpu: Update kgd2kfd_shared_resources for dGPU support
        drm/amdgpu: Add KFD eviction fence
        drm/amdgpu: Remove unused kfd2kgd interface
        drm/amdgpu: Fix wrong mask in get_atc_vmid_pasid_mapping_pasid
        drm/amdgpu: Fix header file dependencies
        drm/amdgpu: Replace kgd_mem with amdgpu_bo for kernel pinned gtt mem
        drm/amdgpu: remove useless BUG_ONs
        drm/amdgpu: Enable KFD initialization on dGPUs
        drm/amdkfd: Add dGPU device IDs and device info
        drm/amdkfd: Add dGPU support to kernel_queue_init
        drm/amdkfd: Add dGPU support to the MQD manager
        drm/amdkfd: Add dGPU support to the device queue manager
        ...
      6fa7324a
    • D
      Merge tag 'drm-misc-next-2018-03-09-3' of git://anongit.freedesktop.org/drm/drm-misc into drm-next · 0b8eeac5
      Dave Airlie 提交于
      drm-misc-next for 4.17:
      
      UAPI Changes:
       plane: Add color encoding/range properties (Jyri)
       nouveau: Replace iturbt_709 property with color_encoding property (Ville)
      
      Core Changes:
       atomic: Move plane clipping into plane check helper (Ville)
       property: Multiple new property checks/verification (Ville)
      
      Driver Changes:
       rockchip: Fixes & improvements for rk3399/chromebook plus (various)
       sun4i: Add H3/H5 HDMI support (Jernej)
       i915: Add support for limited/full-range ycbcr toggling (Ville)
       pl111: Add bandwidth checking/limiting (Linus)
      
      Cc: Jernej Skrabec <jernej.skrabec@siol.net>
      Cc: Jyri Sarha <jsarha@ti.com>
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      
      * tag 'drm-misc-next-2018-03-09-3' of git://anongit.freedesktop.org/drm/drm-misc: (85 commits)
        drm/rockchip: Don't use atomic constructs for psr
        drm/rockchip: analogix_dp: set psr activate/deactivate when enable/disable bridge
        drm/rockchip: dw_hdmi: Move HDMI vpll clock enable to bind()
        drm/rockchip: inno_hdmi: reorder clk_disable_unprepare call in unbind
        drm/rockchip: inno_hdmi: Fix error handling path.
        drm/rockchip: dw-mipi-dsi: Fix connector and encoder cleanup.
        drm/nouveau: Replace the iturbt_709 prop with the standard COLOR_ENCODING prop
        drm/pl111: Use max memory bandwidth for resolution
        drm/bridge: sii902x: Retry status read after DDI I2C
        drm/pl111: Handle the RealView variant separately
        drm/pl111: Make the default BPP a per-variant variable
        drm: simple_kms_helper: Fix .mode_valid() documentation
        bridge: Elaborate a bit on dumb VGA bridges in Kconfig
        drm/atomic: Add new reverse iterator over all plane state (V2)
        drm: Reject bad property flag combinations
        drm: Make property flags u32
        drm/uapi: Deprecate DRM_MODE_PROP_PENDING
        drm: WARN when trying to add enum value > 63 to a bitmask property
        drm: WARN when trying add enum values to non-enum/bitmask properties
        drm: Reject replacing property enum values
        ...
      0b8eeac5
    • D
      drm/amd/pp: fix missing CONFIG_ACPI. · 62ccb653
      Dave Airlie 提交于
      This was stopping me building on ARM after last pull.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      62ccb653
  7. 09 3月, 2018 9 次提交
  8. 08 3月, 2018 10 次提交