Skip to content
Commit 2c33b49a authored by Philippe Lecluse's avatar Philippe Lecluse Committed by Rodrigo Vivi
Browse files

drm/xe: enforce GSMBASE for DG1 instead of BAR2



On DG1, BAR2 is not reliable for reporting Vram size, need to use GSMBASE.
Simplify xe_mmio_total_vram_size to report vram size and usable size.

Signed-off-by: default avatarPhilippe Lecluse <philippe.lecluse@intel.com>
Reviewed-by: default avatarMatthew Auld <matthew.auld@intel.com>
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent c343bacf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment