[Mesa-dev] [PATCH 1/2] panfrost: ci: Switch to kernel 5.2-rc1

Tomeu Vizoso tomeu.vizoso at collabora.com
Mon May 20 09:33:25 UTC 2019


Signed-off-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
---
 src/gallium/drivers/panfrost/ci/Dockerfile | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/gallium/drivers/panfrost/ci/Dockerfile b/src/gallium/drivers/panfrost/ci/Dockerfile
index 268edf224a20..8c4a4e0444ec 100644
--- a/src/gallium/drivers/panfrost/ci/Dockerfile
+++ b/src/gallium/drivers/panfrost/ci/Dockerfile
@@ -112,12 +112,11 @@ ARG KERNEL_ARCH
 ARG DEFCONFIG
 ARG DEVICE_TREES
 ARG KERNEL_IMAGE_NAME
-# TODO: Switch to 5.2-rc* when the time comes
+ENV KERNEL_URL="https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux/+archive/refs/tags/v5.2-rc1.tar.gz"
+
 COPY ${KERNEL_ARCH}.config /panfrost-ci/
 RUN mkdir -p /kernel                                                                   && \
-  wget https://github.com/freedesktop/drm-misc/archive/drm-misc-next-2019-04-18.tar.gz && \
-  tar xfz drm-misc-next-2019-04-18.tar.gz -C /kernel --strip-components=1              && \
-  rm drm-misc-next-2019-04-18.tar.gz                                                   && \
+  wget -qO- ${KERNEL_URL} | tar -xvz -C /kernel                                        && \
   cd /kernel                                                                           && \
   ARCH=${KERNEL_ARCH} CROSS_COMPILE="${GCC_ARCH}-" ./scripts/kconfig/merge_config.sh ${DEFCONFIG} /panfrost-ci/${KERNEL_ARCH}.config && \
   ARCH=${KERNEL_ARCH} CROSS_COMPILE="${GCC_ARCH}-" make -j12 ${KERNEL_IMAGE_NAME} dtbs && \
-- 
2.20.1



More information about the mesa-dev mailing list