]> Gentwo Git Trees - linux/.git/commit
drm/xe/vram: Move forcewake down to get_flat_ccs_offset()
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 7 Nov 2025 18:23:45 +0000 (10:23 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Mon, 10 Nov 2025 17:09:27 +0000 (09:09 -0800)
commit3389c2be7fa0733b225c5676b1eaa87927745409
tree937fbc010137bc4864da33acdcc3418511ded26b
parent84a6fc4c9fb95c7abdc2c749e7d9d8947061b259
drm/xe/vram: Move forcewake down to get_flat_ccs_offset()

With SG_TILE_ADDR_RANGE use, the only thing requiring GT forcewake while
probing for vram size is the get_flat_ccs_offset(). Move the forcewake
down where it's needed.

Suggested-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patch.msgid.link/20251107-tile-addr-v1-2-a3014aadc2e7@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_vram.c