drm/xe: Rename xe_rtp_regval to xe_rtp_action
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 25 Jan 2023 23:03:07 +0000 (15:03 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:28:12 +0000 (18:28 -0500)
commit3747c88428a199620ca626a196781516c6da12e6
tree6d39a527123c3fc5463d0dbcdb35f45308cc1adf
parent564d64f83de9759c1faa4a64ee4aed8465281ecb
drm/xe: Rename xe_rtp_regval to xe_rtp_action

It's true that the struct records the register and the value (in form of
2 masks) to restore, but it also records more fields important to
the application of workarounds/tuning, etc. One important part is what
is the macro used to record these fields: SET/CLR/WR/FIELD_SET/etc.

Thinking of the table as a set of rules + actions is more intuitive than
rules + regval.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_rtp.c
drivers/gpu/drm/xe/xe_rtp.h
drivers/gpu/drm/xe/xe_rtp_types.h