On Tue, Oct 17, 2023 at 2:33 PM Prashant Malani pmalani@chromium.org wrote:
OTOH, perhaps you should just introduce a macro that performs this bitwise operation for even better readability. Something like
#define DP_CAP_IS_DFP_D(_cap_) (!!(DP_CAP_CAPABILITY(_cap_) & DP_CAP_DFP_D))
I'll take this approach, thanks for the feedback Prashant!
---
Best, RD