aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2023-01-23 09:38:27 -0800
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-19 18:27:48 -0500
commit2679be71f1372e8fac07d1be5443a5ba26b27345 (patch)
treea6da9fcddd803735f33082f77b8fae33129444b5 /drivers
parentb799aa5a04d09c4b3abe79b1c6563d54823410e6 (diff)
drm/xe: Remove TODO from rtp infra
The function pointer is already present as match_func, inside struct xe_rtp_rule and handled as so instead of inside rtp_regval as originally thought out when this was written. 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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/xe/xe_rtp_types.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/xe/xe_rtp_types.h b/drivers/gpu/drm/xe/xe_rtp_types.h
index b55b556a2495..630a2ec53fc6 100644
--- a/drivers/gpu/drm/xe/xe_rtp_types.h
+++ b/drivers/gpu/drm/xe/xe_rtp_types.h
@@ -24,10 +24,6 @@ enum {
struct xe_rtp_regval {
/** @reg: Register */
u32 reg;
- /*
- * TODO: maybe we need a union here with a func pointer for cases
- * that are too specific to be generalized
- */
/** @clr_bits: bits to clear when updating register */
u32 clr_bits;
/** @set_bits: bits to set when updating register */