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>
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 */