Skip to content

Commit 911ad0b

Browse files
committed
Merge tag 'drm-intel-fixes-2019-09-11' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
Final drm/i915 fixes for v5.3: - Fox DP MST high color depth regression - Fix GPU hangs on Vulkan compute workloads Signed-off-by: Dave Airlie <[email protected]> From: Jani Nikula <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
2 parents f74c2bb + 2eb0964 commit 911ad0b

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,15 @@ static int intel_dp_mst_compute_config(struct intel_encoder *encoder,
128128
limits.max_lane_count = intel_dp_max_lane_count(intel_dp);
129129

130130
limits.min_bpp = intel_dp_min_bpp(pipe_config);
131-
limits.max_bpp = pipe_config->pipe_bpp;
131+
/*
132+
* FIXME: If all the streams can't fit into the link with
133+
* their current pipe_bpp we should reduce pipe_bpp across
134+
* the board until things start to fit. Until then we
135+
* limit to <= 8bpc since that's what was hardcoded for all
136+
* MST streams previously. This hack should be removed once
137+
* we have the proper retry logic in place.
138+
*/
139+
limits.max_bpp = min(pipe_config->pipe_bpp, 24);
132140

133141
intel_dp_adjust_compliance_config(intel_dp, pipe_config, &limits);
134142

drivers/gpu/drm/i915/gt/intel_workarounds.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -308,11 +308,6 @@ static void gen9_ctx_workarounds_init(struct intel_engine_cs *engine,
308308
FLOW_CONTROL_ENABLE |
309309
PARTIAL_INSTRUCTION_SHOOTDOWN_DISABLE);
310310

311-
/* Syncing dependencies between camera and graphics:skl,bxt,kbl */
312-
if (!IS_COFFEELAKE(i915))
313-
WA_SET_BIT_MASKED(HALF_SLICE_CHICKEN3,
314-
GEN9_DISABLE_OCL_OOB_SUPPRESS_LOGIC);
315-
316311
/* WaEnableYV12BugFixInHalfSliceChicken7:skl,bxt,kbl,glk,cfl */
317312
/* WaEnableSamplerGPGPUPreemptionSupport:skl,bxt,kbl,cfl */
318313
WA_SET_BIT_MASKED(GEN9_HALF_SLICE_CHICKEN7,

0 commit comments

Comments
 (0)