They differ from other dev_*() logging functions by returning the passed error code. The error code is also used to determine if the message should be logged in the first place and at which log level.
The DRM generic code started to use it in Linux 6.12.
This is part of the update of DRM drivers to Linux 6.12.
Sponsored by: The FreeBSD Foundation