drm/xe/oa: Don't use hardcoded values
authorOhad Sharabi <osharabi@habana.ai>
Sun, 21 Jul 2024 07:13:35 +0000 (10:13 +0300)
committerAshutosh Dixit <ashutosh.dixit@intel.com>
Mon, 22 Jul 2024 05:38:25 +0000 (22:38 -0700)
commitbe1dcdffa8fadc22ad272f605a53e2a2fd30e7f8
tree3c4711cb07136c26d6259e72a5b0e69648e0a947
parentd930c19fdff3109e97b610fa10943b7602efcabd
drm/xe/oa: Don't use hardcoded values

The current implementation uses hardcoded values instead of common defines.

v2:
 - Make the commit a regular commit instead of a fixup commit
 - slightly modify commit message

Signed-off-by: Ohad Sharabi <osharabi@habana.ai>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240721071335.101234-1-osharabi@habana.ai
drivers/gpu/drm/xe/xe_oa.c