File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -3315,11 +3315,7 @@ static void remove_from_engine(struct i915_request *rq)
3315
3315
3316
3316
static bool can_preempt (struct intel_engine_cs * engine )
3317
3317
{
3318
- if (GRAPHICS_VER (engine -> i915 ) > 8 )
3319
- return true;
3320
-
3321
- /* GPGPU on bdw requires extra w/a; not implemented */
3322
- return engine -> class != RENDER_CLASS ;
3318
+ return GRAPHICS_VER (engine -> i915 ) > 8 ;
3323
3319
}
3324
3320
3325
3321
static void kick_execlists (const struct i915_request * rq , int prio )
Original file line number Diff line number Diff line change @@ -368,8 +368,10 @@ int intel_memory_regions_hw_probe(struct drm_i915_private *i915)
368
368
goto out_cleanup ;
369
369
}
370
370
371
- mem -> id = i ;
372
- i915 -> mm .regions [i ] = mem ;
371
+ if (mem ) { /* Skip on non-fatal errors */
372
+ mem -> id = i ;
373
+ i915 -> mm .regions [i ] = mem ;
374
+ }
373
375
}
374
376
375
377
for (i = 0 ; i < ARRAY_SIZE (i915 -> mm .regions ); i ++ ) {
You can’t perform that action at this time.
0 commit comments