diff options
author | Abdiel Janulgue <abdiel.janulgue@linux.intel.com> | 2022-02-18 21:47:51 +0300 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2022-02-20 09:42:07 +0300 |
commit | 4b31b8e34460af9b2eff0d389a6caefcb694a1bc (patch) | |
tree | 48e05ba87dc7ada5b15bec5dfde465b0fce08d3b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5e3094cfd9fb313be3b8fbf9f91e92a30483bc28 (diff) | |
download | linux-4b31b8e34460af9b2eff0d389a6caefcb694a1bc.tar.xz |
drm/i915/lmem: Enable lmem for platforms with Flat CCS
A portion of device memory is reserved for Flat CCS so usable
device memory will be reduced by size of Flat CCS. Size of
Flat CCS is specified in “XEHPSDV_FLAT_CCS_BASE_ADDR”.
So to get effective device memory we need to subtract
total device memory by Flat CCS memory size.
v2:
Addressed the small bar related issue [Matt]
Removed a reduntant check [Matt]
v3:
removed a variable
s/DRM_ERROR/drm_err [Lucas]
Cc: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220218184752.7524-15-ramalingam.c@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions