[PATCH 3/3] drm/scheduler: move the tracepoints file from the include directory
Lucas Stach
l.stach at pengutronix.de
Thu Mar 29 19:57:56 UTC 2018
Am Donnerstag, den 29.03.2018, 22:36 +0530 schrieb Nayan Deshmukh:
> Move it with the scheduler code. This is mostly a straight forward
> rename with no code change except for updating the TRACE_INCLUDE_PATH
>
> Signed-off-by: Nayan Deshmukh <nayan26deshmukh at gmail.com>
> Suggested-by: Christian König <christian.koenig at amd.com>
Acked-by: Lucas Stach <l.stach at pengutronix.de>
> ---
> drivers/gpu/drm/scheduler/gpu_scheduler.c | 2 +-
> {include/drm => drivers/gpu/drm/scheduler}/gpu_scheduler_trace.h | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
> rename {include/drm => drivers/gpu/drm/scheduler}/gpu_scheduler_trace.h (97%)
>
> diff --git a/drivers/gpu/drm/scheduler/gpu_scheduler.c b/drivers/gpu/drm/scheduler/gpu_scheduler.c
> index 565b7348db80..698531ed6a43 100644
> --- a/drivers/gpu/drm/scheduler/gpu_scheduler.c
> +++ b/drivers/gpu/drm/scheduler/gpu_scheduler.c
> @@ -30,7 +30,7 @@
> #include <drm/spsc_queue.h>
>
> #define CREATE_TRACE_POINTS
> -#include <drm/gpu_scheduler_trace.h>
> +#include "gpu_scheduler_trace.h"
>
> #define to_drm_sched_job(sched_job) \
> container_of((sched_job), struct drm_sched_job, queue_node)
> diff --git a/include/drm/gpu_scheduler_trace.h b/drivers/gpu/drm/scheduler/gpu_scheduler_trace.h
> similarity index 97%
> rename from include/drm/gpu_scheduler_trace.h
> rename to drivers/gpu/drm/scheduler/gpu_scheduler_trace.h
> index 0789e8d0a0e1..4998ad950a48 100644
> --- a/include/drm/gpu_scheduler_trace.h
> +++ b/drivers/gpu/drm/scheduler/gpu_scheduler_trace.h
> @@ -78,5 +78,5 @@ TRACE_EVENT(drm_sched_process_job,
>
> /* This part must be outside protection */
> #undef TRACE_INCLUDE_PATH
> -#define TRACE_INCLUDE_PATH .
> +#define TRACE_INCLUDE_PATH ../../drivers/gpu/drm/scheduler
> #include <trace/define_trace.h>
More information about the dri-devel
mailing list