From 2679be71f1372e8fac07d1be5443a5ba26b27345 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Mon, 23 Jan 2023 09:38:27 -0800 Subject: [PATCH] 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 Reviewed-by: Rodrigo Vivi Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/xe/xe_rtp_types.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/xe/xe_rtp_types.h b/drivers/gpu/drm/xe/xe_rtp_types.h index b55b556a24958..630a2ec53fc6f 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 */ -- 2.30.2