Re: [PATCH v12 68/69] accel/ethosu: call DRM_CLASSMAP_USE
From: jim . cromie
Date: Sat Apr 04 2026 - 09:10:59 EST
On Thu, Apr 2, 2026 at 2:14 PM Rob Herring <robh@xxxxxxxxxx> wrote:
>
> On Thu, Mar 26, 2026 at 12:54:12PM -0600, Jim Cromie wrote:
> > ethosu.ko has several drm*dbg() calls, it must call DRM_CLASSMAP_USE
> > to tell dynamic-debug what classmap enables them.
> > Also include drm/drm_print.h explicitly.
> >
> > Signed-off-by: Jim Cromie <jim.cromie@xxxxxxxxx>
> > ---
>
> Didn't I ack this already? It is up to you to add tags when you send a
> new version.
>
> Or did it change? I can't tell as there is no changelog here.
>
Sorry, I missed that one. (no changes)
and thanks.
> > drivers/accel/ethosu/ethosu_drv.c | 3 +++
> > 1 file changed, 3 insertions(+)
> >
> > diff --git a/drivers/accel/ethosu/ethosu_drv.c b/drivers/accel/ethosu/ethosu_drv.c
> > index 9992193d7338..a0b8cb81a359 100644
> > --- a/drivers/accel/ethosu/ethosu_drv.c
> > +++ b/drivers/accel/ethosu/ethosu_drv.c
> > @@ -17,12 +17,15 @@
> > #include <drm/drm_gem.h>
> > #include <drm/drm_accel.h>
> > #include <drm/ethosu_accel.h>
> > +#include <drm/drm_print.h>
> >
> > #include "ethosu_drv.h"
> > #include "ethosu_device.h"
> > #include "ethosu_gem.h"
> > #include "ethosu_job.h"
> >
> > +DRM_CLASSMAP_USE(drm_debug_classes);
> > +
> > static int ethosu_ioctl_dev_query(struct drm_device *ddev, void *data,
> > struct drm_file *file)
> > {
> > --
> > 2.53.0
> >