Lines Matching refs:pctx
317 struct drm_i915_gem_object *pctx;
328 pctx = i915_gem_object_create_region_at(i915->mm.stolen_region,
332 if (IS_ERR(pctx))
333 return PTR_ERR(pctx);
348 pctx = i915_gem_object_create_stolen(i915, pctx_size);
349 if (IS_ERR(pctx)) {
352 return PTR_ERR(pctx);
357 pctx->stolen->start,
359 pctx_paddr = i915->dsm.stolen.start + pctx->stolen->start;
363 rc6->pctx = pctx;
608 /* Disable runtime-pm until we can save the GPU state with rc6 pctx */
733 struct drm_i915_gem_object *pctx;
742 pctx = fetch_and_zero(&rc6->pctx);
743 if (pctx)
744 i915_gem_object_put(pctx);