summaryrefslogtreecommitdiff
path: root/drivers/soc/bcm
diff options
context:
space:
mode:
authorAbdiel Janulgue <abdiel.janulgue@linux.intel.com>2021-10-28 02:53:31 +0530
committerRamalingam C <ramalingam.c@intel.com>2022-02-19 00:13:00 +0530
commit6a3df937e2dd7ef2523bba6dae638ff1698fbacb (patch)
tree8382a3459016003fec4618a07ce69f6338cd6a3d /drivers/soc/bcm
parent7af0648f2fb5a538f14ed7ac309a9599d2214950 (diff)
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: reg addr def is moved to intel_gt_regs.h [Lucas] 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>
Diffstat (limited to 'drivers/soc/bcm')
0 files changed, 0 insertions, 0 deletions