aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
diff options
context:
space:
mode:
authorPriyanka Dandamudi <[email protected]>2022-07-13 13:02:09 +0000
committerMatthew Auld <[email protected]>2022-07-13 16:47:51 +0000
commit17cd10a44a8962860ff4ba351b2a290e752dbbde (patch)
tree906cc9b007dfce892d3966556cdeb5958dcdf952 /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
parentdrm/i915: Add support for LMEM PCIe resizable bar (diff)
downloadkernel-17cd10a44a8962860ff4ba351b2a290e752dbbde.tar.gz
kernel-17cd10a44a8962860ff4ba351b2a290e752dbbde.zip
drm/i915: Add lmem_bar_size modparam
For testing purposes, support forcing the lmem_bar_size through a new modparam. In CI we only have a limited number of configurations for DG2, but we still need to be reasonably sure we get a usable device (also verifying we report the correct values for things like probed_cpu_visible_size etc) with all the potential lmem_bar sizes that we might expect see in the wild. v2: Update commit message and a minor modification.(Matt) v3: Optimised lmem bar size code and modified code to resize bar maximum upto lmem_size instead of maximum supported size.(Nirmoy) v4: Optimised lmem bar size code.(Nirmoy) Signed-off-by: Priyanka Dandamudi <[email protected]> Cc: Matthew Auld <[email protected]> Cc: Nirmoy Das <[email protected]> Reviewed-by: Nirmoy Das <[email protected]> Signed-off-by: Matthew Auld <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c')
0 files changed, 0 insertions, 0 deletions