diff options
author | Akeem G Abodunrin <[email protected]> | 2022-07-13 18:32:08 +0530 |
---|---|---|
committer | Matthew Auld <[email protected]> | 2022-07-13 17:47:51 +0100 |
commit | a91d1a17cd341548fd9535e33c331a2756acdfae (patch) | |
tree | 97ff9f29602f8c5a4c9a4a3bdcf8e44f32efb541 /drivers/gpu/drm/meson/meson_plane.c | |
parent | a5e4a53818ad585416a214b894fdf568443d5293 (diff) |
drm/i915: Add support for LMEM PCIe resizable bar
Add support for the local memory PICe resizable bar, so that
local memory can be resized to the maximum size supported by the device,
and mapped correctly to the PCIe memory bar. It is usual that GPU
devices expose only 256MB BARs primarily to be compatible with 32-bit
systems. So, those devices cannot claim larger memory BAR windows size due
to the system BIOS limitation. With this change, it would be possible to
reprogram the windows of the bridge directly above the requesting device
on the same BAR type.
v2:Moved code to gt/intel_region_lmem.c and used only
single underscore for function names.(Jani)
v3: Optimised code.
Signed-off-by: Akeem G Abodunrin <[email protected]>
Signed-off-by: MichaĆ Winiarski <[email protected]>
Cc: Stuart Summers <[email protected]>
Cc: Michael J Ruhl <[email protected]>
Cc: Prathap Kumar Valsan <[email protected]>
Cc: Jani Nikula <[email protected]>
Signed-off-by: Priyanka Dandamudi <[email protected]>
Reviewed-by: Matthew Auld <[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/meson/meson_plane.c')
0 files changed, 0 insertions, 0 deletions