]> Gentwo Git Trees - linux/.git/commit
drm/xe: Add CTB_H2G_BUFFER_OFFSET define
authorMatthew Brost <matthew.brost@intel.com>
Wed, 8 Oct 2025 21:45:21 +0000 (14:45 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Thu, 9 Oct 2025 10:22:47 +0000 (03:22 -0700)
commit4bdfb05305f3bbf6fe25f1f0dbc286c523bc326f
tree50f5192c87e997c551c76e8f26a71ab7e7dc559b
parentfe3a615dadd398f73cde00a5ba32389958242dec
drm/xe: Add CTB_H2G_BUFFER_OFFSET define

Rather than open coding the H2G buffer offset as 'CTB_DESC_SIZE * 2' add
CTB_H2G_BUFFER_OFFSET define.

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://lore.kernel.org/r/20251008214532.3442967-24-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_guc_ct.c