diff options
| author | Daniele Ceraolo Spurio <[email protected]> | 2019-03-28 10:45:32 -0700 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-03-29 11:18:41 +0000 |
| commit | f6ac993fb0ca5d8c0233ac17a71aacb22f84ac54 (patch) | |
| tree | 26ff697e8797d611b1cb0d9d023252699bbdc3b8 /tools/perf/scripts/python/syscall-counts.py | |
| parent | c4128ce7d59e811e3b229ac17bc67a6699cc525b (diff) | |
drm/i915: move the edram detection out of uncore init
edram is not part of uncore and there is no requirement for the
detection to be done before we initialize the uncore functions. The
first check on HAS_EDRAM is in the ggtt_init path, so move it to
i915_driver_init_hw, where other dram-related detection happens.
While at it, save the size in MB instead of the capabilities because the
size is the only thing we look at outside of the init function.
Signed-off-by: Daniele Ceraolo Spurio <[email protected]>
Cc: Paulo Zanoni <[email protected]>
Cc: Chris Wilson <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions