accel: Build sub-directories based on config options
PATCH 1/1 accel: Build sub-directories based on config options
When accel drivers are disabled do not process into sub-directories and create built-in archives:
AR drivers/accel/habanalabs/built-in.a
AR drivers/accel/ivpu/built-in.a
--- drivers/accel/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/accel/Makefile +2 -2
@@ -1,4 +1,4 @@ # SPDX-License-Identifier: GPL-2.0-only -obj-y += habanalabs/ -obj-y += ivpu/ +obj-$(CONFIG_DRM_ACCEL_HABANALABS) += habanalabs/ +obj-$(CONFIG_DRM_ACCEL_IVPU) += ivpu/
Signature · 1 line
2.25.1
Quoted 7 lines · Stanislaw Gruszka
When accel drivers are disabled do not process into sub-directories and create built-in archives:
AR
drivers/accel/habanalabs/built-in.a
ARdrivers/accel/ivpu/built-in.aSigned-off-by Stanislaw Gruszka <[email protected]>
Should there be a fixes tag? Feels like something that should be back-ported.
Quoted 11 lines · Jeffrey Hugo
Quoted 7 lines · Stanislaw Gruszka
When accel drivers are disabled do not process into sub-directories and create built-in archives:
AR
drivers/accel/habanalabs/built-in.a
ARdrivers/accel/ivpu/built-in.aSigned-off-by Stanislaw Gruszka <[email protected]>Should there be a fixes tag? Feels like something that should be back-ported.
This tag could be added:
but since then Makefile changed with habanalabs addition.
I expect this will go to drm-misc-fixes and then to linux 6.3-rcX from there, so (stable) back-port will not be needed.
Regards
Stanislaw
Quoted 13 lines · Stanislaw Gruszka
Quoted 11 lines · Jeffrey Hugo
Quoted 7 lines · Stanislaw Gruszka
When accel drivers are disabled do not process into sub-directories and create built-in archives:
AR
drivers/accel/habanalabs/built-in.a
ARdrivers/accel/ivpu/built-in.aSigned-off-by Stanislaw Gruszka <[email protected]>Should there be a fixes tag? Feels like something that should be back-ported.
Quoted 8 lines
This tag could be added:
Fixes 35b137630f08 ("accel/ivpu: Introduce a new DRM driver for Intel VPU")but since then
Makefilechanged with habanalabs addition.I expect this will go to drm-misc-fixes and then to linux 6.3-rcX from there, so (stable) back-port will not be needed.
Makes sense. I thought this would apply to 6.2 as well, but it looks like no.
-Jeff
Thanks. Applied to drm-misc-next and cherry-picked to drm-misc-fixes.
Quoted 24 lines · Stanislaw Gruszka
Quoted 11 lines · Jeffrey Hugo
Quoted 7 lines · Stanislaw Gruszka
When accel drivers are disabled do not process into sub-directories and create built-in archives:
AR
drivers/accel/habanalabs/built-in.a
ARdrivers/accel/ivpu/built-in.aSigned-off-by Stanislaw Gruszka <[email protected]>Should there be a fixes tag? Feels like something that should be back-ported.
This tag could be added:
Fixes 35b137630f08 ("accel/ivpu: Introduce a new DRM driver for Intel VPU")but since then
Makefilechanged with habanalabs addition.I expect this will go to drm-misc-fixes and then to linux 6.3-rcX from there, so (stable) back-port will not be needed.
Regards
Stanislaw