drm/sched: use DECLARE_EVENT_CLASS
authorChia-I Wu <olvaffe@gmail.com>
Tue, 12 Apr 2022 20:48:08 +0000 (13:48 -0700)
committerAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Tue, 26 Apr 2022 19:11:00 +0000 (15:11 -0400)
commit4a35c23f91b1a4c397e033b61bb9975ab5164f5a
tree215fbc9abb3d7f80f2c50d20ca91f20241280654
parentfebd8fdeac5ac1f722e96a51e43c0357624f369c
drm/sched: use DECLARE_EVENT_CLASS

drm_sched_job and drm_run_job have the same prototype.

v2: rename the class from drm_sched_job_entity to drm_sched_job (Andrey)

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Cc: Rob Clark <robdclark@chromium.org>
Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220412204809.824491-1-olvaffe@gmail.com
drivers/gpu/drm/scheduler/gpu_scheduler_trace.h