From: Lucas De Marchi Date: Mon, 23 Jan 2023 17:38:27 +0000 (-0800) Subject: drm/xe: Remove TODO from rtp infra X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2679be71f1372e8fac07d1be5443a5ba26b27345;p=linux.git 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 --- 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 */