They are the same as their __ATTR_RO() and _ATTR_RW() equivalents but they take the file mode as an extra argument.
We now use these new macros to redefine __ATTR_RO() and __ATTR_RW() on top of them.
The amdgpu DRM driver started to use __ATTR_RW_MODE() in Linux 6.13.
This is part of the update of DRM drivers to Linux 6.13.
Sponsored by: The FreeBSD Foundation