drm/xe: Use LRC prefix rather than CTX prefix in lrc desc defines
authorMatthew Brost <matthew.brost@intel.com>
Tue, 23 Jan 2024 21:26:38 +0000 (13:26 -0800)
committerMatthew Brost <matthew.brost@intel.com>
Thu, 1 Feb 2024 04:00:47 +0000 (20:00 -0800)
commit152ca51d8db03f08a71c25e999812e263839fdce
treeff47b9105e73e81bd78728d98652bf0a78bac2e8
parentd83d8ae275c6bf87506b71b8a1acd98452137dc5
drm/xe: Use LRC prefix rather than CTX prefix in lrc desc defines

The sparc build fails [1] due to CTX_VALID being redefined. Fix this by
using a better naming convention of LRC_VALID as this define is used in
setting bits in the lrc descriptor. To be uniform, change other define
with LRC prefix too.

[1] https://lore.kernel.org/all/20240123111235.3097079-1-geert@linux-m68k.org/

v2:
- s/LEGACY_64B_CONTEXT/LRC_LEGACY_64B_CONTEXT (Lucas)

Fixes: 0bc519d20ffa ("drm/xe: Remove GEN[0-9]*_ prefixes")
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240123212638.1605626-1-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_lrc.c