1. 20 1月, 2021 9 次提交
  2. 18 1月, 2021 1 次提交
  3. 16 1月, 2021 5 次提交
  4. 15 1月, 2021 8 次提交
    • L
      drm/i915: Pass port to intel_panel_bl_funcs.get() · 31b10c1a
      Lyude Paul 提交于
      In the next commit where we split PWM related backlight functions from
      higher-level backlight functions, we'll want to be able to retrieve the
      backlight level for the current display panel from the
      intel_panel_bl_funcs->setup() function using pwm_funcs->get(). Since
      intel_panel_bl_funcs->setup() is called before we've fully read in the
      current hardware state into our atomic state, we can't grab atomic
      modesetting locks safely anyway in intel_panel_bl_funcs->setup(), and some
      PWM backlight functions (vlv_get_backlight() in particular) require knowing
      the currently used pipe we need to be able to discern the current display
      pipe through other means. Luckily, we're already passing the current
      display pipe to intel_panel_bl_funcs->setup() so all we have to do in order
      to achieve this is pass down that parameter to intel_panel_bl_funcs->get().
      
      So, fix this by accepting an additional pipe parameter in
      intel_panel_bl_funcs->get(), and leave figuring out the current display
      pipe up to the caller.
      Signed-off-by: NLyude Paul <lyude@redhat.com>
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210114221709.2261452-2-lyude@redhat.com
      31b10c1a
    • Z
      drm/i915: Try to guess PCH type even without ISA bridge · a1f6bfe1
      Zhenyu Wang 提交于
      Some vmm like hyperv and crosvm don't supply any ISA bridge to their guest,
      when igd passthrough is equipped on these vmm, guest i915 display may
      couldn't work as guest i915 detects PCH_NONE pch type.
      
      When i915 runs as guest, this patch guess pch type through gpu type even
      without ISA bridge.
      
      v2: Fix CI warning
      v3: Add HAS_DISPLAY()= true condition beforce guessing virt pch, then
          refactori.
      v4: Fix CI warning
      Signed-off-by: NZhenyu Wang <zhenyuw@linux.intel.com>
      Co-developed-by: NXiong Zhang <xiong.y.zhang@intel.com>
      Signed-off-by: NXiong Zhang <xiong.y.zhang@intel.com>
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210114005819.4290-1-xiong.y.zhang@intel.com
      a1f6bfe1
    • C
      drm/i915/display: Bitwise or the conversion colour specifier together · 6b20b734
      Chris Wilson 提交于
      drivers/gpu/drm/i915/display/intel_dp.c:6922 intel_dp_update_420() warn: should this be a bitwise op?
      drivers/gpu/drm/i915/display/intel_dp.c:6922 intel_dp_update_420() warn: should this be a bitwise op?
      drivers/gpu/drm/i915/display/intel_dp.c:6923 intel_dp_update_420() warn: should this be a bitwise op?
      
      Inside drm_dp_downstream_rgb_to_ycbcr_conversion(), that parameter
      'color_spc' is used as return port_cap[3] & color_spc, implying that it
      is indeed a mask and not a boolean value.
      
      Fixes: 522508b6 ("drm/i915/display: Let PCON convert from RGB to YCbCr if it can")
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: Uma Shankar <uma.shankar@intel.com>
      Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
      Cc: Jani Nikula <jani.nikula@intel.com>
      Reviewed-by: NJani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20201223103917.14687-1-chris@chris-wilson.co.uk
      6b20b734
    • D
      Merge tag 'drm-intel-gt-next-2021-01-14' of... · fb5cfcaa
      Dave Airlie 提交于
      Merge tag 'drm-intel-gt-next-2021-01-14' of git://anongit.freedesktop.org/drm/drm-intel into drm-next
      
      UAPI Changes:
      - Deprecate I915_PMU_LAST and optimize state tracking (Tvrtko)
      
        Avoid relying on last item ABI marker in i915_drm.h, add a
        comment to mark as deprecated.
      
      Cross-subsystem Changes:
      
      Core Changes:
      
      Driver Changes:
      
      - Restore clear residuals security mitigations for Ivybridge and
        Baytrail (Chris)
      - Close #1858: Allow sysadmin to choose applied GPU security mitigations
        through i915.mitigations=... similar to CPU (Chris)
      - Fix for #2024: GPU hangs on HSW GT1 (Chris)
      - Fix for #2707: Driver hang when editing UVs in Blender (Chris, Ville)
      - Fix for #2797: False positive GuC loading error message (Chris)
      - Fix for #2859: Missing GuC firmware for older Cometlakes (Chris)
      - Lessen probability of GPU hang due to DMAR faults [reason 7,
        next page table ptr is invalid] on Tigerlake (Chris)
      - Fix REVID macros for TGL to fetch correct stepping (Aditya)
      - Limit frequency drop to RPe on parking (Chris, Edward)
      - Limit W/A 1406941453 to TGL, RKL and DG1 (Swathi)
      - Make W/A 22010271021 permanent on DG1 (Lucas)
      - Implement W/A 16011163337 to prevent a HS/DS hang on DG1 (Swathi)
      - Only disable preemption on gen8 render engines (Chris)
      - Disable arbitration around Braswell's PDP updates (Chris)
      - Disable arbitration on no-preempt requests (Chris)
      - Check for arbitration after writing start seqno before busywaiting (Chris)
      - Retain default context state across shrinking (Venkata, CQ)
      - Fix mismatch between misplaced vma check and vma insert for 32-bit
        addressing userspaces (Chris, CQ)
      - Propagate error for vmap() failure instead kernel NULL deref (Chris)
      - Propagate error from cancelled submit due to context closure
        immediately (Chris)
      - Fix RCU race on HWSP tracking per request (Chris)
      - Clear CMD parser shadow and GPU reloc batches (Matt A)
      
      - Populate logical context during first pin (Maarten)
      - Optimistically prune dma-resv from the shrinker (Chris)
      - Fix for virtual engine ownership race (Chris)
      - Remove timeslice suppression to restore fairness for virtual engines (Chris)
      - Rearrange IVB/HSW workarounds properly between GT and engine (Chris)
      - Taint the reset mutex with the shrinker (Chris)
      - Replace direct submit with direct call to tasklet (Chris)
      - Multiple corrections to virtual engine dequeue and breadcrumbs code (Chris)
      - Avoid wakeref from potentially hard IRQ context in PMU (Tvrtko)
      - Use raw clock for RC6 time estimation in PMU (Tvrtko)
      - Differentiate OOM failures from invalid map types (Chris)
      - Fix Gen9 to have 64 MOCS entries similar to Gen11 (Chris)
      - Ignore repeated attempts to suspend request flow across reset (Chris)
      - Remove livelock from "do_idle_maps" VT-d W/A (Chris)
      - Cancel the preemption timeout early in case engine reset fails (Chris)
      - Code flow optimization in the scheduling code (Chris)
      - Clear the execlists timers upon reset (Chris)
      - Drain the breadcrumbs just once (Chris, Matt A)
      - Track the overall GT awake/busy time (Chris)
      - Tweak submission tasklet flushing to avoid starvation (Chris)
      - Track timelines created using the HWSP to restore on resume (Chris)
      - Use cmpxchg64 for 32b compatilibity for active tracking (Chris)
      - Prefer recycling an idle GGTT fence to avoid GPU wait (Chris)
      
      - Restructure GT code organization for clearer split between GuC
        and execlists (Chris, Daniele, John, Matt A)
      - Remove GuC code that will remain unused by new interfaces (Matt B)
      - Restructure the CS timestamp clocks code to local to GT (Chris)
      - Fix error return paths in perf code (Zhang)
      - Replace idr_init() by idr_init_base() in perf (Deepak)
      - Fix shmem_pin_map error path (Colin)
      - Drop redundant free_work worker for GEM contexts (Chris, Mika)
      - Increase readability and understandability of intel_workarounds.c (Lucas)
      - Defer enabling the breadcrumb interrupt to after submission (Chris)
      - Deal with buddy alloc block sizes beyond 4G (Venkata, Chris)
      - Encode fence specific waitqueue behaviour into the wait.flags (Chris)
      - Don't cancel the breadcrumb interrupt shadow too early (Chris)
      - Cancel submitted requests upon context reset (Chris)
      - Use correct locks in GuC code (Tvrtko)
      - Prevent use of engine->wa_ctx after error (Chris, Matt R)
      
      - Fix build warning on 32-bit (Arnd)
      - Avoid memory leak if platform would have more than 16 W/A (Tvrtko)
      - Avoid unnecessary #if CONFIG_PM in PMU code (Chris, Tvrtko)
      - Improve debugging output (Chris, Tvrtko, Matt R)
      - Make file local variables static (Jani)
      - Avoid uint*_t types in i915 (Jani)
      - Selftest improvements (Chris, Matt A, Dan)
      - Documentation fixes (Chris, Jose)
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      
      # Conflicts:
      #	drivers/gpu/drm/i915/gt/intel_breadcrumbs.c
      #	drivers/gpu/drm/i915/gt/intel_breadcrumbs_types.h
      #	drivers/gpu/drm/i915/gt/intel_lrc.c
      #	drivers/gpu/drm/i915/gvt/mmio_context.h
      #	drivers/gpu/drm/i915/i915_drv.h
      From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210114152232.GA21588@jlahtine-mobl.ger.corp.intel.com
      fb5cfcaa
    • D
      Merge tag 'drm-intel-next-2021-01-12' of git://anongit.freedesktop.org/drm/drm-intel into drm-next · dfa7c521
      Dave Airlie 提交于
      - PSR fixes and improvements for selective fetch (Jose)
      - GVT build fixed and cleanup (Jani)
      - RKL display fixes (Lee, Matt)
      - DSI fix (Hans)
      - Panel Power and Backlight fixes (Anshuman, Jani)
      - RPM fix (Chris)
      - Fix HTI port checking (Jose)
      - Clean-up in cursor code (Ville)
      - Once again, trying to use fast+narrow link on eDP (Ville)
      - DG1 display fix (Matt)
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      
      From: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210112175151.GA90999@intel.com
      dfa7c521
    • D
      Merge tag 'amd-drm-next-5.12-2021-01-08' of... · 2ce542e5
      Dave Airlie 提交于
      Merge tag 'amd-drm-next-5.12-2021-01-08' of https://gitlab.freedesktop.org/agd5f/linux into drm-next
      
      amd-drm-next-5.12-2021-01-08:
      
      amdgpu:
      - Rework IH ring handling on vega and navi
      - Rework HDP handling for vega and navi
      - swSMU documenation updates
      - Overdrive support for Sienna Cichlid and newer asics
      - swSMU updates for vangogh
      - swSMU updates for renoir
      - Enable FP16 on DCE8-11
      - Misc code cleanups and bug fixes
      
      radeon:
      - Fixes for platforms that can't access PCI resources correctly
      - Misc code cleanups
      
      From: Alex Deucher <alexdeucher@gmail.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210108221811.3868-1-alexander.deucher@amd.comSigned-off-by: NDave Airlie <airlied@redhat.com>
      2ce542e5
    • V
      drm/i915: Drop one more useless master_transcoder assignment · ba8ef8c0
      Ville Syrjälä 提交于
      We dropped the other redundant master_transcoder assignments
      earlier, but this one slipped through. Get rid of it as well.
      The crtc state gets fully reset before readout so there is
      no point in doing this.
      Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20201019214337.19330-1-ville.syrjala@linux.intel.comReviewed-by: NManasi Navare <manasi.d.navare@intel.com>
      ba8ef8c0
    • J
      drm/i915/dg1: Apply WA 1409120013 and 14011059788 · 35f0837e
      José Roberto de Souza 提交于
      DG1 is missing those two WA so instead of copy and paste it to the DG1
      function, here calling the function that implements it.
      
      While at it also renaming tgl_init_clock_gating to
      gen12lp_init_clock_gating as it is also used by DG1, RKL and ADL-S.
      
      Cc: Matt Roper <matthew.d.roper@intel.com>
      Signed-off-by: NJosé Roberto de Souza <jose.souza@intel.com>
      Reviewed-by: NMatt Roper <matthew.d.roper@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210113133759.72055-1-jose.souza@intel.com
      35f0837e
  5. 14 1月, 2021 17 次提交