Skip to content

Commit 280bd84

Browse files
committed
Merge tag 'drm-intel-fixes-2023-10-19' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
- Fix display issue that was blocking S0ix (Khaled) - Retry gtt fault when out of fence registers (Ville) Signed-off-by: Dave Airlie <[email protected]> From: Rodrigo Vivi <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/ZTFXbo6M5bWp/[email protected]
2 parents d43c76c + e339c6d commit 280bd84

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/gpu/drm/i915/display/intel_cx0_phy.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2553,8 +2553,7 @@ static void intel_cx0_phy_lane_reset(struct drm_i915_private *i915,
25532553
drm_warn(&i915->drm, "PHY %c failed to bring out of SOC reset after %dus.\n",
25542554
phy_name(phy), XELPDP_PORT_BUF_SOC_READY_TIMEOUT_US);
25552555

2556-
intel_de_rmw(i915, XELPDP_PORT_BUF_CTL2(port),
2557-
XELPDP_LANE_PIPE_RESET(0) | XELPDP_LANE_PIPE_RESET(1),
2556+
intel_de_rmw(i915, XELPDP_PORT_BUF_CTL2(port), lane_pipe_reset,
25582557
lane_pipe_reset);
25592558

25602559
if (__intel_de_wait_for_register(i915, XELPDP_PORT_BUF_CTL2(port),

drivers/gpu/drm/i915/gem/i915_gem_mman.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ static vm_fault_t i915_error_to_vmf_fault(int err)
235235
case 0:
236236
case -EAGAIN:
237237
case -ENOSPC: /* transient failure to evict? */
238+
case -ENOBUFS: /* temporarily out of fences? */
238239
case -ERESTARTSYS:
239240
case -EINTR:
240241
case -EBUSY:

0 commit comments

Comments
 (0)