// SPDX-License-Identifier: MIT | |
/* | |
* Copyright © 2019 Intel Corporation | |
*/ | |
#include "i915_drv.h" | |
#include "intel_gt.h" | |
void intel_gt_init_early(struct intel_gt *gt, struct drm_i915_private *i915) | |
{ | |
gt->i915 = i915; | |
gt->uncore = &i915->uncore; | |
INIT_LIST_HEAD(>->active_rings); | |
INIT_LIST_HEAD(>->closed_vma); | |
spin_lock_init(>->closed_lock); | |
} |