]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: remove unused LE_COS
authorShuicheng Lin <shuicheng.lin@intel.com>
Sat, 5 Apr 2025 17:15:39 +0000 (17:15 +0000)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 9 Apr 2025 23:11:17 +0000 (16:11 -0700)
commit3ded92c439449d69017d7a41c5eda3392d6724c7
treec9bd6f319c59a7fc6e838d5b2a12f30a7340eb21
parentbc417e54e24bc9c96d3c6eba2c8c60f7919e5afe
drm/xe: remove unused LE_COS

The LE_COS definition missed passing the value parameter to
REG_FIELD_PREP. This didn't cause build errors because the entire
macro was unused.
The value for this field is universally "0" for every MOCS entry on
the old Xe_LP platforms, and the whole field has been removed from
Xe_HP onward. Just delete the line so that we don't have an unused
definition.

Suggested-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
Link: https://lore.kernel.org/r/20250405171539.599850-1-shuicheng.lin@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
drivers/gpu/drm/xe/regs/xe_gt_regs.h