xref: /kernel/linux/linux-5.10/tools/testing/selftests/drivers/gpu/drm_mm.sh
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/tools/testing/selftests/drivers/gpu/
18c2ecf20Sopenharmony_ci#!/bin/sh
28c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
38c2ecf20Sopenharmony_ci# Runs API tests for struct drm_mm (DRM range manager)
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ciif ! /sbin/modprobe -n -q test-drm_mm; then
68c2ecf20Sopenharmony_ci       echo "drivers/gpu/drm_mm: [skip]"
78c2ecf20Sopenharmony_ci       exit 77
88c2ecf20Sopenharmony_cifi
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ciif /sbin/modprobe -q test-drm_mm; then
118c2ecf20Sopenharmony_ci       /sbin/modprobe -q -r test-drm_mm
128c2ecf20Sopenharmony_ci       echo "drivers/gpu/drm_mm: ok"
138c2ecf20Sopenharmony_cielse
148c2ecf20Sopenharmony_ci       echo "drivers/gpu/drm_mm: [FAIL]"
158c2ecf20Sopenharmony_ci       exit 1
168c2ecf20Sopenharmony_cifi
17

Indexes created Thu Nov 07 10:32:03 CST 2024