]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drivers: gpu: drm: msm: registers: improve reproducibility
authorRyan Eatmon <reatmon@ti.com>
Sat, 24 May 2025 15:55:37 +0000 (21:25 +0530)
committerRob Clark <robin.clark@oss.qualcomm.com>
Mon, 9 Jun 2025 19:50:20 +0000 (12:50 -0700)
commitba64c6737f8656aa86e9fbcc1ff56e56316e62f6
tree669545e9ef86a00be717d96d7c05fa2d8fbe1ba8
parent2b520c6104f34e3a548525173c38ebca4402cac3
drivers: gpu: drm: msm: registers: improve reproducibility

The files generated by gen_header.py capture the source path to the
input files and the date.  While that can be informative, it varies
based on where and when the kernel was built as the full path is
captured.

Since all of the files that this tool is run on is under the drivers
directory, this modifies the application to strip all of the path before
drivers.  Additionally it prints <stripped> instead of the date.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Viswanath Kraleti <viswanath.kraleti@oss.qualcomm.com>
Acked-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/655599/
Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
drivers/gpu/drm/msm/registers/gen_header.py