diff --git a/graphics/Makefile b/graphics/Makefile index 08b6ea89c477..26c2447b9337 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -1,1200 +1,1201 @@ COMMENT = Graphics tools and libraries SUBDIR += 4va SUBDIR += Coin SUBDIR += GraphicsMagick SUBDIR += Hermes SUBDIR += IPA SUBDIR += ImageMagick6 SUBDIR += ImageMagick6-nox11 SUBDIR += ImageMagick7 SUBDIR += ImageMagick7-nox11 SUBDIR += O2-tools SUBDIR += R-cran-DiagrammeR SUBDIR += R-cran-GDD SUBDIR += R-cran-RColorBrewer SUBDIR += R-cran-colorspace SUBDIR += R-cran-diagram SUBDIR += R-cran-dichromat SUBDIR += R-cran-dygraphs SUBDIR += R-cran-farver SUBDIR += R-cran-ggplot2 SUBDIR += R-cran-ggrepel SUBDIR += R-cran-gridBase SUBDIR += R-cran-gridExtra SUBDIR += R-cran-jpeg SUBDIR += R-cran-latticeExtra SUBDIR += R-cran-munsell SUBDIR += R-cran-pROC SUBDIR += R-cran-pixmap SUBDIR += R-cran-png SUBDIR += R-cran-qcc SUBDIR += R-cran-rgdal SUBDIR += R-cran-rtiff SUBDIR += R-cran-s2 SUBDIR += R-cran-scales SUBDIR += R-cran-shape SUBDIR += R-cran-viridis SUBDIR += R-cran-viridisLite SUBDIR += R-cran-visNetwork SUBDIR += SciPlot SUBDIR += a2png SUBDIR += aalib SUBDIR += aaphoto SUBDIR += acidwarp SUBDIR += acidwarp-sdl SUBDIR += agg SUBDIR += airsaned SUBDIR += akira SUBDIR += alembic SUBDIR += aloadimage SUBDIR += alpng SUBDIR += ampasACES-container SUBDIR += ampasCTL SUBDIR += animorph SUBDIR += ansilove SUBDIR += anttweakbar SUBDIR += aoi SUBDIR += apngasm SUBDIR += apngdis SUBDIR += appleseed SUBDIR += argyllcms SUBDIR += art SUBDIR += asciio SUBDIR += aseprite SUBDIR += atril SUBDIR += atril-lite SUBDIR += autopano-sift-c SUBDIR += autotrace SUBDIR += aview SUBDIR += avir SUBDIR += azpainter SUBDIR += azpainterb SUBDIR += barcode SUBDIR += batik SUBDIR += birdfont SUBDIR += bitmap SUBDIR += blend2d SUBDIR += blender SUBDIR += blender-doc SUBDIR += blender-lts29 SUBDIR += bmeps SUBDIR += bmp2html SUBDIR += bonzomatic SUBDIR += box SUBDIR += brunsli SUBDIR += bsd-plotutils SUBDIR += c-a-i-r SUBDIR += cadubi SUBDIR += cairo SUBDIR += cairomm SUBDIR += cal3d SUBDIR += camera SUBDIR += camerakit SUBDIR += cbonsai SUBDIR += cbviewer SUBDIR += cegui SUBDIR += cenon SUBDIR += cfdg SUBDIR += chafa SUBDIR += charls SUBDIR += cimg SUBDIR += cloudcompare SUBDIR += clutter SUBDIR += clutter-gtk3 SUBDIR += cluttermm SUBDIR += cogl SUBDIR += colmap SUBDIR += colord SUBDIR += colord-gtk SUBDIR += comical SUBDIR += compupic SUBDIR += converseen SUBDIR += corrupter SUBDIR += cosmoplayer SUBDIR += cptutils SUBDIR += crw SUBDIR += curator SUBDIR += curtail SUBDIR += cuttlefish SUBDIR += darktable SUBDIR += darktable40 SUBDIR += dataplot SUBDIR += dbow2 SUBDIR += dc20pack SUBDIR += dcmtk SUBDIR += dcp2icc SUBDIR += dcraw SUBDIR += dcraw-m SUBDIR += delaboratory SUBDIR += derelict-gl3 SUBDIR += devil SUBDIR += dia SUBDIR += diff-pdf SUBDIR += diffpdf SUBDIR += digikam SUBDIR += dilay SUBDIR += ditaa SUBDIR += djview4 SUBDIR += djvulibre SUBDIR += dmtx-utils SUBDIR += drawing SUBDIR += drawpile SUBDIR += drm-510-kmod SUBDIR += drm-fbsd12.0-kmod SUBDIR += drm-kmod SUBDIR += drm_info SUBDIR += dspdfviewer SUBDIR += dssim SUBDIR += duhdraw SUBDIR += dust3d SUBDIR += dynamechs SUBDIR += ebsynth SUBDIR += edje_viewer SUBDIR += egl-wayland SUBDIR += eglexternalplatform SUBDIR += electricsheep SUBDIR += elementary-photos SUBDIR += embree SUBDIR += enblend SUBDIR += engauge-digitizer SUBDIR += entangle SUBDIR += eog SUBDIR += eog-plugins SUBDIR += eom SUBDIR += eos-movrec SUBDIR += epdfview SUBDIR += ephoto SUBDIR += epix SUBDIR += eps2png SUBDIR += epsonscan2 SUBDIR += epsonscan2-non-free-plugin SUBDIR += epstool SUBDIR += eterm-bg SUBDIR += evince SUBDIR += evolvotron SUBDIR += exif SUBDIR += exifprobe SUBDIR += exiftags SUBDIR += exiftran SUBDIR += exiv2 SUBDIR += exrtools SUBDIR += f3d SUBDIR += facedetect SUBDIR += farbfeld SUBDIR += feh SUBDIR += fig2sxd SUBDIR += figurine SUBDIR += filament SUBDIR += filmulator SUBDIR += flam3 SUBDIR += flasm SUBDIR += flif SUBDIR += flphoto SUBDIR += fly SUBDIR += fortytwo SUBDIR += fotofix SUBDIR += fotoxx SUBDIR += founts SUBDIR += fpc-cairo SUBDIR += fpc-graph SUBDIR += fpc-hermes SUBDIR += fpc-imagemagick SUBDIR += fpc-libgd SUBDIR += fpc-libpng SUBDIR += fpc-ncurses SUBDIR += fpc-opengl SUBDIR += fpc-pasjpeg SUBDIR += fpc-proj4 SUBDIR += fpc-rsvg SUBDIR += fpc-svgalib SUBDIR += fpc-vcl-compat SUBDIR += fracplanet SUBDIR += fractgen SUBDIR += fraqtive SUBDIR += freeglut SUBDIR += freeimage SUBDIR += freetype-gl SUBDIR += frei0r SUBDIR += frei0r-plugins SUBDIR += frei0r-plugins-gavl SUBDIR += frei0r-plugins-opencv SUBDIR += frogr SUBDIR += ftgl SUBDIR += fusefs-gphotofs SUBDIR += fv SUBDIR += fyre SUBDIR += g2 SUBDIR += gauche-gl SUBDIR += gcolor2 SUBDIR += gcolor3 SUBDIR += gd SUBDIR += gdal SUBDIR += gdchart SUBDIR += gdk-pixbuf2 SUBDIR += gdk-pixbuf2-xlib SUBDIR += gdtclft SUBDIR += geeqie SUBDIR += gegl SUBDIR += geoapi SUBDIR += geomorph SUBDIR += geomview SUBDIR += geos SUBDIR += geoserver SUBDIR += gexiv2 SUBDIR += giblib SUBDIR += giflib SUBDIR += gifmerge SUBDIR += gifsicle SUBDIR += gifski SUBDIR += giftool SUBDIR += gimageview SUBDIR += gimmage SUBDIR += gimp SUBDIR += gimp-app SUBDIR += gimp-beautify-plugin SUBDIR += gimp-data-extras SUBDIR += gimp-gmic-plugin SUBDIR += gimp-jxl-plugin SUBDIR += gimp-lensfun-plugin SUBDIR += gimp-lqr-plugin SUBDIR += gimp-refocus-plugin SUBDIR += gimp-resynthesizer SUBDIR += gkrellkam2 SUBDIR += glad SUBDIR += glaxnimate SUBDIR += glbinding SUBDIR += gle SUBDIR += glee SUBDIR += glew SUBDIR += glew-wayland SUBDIR += glexcess SUBDIR += glfw SUBDIR += glfw2 SUBDIR += gliv SUBDIR += glosm SUBDIR += glpng SUBDIR += glslang SUBDIR += glvis SUBDIR += glx-utils SUBDIR += gmic SUBDIR += gmic-qt SUBDIR += gmt SUBDIR += gmt-dcw SUBDIR += gmt-gshhg SUBDIR += gnash SUBDIR += gnome-color-manager SUBDIR += gnome-video-effects SUBDIR += gocr SUBDIR += goocanvas2 SUBDIR += goocanvas3 SUBDIR += goocanvasmm2 SUBDIR += goom SUBDIR += gource SUBDIR += gpaint SUBDIR += gphoto2 SUBDIR += gpicview SUBDIR += gpsmanshp SUBDIR += gpu-firmware-amd-kmod SUBDIR += gpu-firmware-intel-kmod SUBDIR += gpu-firmware-kmod SUBDIR += gpu-firmware-radeon-kmod SUBDIR += gpxsee SUBDIR += gracula SUBDIR += grads SUBDIR += grafx2 SUBDIR += graphene SUBDIR += graphite2 SUBDIR += graphos SUBDIR += graphviz SUBDIR += grx SUBDIR += gscan2pdf SUBDIR += gstreamer1-plugins-aalib SUBDIR += gstreamer1-plugins-cairo SUBDIR += gstreamer1-plugins-gdkpixbuf SUBDIR += gstreamer1-plugins-gl SUBDIR += gstreamer1-plugins-jpeg SUBDIR += gstreamer1-plugins-kms SUBDIR += gstreamer1-plugins-libcaca SUBDIR += gstreamer1-plugins-libvisual SUBDIR += gstreamer1-plugins-opencv SUBDIR += gstreamer1-plugins-openexr SUBDIR += gstreamer1-plugins-openjpeg SUBDIR += gstreamer1-plugins-png SUBDIR += gstreamer1-plugins-qt SUBDIR += gstreamer1-plugins-rsvg SUBDIR += gstreamer1-plugins-vulkan SUBDIR += gstreamer1-plugins-webp SUBDIR += gstreamer1-plugins-zbar SUBDIR += gthumb SUBDIR += gtimelapse SUBDIR += gtk-update-icon-cache SUBDIR += gtkam SUBDIR += gts SUBDIR += guetzli SUBDIR += guile-cairo SUBDIR += guilib SUBDIR += gwenview SUBDIR += h3 SUBDIR += hdr_tools SUBDIR += heimer SUBDIR += hiptext SUBDIR += hobbes-icons-xpm SUBDIR += hppsmtools SUBDIR += hugin SUBDIR += icat SUBDIR += icc-profiles-adobe-cs4 SUBDIR += icc-profiles-basiccolor SUBDIR += icc-profiles-openicc SUBDIR += iccxml SUBDIR += icon-slicer SUBDIR += icontact SUBDIR += icoutils SUBDIR += ida SUBDIR += iec16022 + SUBDIR += igt-gpu-tools SUBDIR += iiview SUBDIR += ikona SUBDIR += imageindex SUBDIR += imageviewer SUBDIR += imageworsener SUBDIR += imc SUBDIR += imlib2 SUBDIR += imlib2-jxl SUBDIR += imlib2-webp SUBDIR += imlib2_loaders SUBDIR += impressive SUBDIR += imv SUBDIR += inkscape SUBDIR += instant-meshes SUBDIR += intel-backlight SUBDIR += intergif SUBDIR += ipe SUBDIR += jalbum SUBDIR += jasper SUBDIR += jave6 SUBDIR += jbig2dec SUBDIR += jbigkit SUBDIR += jdraw SUBDIR += jgraph SUBDIR += jhead SUBDIR += jogamp-jogl SUBDIR += jogl SUBDIR += jp SUBDIR += jp2a SUBDIR += jpatch SUBDIR += jpeg-turbo SUBDIR += jpeginfo SUBDIR += jpegoptim SUBDIR += jpgtn SUBDIR += jslice SUBDIR += kamera SUBDIR += kamerka SUBDIR += katarakt SUBDIR += kcolorchooser SUBDIR += kcolorpicker SUBDIR += kdegraphics SUBDIR += kdegraphics-mobipocket SUBDIR += kdegraphics-svgpart SUBDIR += kdegraphics-thumbnailers SUBDIR += kdiagram SUBDIR += kf5-kimageformats SUBDIR += kf5-kplotting SUBDIR += kf5-kquickcharts SUBDIR += kf5-prison SUBDIR += kgeotag SUBDIR += kgraphviewer SUBDIR += kimageannotator SUBDIR += kimagemapeditor SUBDIR += kipi-plugins SUBDIR += klatexformula SUBDIR += kludge3d SUBDIR += kmscube SUBDIR += knotter SUBDIR += kolourpaint SUBDIR += kontrast SUBDIR += kooka SUBDIR += kphotoalbum SUBDIR += kplot SUBDIR += kqtquickcharts SUBDIR += kquickimageeditor SUBDIR += krita SUBDIR += ksanecore SUBDIR += kseexpr SUBDIR += ksnip SUBDIR += kxstitch SUBDIR += l2p SUBDIR += largetifftools SUBDIR += laternamagica SUBDIR += lazpaint SUBDIR += lcdtest SUBDIR += lcms SUBDIR += lcms2 SUBDIR += leafpak SUBDIR += lensfun SUBDIR += lepton SUBDIR += leptonica SUBDIR += lerc SUBDIR += lfview SUBDIR += lib3ds SUBDIR += libGLU SUBDIR += libQGLViewer SUBDIR += libafterimage SUBDIR += libansilove SUBDIR += libart_lgpl SUBDIR += libavif SUBDIR += libboard SUBDIR += libbpg SUBDIR += libcaca SUBDIR += libcdr01 SUBDIR += libchamplain SUBDIR += libdmtx SUBDIR += libdrm SUBDIR += libecwj2 SUBDIR += libemf SUBDIR += libepoxy SUBDIR += libetonyek01 SUBDIR += libexif SUBDIR += libexif-gtk SUBDIR += libfpx SUBDIR += libfreehand SUBDIR += libgeotiff SUBDIR += libgfx SUBDIR += libgltext SUBDIR += libgltf SUBDIR += libglvnd SUBDIR += libgnomecanvas SUBDIR += libgnomecanvasmm26 SUBDIR += libgphoto2 SUBDIR += libgxps SUBDIR += libheif SUBDIR += libimagequant SUBDIR += libimg SUBDIR += libiptcdata SUBDIR += libjpeg-turbo SUBDIR += libjxl SUBDIR += libjxr SUBDIR += libkdcraw SUBDIR += libkexiv2 SUBDIR += libkipi SUBDIR += libksane SUBDIR += libliftoff SUBDIR += liblqr-1 SUBDIR += liblug SUBDIR += libmng SUBDIR += libmorph SUBDIR += libmypaint SUBDIR += libnsbmp SUBDIR += libnsgif SUBDIR += libopenraw SUBDIR += libosmesa SUBDIR += libpano13 SUBDIR += libpcd SUBDIR += libpgf SUBDIR += libpillowfight SUBDIR += libplacebo SUBDIR += libpotrace SUBDIR += libprojectm SUBDIR += libpuzzle SUBDIR += libqrencode SUBDIR += librasterlite2 SUBDIR += libraw SUBDIR += librsvg2 SUBDIR += librsvg2-rust SUBDIR += librtprocess SUBDIR += libsixel SUBDIR += libspiro SUBDIR += libspng SUBDIR += libsvg SUBDIR += libsvg-cairo SUBDIR += libsvgtiny SUBDIR += libvisual SUBDIR += libvisual04 SUBDIR += libvisual04-plugins SUBDIR += libwmf SUBDIR += libwmf-nox11 SUBDIR += libwpg03 SUBDIR += libyuv SUBDIR += libzmf SUBDIR += lightzone SUBDIR += linplasma SUBDIR += linux-c7-cairo SUBDIR += linux-c7-cairo-gobject SUBDIR += linux-c7-dri SUBDIR += linux-c7-gdk-pixbuf2 SUBDIR += linux-c7-glx-utils SUBDIR += linux-c7-graphite2 SUBDIR += linux-c7-jasper SUBDIR += linux-c7-jbigkit SUBDIR += linux-c7-jpeg SUBDIR += linux-c7-libdrm SUBDIR += linux-c7-libepoxy SUBDIR += linux-c7-libglvnd SUBDIR += linux-c7-librsvg2 SUBDIR += linux-c7-png SUBDIR += linux-c7-sdl_image SUBDIR += linux-c7-sdl_ttf SUBDIR += linux-c7-tiff SUBDIR += linux-c7-wayland SUBDIR += lua-gd SUBDIR += luminance-qt5 SUBDIR += lux SUBDIR += lximage-qt SUBDIR += mahotas SUBDIR += maim SUBDIR += mandelbulber SUBDIR += mapcache SUBDIR += mapserver SUBDIR += mapyrus SUBDIR += matplotlib-cpp SUBDIR += matplotplusplus SUBDIR += megapov SUBDIR += meh SUBDIR += mesa-demos SUBDIR += mesa-devel SUBDIR += mesa-dri SUBDIR += mesa-gallium-va SUBDIR += mesa-gallium-vdpau SUBDIR += mesa-gallium-xa SUBDIR += mesa-libs SUBDIR += metacam SUBDIR += metapixel SUBDIR += milton SUBDIR += minder SUBDIR += ming SUBDIR += mirtk SUBDIR += movit SUBDIR += mozjpeg SUBDIR += mscgen SUBDIR += msl SUBDIR += mtpaint SUBDIR += multican SUBDIR += mupdf SUBDIR += mxp SUBDIR += mypaint SUBDIR += mypaint-brushes SUBDIR += mypaint-brushes2 SUBDIR += nanort SUBDIR += nanosvg SUBDIR += netpbm SUBDIR += nip2 SUBDIR += nomacs SUBDIR += nplot SUBDIR += npretty SUBDIR += nsxiv SUBDIR += nurbs++ SUBDIR += nvidia-texture-tools SUBDIR += ocaml-images SUBDIR += ocaml-lablgl SUBDIR += ocrad SUBDIR += ogre3d SUBDIR += ogre3d19 SUBDIR += oidn SUBDIR += okular SUBDIR += open3d SUBDIR += opencollada SUBDIR += opencolorio SUBDIR += opencolorio-tools SUBDIR += opencoloriov1 SUBDIR += opencsg SUBDIR += opencv SUBDIR += opendx SUBDIR += openexr SUBDIR += openfx-arena SUBDIR += openfx-misc SUBDIR += opengl-man SUBDIR += opengv SUBDIR += openicc-config SUBDIR += openimageio SUBDIR += openimageio-ociov1 SUBDIR += openjpeg SUBDIR += openjpeg15 SUBDIR += openjph SUBDIR += openjump SUBDIR += openmvs SUBDIR += opennurbs SUBDIR += openorienteering-mapper SUBDIR += openrm SUBDIR += openshadinglanguage SUBDIR += opensubdiv SUBDIR += openvkl SUBDIR += optar SUBDIR += optipng SUBDIR += osg SUBDIR += osg34 SUBDIR += osgearth SUBDIR += ospray SUBDIR += ospray-studio SUBDIR += ossim SUBDIR += oyranos SUBDIR += p5-Acme-Steganography-Image-Png SUBDIR += p5-Algorithm-Line-Bresenham SUBDIR += p5-Alien-Gimp SUBDIR += p5-Barcode-ZBar SUBDIR += p5-CAD-Drawing SUBDIR += p5-CAD-Drawing-Template SUBDIR += p5-Cairo SUBDIR += p5-Captcha-reCAPTCHA SUBDIR += p5-Captcha-reCAPTCHA-Mailhide SUBDIR += p5-Chart SUBDIR += p5-Chart-Clicker SUBDIR += p5-Chart-Gnuplot SUBDIR += p5-Chart-Graph SUBDIR += p5-Chart-PNGgraph SUBDIR += p5-Color-Calc SUBDIR += p5-Color-Library SUBDIR += p5-Color-Palette SUBDIR += p5-Color-Rgb SUBDIR += p5-Color-Scheme SUBDIR += p5-Convert-Color SUBDIR += p5-Convert-Color-XTerm SUBDIR += p5-Data-Google-Visualization-DataSource SUBDIR += p5-Data-Google-Visualization-DataTable SUBDIR += p5-GD SUBDIR += p5-GD-Arrow SUBDIR += p5-GD-Barcode SUBDIR += p5-GD-Graph SUBDIR += p5-GD-Graph-histogram SUBDIR += p5-GD-Graph-ohlc SUBDIR += p5-GD-Graph3d SUBDIR += p5-GD-SVG SUBDIR += p5-GD-TextUtil SUBDIR += p5-GD-Thumbnail SUBDIR += p5-Geo-EOP SUBDIR += p5-Geo-GDAL-FFI SUBDIR += p5-Geo-GML SUBDIR += p5-Geo-Gpx SUBDIR += p5-Geometry-Primitive SUBDIR += p5-Gimp SUBDIR += p5-Google-Chart SUBDIR += p5-Graph-Easy SUBDIR += p5-Graph-ReadWrite SUBDIR += p5-Graph-SocialMap SUBDIR += p5-Graph-Writer-GraphViz SUBDIR += p5-GraphViz SUBDIR += p5-GraphViz-Data-Structure SUBDIR += p5-GraphViz-Traverse SUBDIR += p5-GraphViz2 SUBDIR += p5-GraphViz2-DBI SUBDIR += p5-GraphViz2-Data-Grapher SUBDIR += p5-GraphViz2-Parse-ISA SUBDIR += p5-GraphViz2-Parse-RecDescent SUBDIR += p5-GraphViz2-Parse-XML SUBDIR += p5-Graphics-Color SUBDIR += p5-Graphics-ColorNames SUBDIR += p5-Graphics-ColorNames-WWW SUBDIR += p5-Graphics-ColorUtils SUBDIR += p5-Graphics-GnuplotIF SUBDIR += p5-Graphics-Primitive SUBDIR += p5-Graphics-Primitive-Driver-Cairo SUBDIR += p5-Graphics-TIFF SUBDIR += p5-Image-Base SUBDIR += p5-Image-Base-SVG SUBDIR += p5-Image-Caa SUBDIR += p5-Image-Compare SUBDIR += p5-Image-ExifTool SUBDIR += p5-Image-ExifTool-devel SUBDIR += p5-Image-Grab SUBDIR += p5-Image-Heatmap SUBDIR += p5-Image-IPTCInfo SUBDIR += p5-Image-Imgur SUBDIR += p5-Image-Imlib2 SUBDIR += p5-Image-Info SUBDIR += p5-Image-LibExif SUBDIR += p5-Image-Magick-Iterator SUBDIR += p5-Image-Math-Constrain SUBDIR += p5-Image-MetaData-GQview SUBDIR += p5-Image-MetaData-JPEG SUBDIR += p5-Image-OCR-Tesseract SUBDIR += p5-Image-ObjectDetect SUBDIR += p5-Image-PBMlib SUBDIR += p5-Image-PNG-Libpng SUBDIR += p5-Image-PNG-QRCode SUBDIR += p5-Image-Pngslimmer SUBDIR += p5-Image-Sane SUBDIR += p5-Image-Scale SUBDIR += p5-Image-Size SUBDIR += p5-Imager SUBDIR += p5-Imager-Graph SUBDIR += p5-Imager-Plot SUBDIR += p5-Imager-QRCode SUBDIR += p5-Imlib2 SUBDIR += p5-Layout-Manager SUBDIR += p5-OpenGL SUBDIR += p5-PGPLOT SUBDIR += p5-SVG-DOM2 SUBDIR += p5-SVG-Graph SUBDIR += p5-SVG-Metadata SUBDIR += p5-SWF-Builder SUBDIR += p5-SWF-File SUBDIR += p5-Sane SUBDIR += p5-SpringGraph SUBDIR += p5-Tk-JPEG-Lite SUBDIR += p5-URI-GoogleChart SUBDIR += p5-VCG SUBDIR += p5-Visio SUBDIR += p5-feedgnuplot SUBDIR += p5-ming SUBDIR += panoglview SUBDIR += panomatic SUBDIR += partio SUBDIR += pastel SUBDIR += pcl-pointclouds SUBDIR += pdf2svg SUBDIR += pdfpc SUBDIR += pear-Horde_Image SUBDIR += pear-Image_3D SUBDIR += pear-Image_Barcode SUBDIR += pear-Image_Barcode2 SUBDIR += pear-Image_Canvas SUBDIR += pear-Image_Color SUBDIR += pear-Image_Graph SUBDIR += pear-Image_GraphViz SUBDIR += pear-Image_Transform SUBDIR += pecl-imagick SUBDIR += pecl-imagick-im7 SUBDIR += pecl-qrencode SUBDIR += pecl-vips SUBDIR += pencil2d SUBDIR += peps SUBDIR += perceptualdiff SUBDIR += peruse SUBDIR += pfstools SUBDIR += pgplot SUBDIR += pho SUBDIR += photivo SUBDIR += photoflare SUBDIR += photopc SUBDIR += photoqt SUBDIR += phototonic SUBDIR += php-facedetect SUBDIR += php-geos SUBDIR += php74-exif SUBDIR += php74-gd SUBDIR += php80-exif SUBDIR += php80-gd SUBDIR += php81-exif SUBDIR += php81-gd SUBDIR += php82-exif SUBDIR += php82-gd SUBDIR += phplot SUBDIR += picpuz SUBDIR += piddle SUBDIR += piglit SUBDIR += pikchr SUBDIR += pikopixel SUBDIR += pinpoint SUBDIR += pinta SUBDIR += pixd SUBDIR += pixelize SUBDIR += pixen SUBDIR += pixie SUBDIR += plasma-kmod SUBDIR += plotutils SUBDIR += png SUBDIR += png++ SUBDIR += png2html SUBDIR += png2ico SUBDIR += pngcheck SUBDIR += pngcrush SUBDIR += pnglite SUBDIR += pngnq SUBDIR += pngquant SUBDIR += pngrewrite SUBDIR += pngwriter SUBDIR += podofo SUBDIR += polyclipping SUBDIR += poppler SUBDIR += poppler-data SUBDIR += poppler-glib SUBDIR += poppler-qt5 SUBDIR += poppler-qt6 SUBDIR += poppler-utils SUBDIR += potrace SUBDIR += povray-meta SUBDIR += povray36 SUBDIR += povray37 SUBDIR += povray38 SUBDIR += ppmcaption SUBDIR += ppminfo SUBDIR += ppsei SUBDIR += pqiv SUBDIR += preview SUBDIR += price SUBDIR += processing SUBDIR += proj SUBDIR += proj-data SUBDIR += pstoedit SUBDIR += ptex SUBDIR += py-OWSLib SUBDIR += py-PyOpenGL SUBDIR += py-PyOpenGL-accelerate SUBDIR += py-actdiag SUBDIR += py-altair SUBDIR += py-asciitree SUBDIR += py-beziers SUBDIR += py-blockdiag SUBDIR += py-blockdiagcontrib-cisco SUBDIR += py-box2d-py SUBDIR += py-cairo SUBDIR += py-cairocffi SUBDIR += py-cairosvg SUBDIR += py-cartopy SUBDIR += py-cogdumper SUBDIR += py-colour SUBDIR += py-descartes SUBDIR += py-django-easy-thumbnails SUBDIR += py-djvulibre SUBDIR += py-exifread SUBDIR += py-face_recognition SUBDIR += py-face_recognition_models SUBDIR += py-fiona SUBDIR += py-freeimagepy SUBDIR += py-gdal SUBDIR += py-geomdl SUBDIR += py-geopandas SUBDIR += py-giddy SUBDIR += py-gizeh SUBDIR += py-glfw SUBDIR += py-glooey SUBDIR += py-gphoto2 SUBDIR += py-gprof2dot SUBDIR += py-graphlib-backport SUBDIR += py-graphviz SUBDIR += py-graphy SUBDIR += py-gvgen SUBDIR += py-h3 SUBDIR += py-hiplot SUBDIR += py-imageio SUBDIR += py-imageio-ffmpeg SUBDIR += py-imagesize SUBDIR += py-img2pdf SUBDIR += py-leather SUBDIR += py-lerc SUBDIR += py-mapclassify SUBDIR += py-mayavi SUBDIR += py-mcomix SUBDIR += py-mgwr SUBDIR += py-ming SUBDIR += py-momepy SUBDIR += py-mpl-interactions SUBDIR += py-mpl-scatter-density SUBDIR += py-nwdiag SUBDIR += py-open3d-python SUBDIR += py-opencolorio SUBDIR += py-openimageio SUBDIR += py-openshadinglanguage SUBDIR += py-optimize-images SUBDIR += py-osmnet SUBDIR += py-pandana SUBDIR += py-photocollage SUBDIR += py-piexif SUBDIR += py-pillow SUBDIR += py-pivy SUBDIR += py-plotly SUBDIR += py-png SUBDIR += py-pointpats SUBDIR += py-projpicker SUBDIR += py-pycha SUBDIR += py-pycollada SUBDIR += py-pydot SUBDIR += py-pydotplus SUBDIR += py-pyepsg SUBDIR += py-pygal SUBDIR += py-pyganim SUBDIR += py-pygeoapi SUBDIR += py-pygeos SUBDIR += py-pyglet SUBDIR += py-pygraph SUBDIR += py-pygraphviz SUBDIR += py-pyinsane2 SUBDIR += py-pymaging SUBDIR += py-pymaging-png SUBDIR += py-pyocr SUBDIR += py-pypillowfight SUBDIR += py-pyproj SUBDIR += py-pyqrcode SUBDIR += py-pyqtgraph SUBDIR += py-pyrsgis SUBDIR += py-pytesseract SUBDIR += py-python-poppler-qt5 SUBDIR += py-pyvips SUBDIR += py-pyvista SUBDIR += py-pyx SUBDIR += py-qpageview SUBDIR += py-qrencode SUBDIR += py-railroad-diagrams SUBDIR += py-rasterio SUBDIR += py-rasterstats SUBDIR += py-rawkit SUBDIR += py-s2 SUBDIR += py-scikit-image SUBDIR += py-seqdiag SUBDIR += py-sorl-thumbnail SUBDIR += py-spectra SUBDIR += py-svg.path SUBDIR += py-svgwrite SUBDIR += py-termtosvg SUBDIR += py-tifffile SUBDIR += py-toyplot SUBDIR += py-traitsui SUBDIR += py-ueberzug SUBDIR += py-urbanaccess SUBDIR += py-urbansim SUBDIR += py-utm SUBDIR += py-vecrec SUBDIR += py-visvis SUBDIR += py-wand SUBDIR += py-webcolors SUBDIR += py-willow SUBDIR += py-yaswfp SUBDIR += py-zbar-py SUBDIR += qcomicbook SUBDIR += qcustomplot-qt5 SUBDIR += qgis SUBDIR += qgis-ltr SUBDIR += qiv SUBDIR += qr-code-generator SUBDIR += qt5-3d SUBDIR += qt5-graphicaleffects SUBDIR += qt5-imageformats SUBDIR += qt5-opengl SUBDIR += qt5-pixeltool SUBDIR += qt5-svg SUBDIR += qt5-wayland SUBDIR += qt6-3d SUBDIR += qt6-imageformats SUBDIR += qt6-lottie SUBDIR += qt6-svg SUBDIR += qt6-wayland SUBDIR += qtawesome SUBDIR += qtpbfimageplugin SUBDIR += qtqr SUBDIR += quat SUBDIR += quat-gui SUBDIR += quesa SUBDIR += quesoglc SUBDIR += quickqanava SUBDIR += qvge SUBDIR += radius-engine SUBDIR += rapid-photo-downloader SUBDIR += raster3d SUBDIR += rawstudio SUBDIR += rawtherapee SUBDIR += rayshade SUBDIR += reactphysics3d SUBDIR += reallyslick SUBDIR += realsr-ncnn-vulkan SUBDIR += recastnavigation SUBDIR += recoverjpeg SUBDIR += renrot SUBDIR += repng2jpeg SUBDIR += rgbpaint SUBDIR += rigsofrods-caelum SUBDIR += rigsofrods-pagedgeometry SUBDIR += ristretto SUBDIR += rlottie SUBDIR += ruby-gd SUBDIR += rubygem-cairo SUBDIR += rubygem-captcha SUBDIR += rubygem-chunky_png SUBDIR += rubygem-clutter SUBDIR += rubygem-clutter-gdk SUBDIR += rubygem-clutter-gtk SUBDIR += rubygem-dragonfly SUBDIR += rubygem-emoji SUBDIR += rubygem-exifr SUBDIR += rubygem-ezprint SUBDIR += rubygem-fastimage SUBDIR += rubygem-flamegraph SUBDIR += rubygem-gd2 SUBDIR += rubygem-gdk_pixbuf2 SUBDIR += rubygem-gemojione SUBDIR += rubygem-gemojione32 SUBDIR += rubygem-geokit SUBDIR += rubygem-gitlab_emoji SUBDIR += rubygem-gruff SUBDIR += rubygem-histogram SUBDIR += rubygem-image_processing SUBDIR += rubygem-image_science SUBDIR += rubygem-imagesize SUBDIR += rubygem-invisible_captcha SUBDIR += rubygem-mini_magick SUBDIR += rubygem-mini_magick410 SUBDIR += rubygem-objectdetect SUBDIR += rubygem-opengl SUBDIR += rubygem-pdfkit SUBDIR += rubygem-png SUBDIR += rubygem-railroad SUBDIR += rubygem-red-colors SUBDIR += rubygem-rmagick SUBDIR += rubygem-rsvg2 SUBDIR += rubygem-ruby-graphviz SUBDIR += rubygem-ruby-vips SUBDIR += rubygem-scruffy SUBDIR += rubygem-tanuki_emoji SUBDIR += rx SUBDIR += s10sh SUBDIR += s2 SUBDIR += s2tc SUBDIR += sage SUBDIR += sam2p SUBDIR += sampleicc SUBDIR += sane-airscan SUBDIR += sane-backends SUBDIR += sane-epkowa SUBDIR += scale2x SUBDIR += scantailor SUBDIR += scr2png SUBDIR += scrot SUBDIR += scwm-icons SUBDIR += sdl2_gfx SUBDIR += sdl2_image SUBDIR += sdl2_ttf SUBDIR += sdl_gfx SUBDIR += sdl_image SUBDIR += sdl_ttf SUBDIR += sdump SUBDIR += seejpeg SUBDIR += seexpr SUBDIR += sekrit-twc-zimg SUBDIR += seom SUBDIR += separate SUBDIR += seq2gif SUBDIR += shaderc SUBDIR += shared-color-profiles SUBDIR += sharpconstruct SUBDIR += shotwell SUBDIR += showimage SUBDIR += silgraphite SUBDIR += simage SUBDIR += simple-scan SUBDIR += simpleviewer SUBDIR += skanlite SUBDIR += skanpage SUBDIR += spectacle SUBDIR += spirv-tools SUBDIR += springgraph SUBDIR += squish SUBDIR += ssocr SUBDIR += sswf SUBDIR += stamp SUBDIR += svg2pdf SUBDIR += svg2png SUBDIR += svgalib SUBDIR += svgbob SUBDIR += swappy SUBDIR += swfmill SUBDIR += swftools SUBDIR += synaesthesia SUBDIR += synfig SUBDIR += synfigstudio SUBDIR += tachyon SUBDIR += telak SUBDIR += tesseract SUBDIR += tesseract-data SUBDIR += tgif SUBDIR += tif22pnm SUBDIR += tiff SUBDIR += tiffgt SUBDIR += tifmerge SUBDIR += tikzit SUBDIR += tiled SUBDIR += timeless SUBDIR += timg SUBDIR += tintfu SUBDIR += tinyows SUBDIR += tkpng SUBDIR += togl SUBDIR += tslib SUBDIR += ttygif SUBDIR += ttyplot SUBDIR += tumble SUBDIR += tweeny SUBDIR += ufraw SUBDIR += unpaper SUBDIR += urho3d SUBDIR += urt SUBDIR += vapoursynth-fmtconv SUBDIR += vapoursynth-waifu2x-ncnn-vulkan SUBDIR += vapoursynth-waifu2x-w2xc SUBDIR += variety SUBDIR += vcg SUBDIR += viewnior SUBDIR += vigra SUBDIR += vips SUBDIR += visprint SUBDIR += viu SUBDIR += vkd3d SUBDIR += volpack SUBDIR += vp SUBDIR += vpaint SUBDIR += vulkan-caps-viewer SUBDIR += vulkan-extension-layer SUBDIR += vulkan-headers SUBDIR += vulkan-loader SUBDIR += vulkan-tools SUBDIR += vulkan-validation-layers SUBDIR += vv SUBDIR += waffle SUBDIR += waifu2x-converter-cpp SUBDIR += waifu2x-ncnn-vulkan SUBDIR += wayland SUBDIR += wayland-protocols SUBDIR += wayland-utils SUBDIR += waylandpp SUBDIR += wdune SUBDIR += webp SUBDIR += webp-pixbuf-loader SUBDIR += wings SUBDIR += wmicons SUBDIR += wrapland SUBDIR += wxsvg SUBDIR += xaos SUBDIR += xbmbrowser SUBDIR += xcftools SUBDIR += xd3d SUBDIR += xdgagrab SUBDIR += xfig SUBDIR += xfpovray SUBDIR += xfractint SUBDIR += xglurbules SUBDIR += xgrasp SUBDIR += xli SUBDIR += xmedcon SUBDIR += xmlgraphics-commons SUBDIR += xmountains SUBDIR += xnview SUBDIR += xoris SUBDIR += xournal SUBDIR += xournalpp SUBDIR += xpaint SUBDIR += xpdf SUBDIR += xpdf3 SUBDIR += xpdf4 SUBDIR += xpeps SUBDIR += xpx SUBDIR += xsane SUBDIR += xsvg SUBDIR += xtexcad SUBDIR += xv SUBDIR += xv-m17n SUBDIR += xviewer SUBDIR += xwpick SUBDIR += xzgv SUBDIR += yacreader SUBDIR += yafaray SUBDIR += yed SUBDIR += yukon SUBDIR += zathura SUBDIR += zathura-cb SUBDIR += zathura-djvu SUBDIR += zathura-pdf-mupdf SUBDIR += zathura-pdf-poppler SUBDIR += zathura-ps SUBDIR += zbar SUBDIR += zgv SUBDIR += zimg SUBDIR += zint SUBDIR += zphoto .include diff --git a/graphics/igt-gpu-tools/Makefile b/graphics/igt-gpu-tools/Makefile new file mode 100644 index 000000000000..e7a9a1ce4eab --- /dev/null +++ b/graphics/igt-gpu-tools/Makefile @@ -0,0 +1,70 @@ +PORTNAME= igt-gpu-tools +DISTVERSION= 1.26.1266 +CATEGORIES= graphics + +MAINTAINER= jfree@FreeBSD.org +COMMENT= IGT gpu tools and tests +WWW= https://drm.pages.freedesktop.org/igt-gpu-tools/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING + +IGNORE_FreeBSD_12= unsupported on FreeBSD versions < 13.1 + +BUILD_DEPENDS= rst2man:textproc/py-docutils@${PY_FLAVOR} +LIB_DEPENDS= libdrm.so:graphics/libdrm \ + libdw.so:devel/elfutils \ + libpciaccess.so:devel/libpciaccess \ + libudev.so:devel/libudev-devd + +USES= bison gnome meson pkgconfig python shebangfix xorg + +USE_GITLAB= yes +GL_SITE= https://gitlab.freedesktop.org +GL_ACCOUNT= drm +GL_COMMIT= 9338ab3ec085292817ab1e74d1f2fb90b6a98332 + +USE_GNOME= cairo glib20 + +USE_LDCONFIG= yes + +USE_XORG= pixman + +SHEBANG_FILES= scripts/code_cov_gather_on_test scripts/code_cov_parse_info + +OPTIONS_DEFINE= CHAMELIUM DOCS RUNNER TEST +OPTIONS_DEFAULT= DOCS RUNNER TEST + +OPTIONS_SUB= yes + +CHAMELIUM_DESC= Build chamelium display tests +RUNNER_DESC= Build test runner + +CHAMELIUM_IMPLIES= TEST +CHAMELIUM_LIB_DEPENDS= libasound.so:audio/alsa-lib \ + libcurl.so:ftp/curl \ + libgsl.so:math/gsl \ + libxmlrpc.so:net/xmlrpc-c +CHAMELIUM_MESON_ENABLED= chamelium + +DOCS_IMPLIES= TEST +DOCS_BUILD_DEPENDS= gtkdoc-mkhtml:textproc/gtk-doc +DOCS_MESON_ENABLED= docs + +RUNNER_IMPLIES= TEST +RUNNER_LIB_DEPENDS= libjson-c.so:devel/json-c \ + liboping.so:net/liboping +RUNNER_MESON_ENABLED= runner + +TEST_LIB_DEPENDS= libunwind.so:devel/libunwind +TEST_MESON_ENABLED= tests + +.include + +.if ${ARCH} == "amd64" +PLIST_SUB+= AMD64="" +.else +PLIST_SUB+= AMD64="@comment " +.endif + +.include diff --git a/graphics/igt-gpu-tools/distinfo b/graphics/igt-gpu-tools/distinfo new file mode 100644 index 000000000000..d1c1376ca171 --- /dev/null +++ b/graphics/igt-gpu-tools/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1661919740 +SHA256 (drm-igt-gpu-tools-9338ab3ec085292817ab1e74d1f2fb90b6a98332_GL0.tar.gz) = c1b1ce7c3370e4e7030c76d43a312ba655d567c8f427b48f451525f81ef0a833 +SIZE (drm-igt-gpu-tools-9338ab3ec085292817ab1e74d1f2fb90b6a98332_GL0.tar.gz) = 2936270 diff --git a/graphics/igt-gpu-tools/files/patch-benchmarks_gem__exec__tracer.c b/graphics/igt-gpu-tools/files/patch-benchmarks_gem__exec__tracer.c new file mode 100644 index 000000000000..59708e57f20e --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-benchmarks_gem__exec__tracer.c @@ -0,0 +1,13 @@ +--- benchmarks/gem_exec_tracer.c.orig 2022-08-31 20:00:00 UTC ++++ benchmarks/gem_exec_tracer.c +@@ -41,6 +41,10 @@ + #include "intel_aub.h" + #include "intel_chipset.h" + ++#ifdef __FreeBSD__ ++#define _IOC_TYPE(nr) (((nr) >> 8) & 255) ++#endif ++ + static int (*libc_close)(int fd); + static int (*libc_ioctl)(int fd, unsigned long request, void *argp); + diff --git a/graphics/igt-gpu-tools/files/patch-benchmarks_gem__syslatency.c b/graphics/igt-gpu-tools/files/patch-benchmarks_gem__syslatency.c new file mode 100644 index 000000000000..717c89777bae --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-benchmarks_gem__syslatency.c @@ -0,0 +1,24 @@ +--- benchmarks/gem_syslatency.c.orig 2022-08-31 20:00:00 UTC ++++ benchmarks/gem_syslatency.c +@@ -42,12 +42,21 @@ + #include + #include "drm.h" + ++#ifdef __linux__ + #include ++#elif defined(__FreeBSD__) ++#include ++#define MAP_POPULATE MAP_PREFAULT_READ ++#define gettid() getpid() ++#define MADV_HUGEPAGE MADV_SEQUENTIAL ++#endif + + #include "i915/gem_create.h" + #include "i915/gem_ring.h" + ++#ifdef __linux__ + #define sigev_notify_thread_id _sigev_un._tid ++#endif + + static volatile int done; + diff --git a/graphics/igt-gpu-tools/files/patch-include_linux-uapi_sync__file.h b/graphics/igt-gpu-tools/files/patch-include_linux-uapi_sync__file.h new file mode 100644 index 000000000000..9fa37118dde4 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-include_linux-uapi_sync__file.h @@ -0,0 +1,19 @@ +--- include/linux-uapi/sync_file.h.orig 2022-08-31 20:00:01 UTC ++++ include/linux-uapi/sync_file.h +@@ -12,8 +12,16 @@ + #ifndef _LINUX_SYNC_H + #define _LINUX_SYNC_H + ++#ifdef __linux__ + #include + #include ++#elif defined(__FreeBSD__) ++#include ++#include ++#define __s32 int32_t ++#define __u32 uint32_t ++#define __u64 uint64_t ++#endif + + /** + * struct sync_merge_data - data passed to merge ioctl diff --git a/graphics/igt-gpu-tools/files/patch-lib_i915_gem__engine__topology.c b/graphics/igt-gpu-tools/files/patch-lib_i915_gem__engine__topology.c new file mode 100644 index 000000000000..8ee04959a904 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_i915_gem__engine__topology.c @@ -0,0 +1,13 @@ +--- lib/i915/gem_engine_topology.c.orig 2022-08-31 20:00:01 UTC ++++ lib/i915/gem_engine_topology.c +@@ -88,6 +88,10 @@ + */ + #define SIZEOF_QUERY offsetof(struct drm_i915_query_engine_info, \ + engines[GEM_MAX_ENGINES]) ++#ifdef __FreeBSD__ ++#define SYS_getdents64 SYS_freebsd11_getdents ++#define ino64_t ino_t ++#endif + + static int __gem_query(int fd, struct drm_i915_query *q) + { diff --git a/graphics/igt-gpu-tools/files/patch-lib_i915_gem__mman.c b/graphics/igt-gpu-tools/files/patch-lib_i915_gem__mman.c new file mode 100644 index 000000000000..d16771ef15b1 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_i915_gem__mman.c @@ -0,0 +1,14 @@ +--- lib/i915/gem_mman.c.orig 2022-08-31 20:00:01 UTC ++++ lib/i915/gem_mman.c +@@ -44,6 +44,11 @@ + #define VG(x) do {} while (0) + #endif + ++#ifdef __FreeBSD__ ++#define mmap64(addr, len, prot, flags, fd, offset) \ ++ mmap(addr, len, prot, flags, fd, offset) ++#endif ++ + static int gem_mmap_gtt_version(int fd) + { + struct drm_i915_getparam gp; diff --git a/graphics/igt-gpu-tools/files/patch-lib_i915_intel__memory__region.c b/graphics/igt-gpu-tools/files/patch-lib_i915_intel__memory__region.c new file mode 100644 index 000000000000..c4f07d793b96 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_i915_intel__memory__region.c @@ -0,0 +1,14 @@ +--- lib/i915/intel_memory_region.c.orig 2022-08-31 20:00:01 UTC ++++ lib/i915/intel_memory_region.c +@@ -21,7 +21,11 @@ + * IN THE SOFTWARE. + */ + ++#ifdef __linux__ + #include ++#elif defined(__FreeBSD__) ++#include ++#endif + #include + #include + #include diff --git a/graphics/igt-gpu-tools/files/patch-lib_i915_perf.c b/graphics/igt-gpu-tools/files/patch-lib_i915_perf.c new file mode 100644 index 000000000000..91b6cf3bde11 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_i915_perf.c @@ -0,0 +1,12 @@ +--- lib/i915/perf.c.orig 2022-08-31 20:00:01 UTC ++++ lib/i915/perf.c +@@ -29,7 +29,9 @@ + #include + #include + #include ++#ifdef __linux__ + #include ++#endif + #include + #include + diff --git a/graphics/igt-gpu-tools/files/patch-lib_igt__audio.c b/graphics/igt-gpu-tools/files/patch-lib_igt__audio.c new file mode 100644 index 000000000000..bb6d184cae02 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_igt__audio.c @@ -0,0 +1,13 @@ +--- lib/igt_audio.c.orig 2022-08-31 20:00:01 UTC ++++ lib/igt_audio.c +@@ -26,6 +26,10 @@ + + #include "config.h" + ++#ifdef __FreeBSD__ ++#include ++#endif ++ + #include + #include + #include diff --git a/graphics/igt-gpu-tools/files/patch-lib_igt__aux.c b/graphics/igt-gpu-tools/files/patch-lib_igt__aux.c new file mode 100644 index 000000000000..77a1539a3e4f --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_igt__aux.c @@ -0,0 +1,75 @@ +--- lib/igt_aux.c.orig 2022-08-31 20:00:01 UTC ++++ lib/igt_aux.c +@@ -52,7 +52,9 @@ + #include + #include + ++#ifdef __linux__ + #include ++#endif + #include + + #include "drmtest.h" +@@ -75,6 +77,12 @@ + #include /* for dirname() */ + #endif + ++#ifdef __FreeBSD__ ++typedef struct { char state; } proc_t; ++#define gettid() getpid() ++#define setpgrp() setpgid(0, 0) ++#endif ++ + /** + * SECTION:igt_aux + * @short_description: Auxiliary libraries and support functions +@@ -1206,6 +1214,7 @@ void igt_unlock_mem(void) + locked_mem = NULL; + } + ++#ifdef __linux__ + /** + * igt_is_process_running: + * @comm: Name of process in the form found in /proc/pid/comm (limited to 15 +@@ -1780,6 +1789,41 @@ igt_lsof_kill_audio_processes(void) + + return fail; + } ++#elif defined(__FreeBSD__) ++int ++igt_is_process_running(const char *comm) ++{ ++ return -ENOSYS; ++} ++ ++int ++igt_terminate_process(int sig, const char *comm) ++{ ++ return -ENOSYS; ++} ++ ++void ++igt_lsof(const char *dpath) ++{ ++} ++ ++int ++igt_lsof_kill_audio_processes(void) ++{ ++ return -ENOSYS; ++} ++ ++int ++pipewire_pulse_start_reserve(void) ++{ ++ return -ENOSYS; ++} ++ ++void ++pipewire_pulse_stop_reserve(void) ++{ ++} ++#endif /* __linux__ */ + + static struct igt_siglatency { + timer_t timer; diff --git a/graphics/igt-gpu-tools/files/patch-lib_igt__aux.h b/graphics/igt-gpu-tools/files/patch-lib_igt__aux.h new file mode 100644 index 000000000000..fc083392b2e7 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_igt__aux.h @@ -0,0 +1,23 @@ +--- lib/igt_aux.h.orig 2022-08-31 20:00:01 UTC ++++ lib/igt_aux.h +@@ -34,9 +34,7 @@ + #include + #include + #include +-#ifdef __linux__ +-# include +-#endif ++#include + + #include + +@@ -48,8 +46,8 @@ + # ifndef HAVE_GETTID + # define gettid() (pid_t)(syscall(__NR_gettid)) + # endif +-#endif + #define sigev_notify_thread_id _sigev_un._tid ++#endif + + /* auxialiary igt helpers from igt_aux.c */ + /* generally useful helpers */ diff --git a/graphics/igt-gpu-tools/files/patch-lib_igt__core.c b/graphics/igt-gpu-tools/files/patch-lib_igt__core.c new file mode 100644 index 000000000000..012fae47e743 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_igt__core.c @@ -0,0 +1,54 @@ +--- lib/igt_core.c.orig 2022-08-31 20:00:01 UTC ++++ lib/igt_core.c +@@ -43,7 +43,7 @@ + #include + #include + #include +-#ifdef __linux__ ++#if defined(__linux__) || defined(__FreeBSD__) + #include + #endif + #include +@@ -85,6 +85,12 @@ + #include /* for basename() on Solaris */ + #endif + ++#ifdef __FreeBSD__ ++#define gettid() getpid() ++#define pthread_sigqueue(pid, signo, value) sigqueue(pid, signo, value) ++#define sighandler_t sig_t ++#endif ++ + /** + * SECTION:igt_core + * @short_description: Core i-g-t testing support +@@ -786,6 +792,7 @@ static void oom_adjust_for_doom(void) + + static void oom_adjust_for_doom(void) + { ++#ifdef __linux__ + int fd; + const char always_kill[] = "1000"; + +@@ -793,7 +800,7 @@ static void oom_adjust_for_doom(void) + igt_assert(fd != -1); + igt_assert(write(fd, always_kill, sizeof(always_kill)) == sizeof(always_kill)); + close(fd); +- ++#endif + } + + /** +@@ -2223,7 +2230,12 @@ bool __igt_fork_helper(struct igt_helper_process *proc + igt_assert(0); + case 0: + reset_helper_process_list(); ++#ifdef __linux__ + oom_adjust_for_doom(); ++#elif defined(__FreeBSD__) ++ /* not a great substitution for oom_adjust_for_doom() */ ++ raise(SIGTERM); ++#endif + + return true; + default: diff --git a/graphics/igt-gpu-tools/files/patch-lib_igt__core.h b/graphics/igt-gpu-tools/files/patch-lib_igt__core.h new file mode 100644 index 000000000000..42c8b79da821 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_igt__core.h @@ -0,0 +1,23 @@ +--- lib/igt_core.h.orig 2022-08-31 20:00:01 UTC ++++ lib/igt_core.h +@@ -31,7 +31,9 @@ + #define IGT_CORE_H + + #include ++#ifdef __linux__ + #include ++#endif + #include + #include + #include +@@ -47,6 +49,10 @@ + #define IGT_LOG_DOMAIN (NULL) + #endif + ++#ifdef __FreeBSD__ ++#include ++#define jmp_buf sigjmp_buf ++#endif + + #ifndef STATIC_ANALYSIS_BUILD + #if defined(__clang_analyzer__) || defined(__COVERITY__) || defined(__KLOCWORK__) diff --git a/graphics/igt-gpu-tools/files/patch-lib_igt__debugfs.c b/graphics/igt-gpu-tools/files/patch-lib_igt__debugfs.c new file mode 100644 index 000000000000..101d77f388e3 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_igt__debugfs.c @@ -0,0 +1,23 @@ +--- lib/igt_debugfs.c.orig 2022-08-31 20:00:01 UTC ++++ lib/igt_debugfs.c +@@ -25,7 +25,9 @@ + #include + #include + #include ++#ifdef __linux__ + #include ++#endif + #include + #include + #include +@@ -42,6 +44,10 @@ + #include "igt_kms.h" + #include "igt_debugfs.h" + #include "igt_sysfs.h" ++ ++#ifdef __FreeBSD__ ++#define mount(src, dest, fstype, flags, data) mount(fstype, dest, flags, data) ++#endif + + /** + * SECTION:igt_debugfs diff --git a/graphics/igt-gpu-tools/files/patch-lib_igt__device.c b/graphics/igt-gpu-tools/files/patch-lib_igt__device.c new file mode 100644 index 000000000000..edaf51f33e21 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_igt__device.c @@ -0,0 +1,12 @@ +--- lib/igt_device.c.orig 2022-08-31 20:00:01 UTC ++++ lib/igt_device.c +@@ -25,7 +25,9 @@ + #include + + #include ++#ifdef __linux__ + #include ++#endif + #include "igt.h" + #include "igt_device.h" + #include "igt_sysfs.h" diff --git a/graphics/igt-gpu-tools/files/patch-lib_igt__device__scan.c b/graphics/igt-gpu-tools/files/patch-lib_igt__device__scan.c new file mode 100644 index 000000000000..ece786e14737 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_igt__device__scan.c @@ -0,0 +1,14 @@ +--- lib/igt_device_scan.c.orig 2022-08-31 20:00:01 UTC ++++ lib/igt_device_scan.c +@@ -32,7 +32,11 @@ + #include + #include + #include ++#ifdef __linux__ + #include ++#elif defined(__FreeBSD__) ++#include ++#endif + #include + #include + #include diff --git a/graphics/igt-gpu-tools/files/patch-lib_igt__dummyload.c b/graphics/igt-gpu-tools/files/patch-lib_igt__dummyload.c new file mode 100644 index 000000000000..d97cc17f961d --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_igt__dummyload.c @@ -0,0 +1,29 @@ +--- lib/igt_dummyload.c.orig 2022-08-31 20:00:01 UTC ++++ lib/igt_dummyload.c +@@ -26,7 +26,9 @@ + #include + #include + #include ++#ifdef __linux__ + #include ++#endif + + #include + +@@ -523,6 +525,8 @@ void igt_spin_set_timeout(igt_spin_t *spin, int64_t ns + */ + void igt_spin_set_timeout(igt_spin_t *spin, int64_t ns) + { ++/* TODO: FreeBSD - POSIX TIMER */ ++#ifdef __linux__ + struct sched_param param = { .sched_priority = 99 }; + struct itimerspec its; + pthread_attr_t attr; +@@ -554,6 +558,7 @@ void igt_spin_set_timeout(igt_spin_t *spin, int64_t ns + its.it_value.tv_sec = ns / NSEC_PER_SEC; + its.it_value.tv_nsec = ns % NSEC_PER_SEC; + igt_assert(timerfd_settime(timerfd, 0, &its, NULL) == 0); ++#endif + } + + static void sync_write(igt_spin_t *spin, uint32_t value) diff --git a/graphics/igt-gpu-tools/files/patch-lib_igt__eld.c b/graphics/igt-gpu-tools/files/patch-lib_igt__eld.c new file mode 100644 index 000000000000..ed32b1dafcaa --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_igt__eld.c @@ -0,0 +1,13 @@ +--- lib/igt_eld.c.orig 2022-08-31 20:00:01 UTC ++++ lib/igt_eld.c +@@ -23,6 +23,10 @@ + * Authors: Simon Ser + */ + ++#ifdef __FreeBSD__ ++#include ++#endif ++ + #include "config.h" + + #include diff --git a/graphics/igt-gpu-tools/files/patch-lib_igt__frame.c b/graphics/igt-gpu-tools/files/patch-lib_igt__frame.c new file mode 100644 index 000000000000..475a54bf3c5f --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_igt__frame.c @@ -0,0 +1,13 @@ +--- lib/igt_frame.c.orig 2022-08-31 20:00:01 UTC ++++ lib/igt_frame.c +@@ -24,6 +24,10 @@ + * Paul Kocialkowski + */ + ++#ifdef __FreeBSD__ ++#include ++#endif ++ + #include "config.h" + + #include diff --git a/graphics/igt-gpu-tools/files/patch-lib_igt__kmod.c b/graphics/igt-gpu-tools/files/patch-lib_igt__kmod.c new file mode 100644 index 000000000000..d30a18aecc7d --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_igt__kmod.c @@ -0,0 +1,131 @@ +--- lib/igt_kmod.c.orig 2022-08-31 20:00:01 UTC ++++ lib/igt_kmod.c +@@ -32,6 +32,7 @@ + #include "igt_sysfs.h" + #include "igt_taints.h" + ++#ifdef __linux__ + /** + * SECTION:igt_kmod + * @short_description: Wrappers around libkmod for module loading/unloading +@@ -853,3 +854,120 @@ void igt_kselftests(const char *module_name, + + igt_kselftest_fini(&tst); + } ++#elif defined(__FreeBSD__) ++struct kmod_module { ++ size_t size; ++}; ++ ++bool ++igt_kmod_is_loaded(const char *mod_name) ++{ ++ return false; ++} ++ ++void ++igt_kmod_list_loaded(void) ++{ ++} ++ ++bool ++igt_kmod_has_param(const char *mod_name, const char *param) ++{ ++ return false; ++} ++ ++int ++igt_kmod_load(const char *mod_name, const char *opts) ++{ ++ return -ENOSYS; ++} ++ ++int ++igt_kmod_unload(const char *mod_name, unsigned int flags) ++{ ++ return -ENOSYS; ++} ++ ++int ++igt_audio_driver_unload(char **whom) ++{ ++ return -ENOSYS; ++} ++ ++int ++igt_i915_driver_load(const char *opts) ++{ ++ return -ENOSYS; ++} ++ ++int ++igt_i915_driver_unload(void) ++{ ++ return -ENOSYS; ++} ++ ++int ++__igt_i915_driver_unload(char **whom) ++{ ++ return -ENOSYS; ++} ++ ++int ++igt_amdgpu_driver_load(const char *opts) ++{ ++ return -ENOSYS; ++} ++ ++int ++igt_amdgpu_driver_unload(void) ++{ ++ return -ENOSYS; ++} ++ ++void ++igt_kselftests(const char *module_name, ++ const char *module_options, ++ const char *result_option, ++ const char *filter) ++{ ++} ++ ++int ++igt_kselftest_init(struct igt_kselftest *tst, ++ const char *module_name) ++{ ++ return -ENOSYS; ++} ++ ++int ++igt_kselftest_begin(struct igt_kselftest *tst) ++{ ++ return -ENOSYS; ++} ++ ++void ++igt_kselftest_get_tests(struct kmod_module *kmod, ++ const char *filter, ++ struct igt_list_head *tests) ++{ ++} ++ ++int ++igt_kselftest_execute(struct igt_kselftest *tst, ++ struct igt_kselftest_list *tl, ++ const char *module_options, ++ const char *result) ++{ ++ return -ENOSYS; ++} ++ ++void ++igt_kselftest_end(struct igt_kselftest *tst) ++{ ++} ++ ++void ++igt_kselftest_fini(struct igt_kselftest *tst) ++{ ++} ++#endif /* __linux__ */ diff --git a/graphics/igt-gpu-tools/files/patch-lib_igt__kmod.h b/graphics/igt-gpu-tools/files/patch-lib_igt__kmod.h new file mode 100644 index 000000000000..0714358f05d6 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_igt__kmod.h @@ -0,0 +1,12 @@ +--- lib/igt_kmod.h.orig 2022-08-31 20:00:01 UTC ++++ lib/igt_kmod.h +@@ -24,7 +24,9 @@ + #ifndef IGT_KMOD_H + #define IGT_KMOD_H + ++#ifdef __linux__ + #include ++#endif + + #include "igt_list.h" + diff --git a/graphics/igt-gpu-tools/files/patch-lib_igt__kms.c b/graphics/igt-gpu-tools/files/patch-lib_igt__kms.c new file mode 100644 index 000000000000..35efd4de24aa --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_igt__kms.c @@ -0,0 +1,13 @@ +--- lib/igt_kms.c.orig 2022-08-31 20:00:01 UTC ++++ lib/igt_kms.c +@@ -43,6 +43,10 @@ + #include + #endif + ++#ifdef __FreeBSD__ ++#include ++#endif ++ + #include + #include + #include diff --git a/graphics/igt-gpu-tools/files/patch-lib_igt__os.c b/graphics/igt-gpu-tools/files/patch-lib_igt__os.c new file mode 100644 index 000000000000..902dba8cb6e0 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_igt__os.c @@ -0,0 +1,42 @@ +--- lib/igt_os.c.orig 2022-08-31 20:00:01 UTC ++++ lib/igt_os.c +@@ -44,6 +44,9 @@ + #include + #elif defined(HAVE_SWAPCTL) /* Solaris */ + #include ++#elif defined(__FreeBSD__) ++#include ++#include + #endif + #include + +@@ -148,6 +151,15 @@ igt_get_avail_ram_mb(void) + npages = sysconf(_SC_AVPHYS_PAGES); + + retval = (uint64_t) pagesize * npages; ++#elif defined(__FreeBSD__) /* FreeBSD */ ++ uint64_t npages, pagesize; ++ size_t npages_len = sizeof(npages); ++ size_t pagesize_len = sizeof(pagesize); ++ ++ sysctlbyname("vm.stats.vm.v_free_count", &npages, &npages_len, NULL, 0); ++ sysctlbyname("vm.stats.vm.v_page_size", &pagesize, &pagesize_len, NULL, 0); ++ ++ retval = pagesize * npages; + #else + #error "Unknown how to get available RAM for this OS" + #endif +@@ -210,6 +222,13 @@ igt_get_total_swap_mb(void) + free(buf); + + retval = (uint64_t) pagesize * totalpages; ++#elif defined(__FreeBSD__) /* FreeBSD */ ++ uint64_t swap_total; ++ size_t swap_total_len = sizeof(swap_total); ++ ++ sysctlbyname("vm.swap_total", &swap_total, &swap_total_len, NULL, 0); ++ ++ retval = swap_total; + #else + #warning "Unknown how to get swap size for this OS" + return 0; diff --git a/graphics/igt-gpu-tools/files/patch-lib_igt__perf.c b/graphics/igt-gpu-tools/files/patch-lib_igt__perf.c new file mode 100644 index 000000000000..c1fadfe1b86f --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_igt__perf.c @@ -0,0 +1,78 @@ +--- lib/igt_perf.c.orig 2022-08-31 20:00:01 UTC ++++ lib/igt_perf.c +@@ -4,13 +4,16 @@ + #include + #include + #include ++#ifdef __linux__ + #include + #include ++#endif + #include + #include + + #include "igt_perf.h" + ++#ifdef __linux__ + static char *bus_address(int i915, char *path, int pathlen) + { + struct stat st; +@@ -157,3 +160,58 @@ int igt_perf_open_group(uint64_t type, uint64_t config + return _perf_open(type, config, group, + PERF_FORMAT_TOTAL_TIME_ENABLED | PERF_FORMAT_GROUP); + } ++#elif defined(__FreeBSD__) ++uint64_t ++igt_perf_type_id(const char *device) ++{ ++ return -ENOSYS; ++} ++ ++int ++igt_perf_open(uint64_t type, uint64_t config) ++{ ++ return -ENOSYS; ++} ++ ++int ++igt_perf_open_group(uint64_t type, uint64_t config, int group) ++{ ++ return -ENOSYS; ++} ++ ++const char * ++i915_perf_device(int i915, char *buf, int buflen) ++{ ++ return strerror(ENOSYS); ++} ++ ++uint64_t ++i915_perf_type_id(int i915) ++{ ++ return -ENOSYS; ++} ++ ++int ++perf_igfx_open(uint64_t config) ++{ ++ return -ENOSYS; ++} ++ ++int ++perf_igfx_open_group(uint64_t config, int group) ++{ ++ return -ENOSYS; ++} ++ ++int ++perf_i915_open(int i915, uint64_t config) ++{ ++ return -ENOSYS; ++} ++ ++int ++perf_i915_open_group(int i915, uint64_t config, int group) ++{ ++ return -ENOSYS; ++} ++#endif /* __linux__ */ diff --git a/graphics/igt-gpu-tools/files/patch-lib_igt__perf.h b/graphics/igt-gpu-tools/files/patch-lib_igt__perf.h new file mode 100644 index 000000000000..f5d652c6e3b0 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_igt__perf.h @@ -0,0 +1,24 @@ +--- lib/igt_perf.h.orig 2022-08-31 20:00:01 UTC ++++ lib/igt_perf.h +@@ -27,10 +27,13 @@ + + #include + ++#ifdef __linux__ + #include ++#endif + + #include "igt_gt.h" + ++#ifdef __linux__ + static inline int + perf_event_open(struct perf_event_attr *attr, + pid_t pid, +@@ -50,6 +53,7 @@ perf_event_open(struct perf_event_attr *attr, + attr->size = sizeof(*attr); + return syscall(__NR_perf_event_open, attr, pid, cpu, group_fd, flags); + } ++#endif /* __linux__ */ + + uint64_t igt_perf_type_id(const char *device); + int igt_perf_open(uint64_t type, uint64_t config); diff --git a/graphics/igt-gpu-tools/files/patch-lib_igt__pm.c b/graphics/igt-gpu-tools/files/patch-lib_igt__pm.c new file mode 100644 index 000000000000..fa97f51239d0 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_igt__pm.c @@ -0,0 +1,12 @@ +--- lib/igt_pm.c.orig 2022-08-31 20:00:01 UTC ++++ lib/igt_pm.c +@@ -33,7 +33,9 @@ + #include + #include + #include ++#ifdef __linux__ + #include ++#endif + #include + #include + diff --git a/graphics/igt-gpu-tools/files/patch-lib_igt__syncobj.c b/graphics/igt-gpu-tools/files/patch-lib_igt__syncobj.c new file mode 100644 index 000000000000..eb8f8380676a --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_igt__syncobj.c @@ -0,0 +1,13 @@ +--- lib/igt_syncobj.c.orig 2022-08-31 20:00:01 UTC ++++ lib/igt_syncobj.c +@@ -27,6 +27,10 @@ + #include "igt.h" + #include "igt_syncobj.h" + ++#ifdef __FreeBSD__ ++#define ETIME ETIMEDOUT ++#endif ++ + /** + * SECTION:igt_syncobj + * @short_description: Library with syncobj helpers diff --git a/graphics/igt-gpu-tools/files/patch-lib_igt__sysfs.c b/graphics/igt-gpu-tools/files/patch-lib_igt__sysfs.c new file mode 100644 index 000000000000..c91daf3c60c7 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_igt__sysfs.c @@ -0,0 +1,12 @@ +--- lib/igt_sysfs.c.orig 2022-08-31 20:00:01 UTC ++++ lib/igt_sysfs.c +@@ -24,7 +24,9 @@ + + #include + #include ++#ifdef __linux__ + #include ++#endif + #include + #include + #include diff --git a/graphics/igt-gpu-tools/files/patch-lib_igt__vgem.c b/graphics/igt-gpu-tools/files/patch-lib_igt__vgem.c new file mode 100644 index 000000000000..4275ab123563 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_igt__vgem.c @@ -0,0 +1,14 @@ +--- lib/igt_vgem.c.orig 2022-08-31 20:00:01 UTC ++++ lib/igt_vgem.c +@@ -30,6 +30,11 @@ + #include "igt_core.h" + #include "ioctl_wrappers.h" + ++#ifdef __FreeBSD__ ++#define mmap64(addr, len, prot, flags, fd, offset) \ ++ mmap(addr, len, prot, flags, fd, offset) ++#endif ++ + /** + * SECTION:igt_vgem + * @short_description: VGEM support library diff --git a/graphics/igt-gpu-tools/files/patch-lib_intel__allocator.c b/graphics/igt-gpu-tools/files/patch-lib_intel__allocator.c new file mode 100644 index 000000000000..4ec51825f371 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_intel__allocator.c @@ -0,0 +1,13 @@ +--- lib/intel_allocator.c.orig 2022-08-31 20:00:01 UTC ++++ lib/intel_allocator.c +@@ -17,6 +17,10 @@ + #include "intel_allocator.h" + #include "intel_allocator_msgchannel.h" + ++#ifdef __FreeBSD__ ++#define gettid() getpid() ++#endif ++ + //#define ALLOCDBG + #ifdef ALLOCDBG + #define alloc_info igt_info diff --git a/graphics/igt-gpu-tools/files/patch-lib_intel__batchbuffer.c b/graphics/igt-gpu-tools/files/patch-lib_intel__batchbuffer.c new file mode 100644 index 000000000000..a5cae9f4878c --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_intel__batchbuffer.c @@ -0,0 +1,14 @@ +--- lib/intel_batchbuffer.c.orig 2022-08-31 20:00:01 UTC ++++ lib/intel_batchbuffer.c +@@ -60,6 +60,11 @@ + #define BCS_SRC_Y (1 << 0) + #define BCS_DST_Y (1 << 1) + ++/* memory leak */ ++#ifdef __FreeBSD__ ++#define tdestroy(root, free_node) ++#endif ++ + /** + * SECTION:intel_batchbuffer + * @short_description: Batchbuffer and blitter support diff --git a/graphics/igt-gpu-tools/files/patch-lib_sw__sync.c b/graphics/igt-gpu-tools/files/patch-lib_sw__sync.c new file mode 100644 index 000000000000..34cdcac5fb51 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_sw__sync.c @@ -0,0 +1,13 @@ +--- lib/sw_sync.c.orig 2022-08-31 20:00:01 UTC ++++ lib/sw_sync.c +@@ -41,6 +41,10 @@ + #include "drmtest.h" + #include "ioctl_wrappers.h" + ++#ifdef __FreeBSD__ ++#define ETIME ETIMEDOUT ++#endif ++ + /** + * SECTION:sw_sync + * @short_description: Software sync (fencing) support library diff --git a/graphics/igt-gpu-tools/files/patch-lib_tests_igt__exit__handler.c b/graphics/igt-gpu-tools/files/patch-lib_tests_igt__exit__handler.c new file mode 100644 index 000000000000..df8af8387119 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_tests_igt__exit__handler.c @@ -0,0 +1,12 @@ +--- lib/tests/igt_exit_handler.c.orig 2022-08-31 20:00:01 UTC ++++ lib/tests/igt_exit_handler.c +@@ -125,5 +125,9 @@ int main(int argc, char **argv) + internal_assert_wexited(status, IGT_EXIT_SKIP); + + status = testfunc(SIG); ++#ifdef __linux__ + internal_assert_wsignaled(status, SIGTERM); ++#elif defined(__FreeBSD__) ++ internal_assert(status == 0); ++#endif + } diff --git a/graphics/igt-gpu-tools/files/patch-lib_tests_igt__fork.c b/graphics/igt-gpu-tools/files/patch-lib_tests_igt__fork.c new file mode 100644 index 000000000000..c3438941ca50 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_tests_igt__fork.c @@ -0,0 +1,14 @@ +--- lib/tests/igt_fork.c.orig 2022-08-31 20:00:01 UTC ++++ lib/tests/igt_fork.c +@@ -109,7 +109,11 @@ __noreturn static void subtest_leak(void) + __noreturn static void subtest_leak(void) + { + pid_t *children = ++#ifdef __linux__ + mmap(0, 4096, PROT_WRITE, MAP_SHARED | MAP_ANON, -1, 0); ++#elif defined(__FreeBSD__) ++ mmap(0, 4096, PROT_WRITE | PROT_READ, MAP_SHARED | MAP_ANON, -1, 0); ++#endif + const int num_children = 4096 / sizeof(*children); + + igt_subtest_init(fake_argc, fake_argv); diff --git a/graphics/igt-gpu-tools/files/patch-lib_tests_igt__tests__common.h b/graphics/igt-gpu-tools/files/patch-lib_tests_igt__tests__common.h new file mode 100644 index 000000000000..a37ef0d80f07 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-lib_tests_igt__tests__common.h @@ -0,0 +1,20 @@ +--- lib/tests/igt_tests_common.h.orig 2022-08-31 20:00:01 UTC ++++ lib/tests/igt_tests_common.h +@@ -48,8 +48,17 @@ static inline void internal_assert_wsignaled(int wstat + + static inline void internal_assert_wsignaled(int wstatus, int signal) + { ++#ifdef __linux__ + internal_assert(WIFSIGNALED(wstatus) && + WTERMSIG(wstatus) == signal); ++#elif defined(__FreeBSD__) ++ if (WIFSIGNALED(wstatus)) ++ internal_assert(WTERMSIG(wstatus) == signal); ++ else if (WIFEXITED(wstatus)) ++ internal_assert(WEXITSTATUS(wstatus) == signal + 128); ++ else ++ internal_assert(0); ++#endif + } + + static inline void internal_assert_not_wsignaled(int wstatus) diff --git a/graphics/igt-gpu-tools/files/patch-meson.build b/graphics/igt-gpu-tools/files/patch-meson.build new file mode 100644 index 000000000000..6152aa43c9fa --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-meson.build @@ -0,0 +1,31 @@ +--- meson.build.orig 2022-08-31 20:00:01 UTC ++++ meson.build +@@ -86,7 +86,7 @@ build_info = ['Build type: ' + get_option('buildtype') + + build_info = ['Build type: ' + get_option('buildtype')] + +-inc = include_directories('include/drm-uapi', 'include/linux-uapi', 'lib', 'lib/stubs/syscalls', '.') ++inc = include_directories('/usr/local/include', 'include/drm-uapi', 'include/linux-uapi', 'lib', 'lib/stubs/syscalls', '.') + + inc_for_gtkdoc = include_directories('lib') + +@@ -120,8 +120,8 @@ pciaccess = dependency('pciaccess', version : '>=0.10' + build_info += 'With libdrm: ' + ','.join(libdrm_info) + + pciaccess = dependency('pciaccess', version : '>=0.10') +-libkmod = dependency('libkmod') +-libprocps = dependency('libprocps', required : true) ++libkmod = dependency('libkmod', required : false) ++libprocps = dependency('libprocps', required : false) + + libunwind = dependency('libunwind', required : get_option('libunwind')) + build_info += 'With libunwind: @0@'.format(libunwind.found()) +@@ -313,7 +313,7 @@ endif + if libdrm_intel.found() + subdir('assembler') + endif +-subdir('overlay') ++#subdir('overlay') + subdir('man') + subdir('scripts') + diff --git a/graphics/igt-gpu-tools/files/patch-runner_executor.c b/graphics/igt-gpu-tools/files/patch-runner_executor.c new file mode 100644 index 000000000000..f4e333558853 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-runner_executor.c @@ -0,0 +1,39 @@ +--- runner/executor.c.orig 2022-08-31 20:00:01 UTC ++++ runner/executor.c +@@ -2,7 +2,9 @@ + #include + #include + #include ++#ifdef __linux__ + #include ++#endif + #if HAVE_OPING + #include + #endif +@@ -14,7 +16,9 @@ + #include + #include + #include ++#ifdef __linux__ + #include ++#endif + #include + #include + #include +@@ -32,6 +36,16 @@ + + #define KMSG_HEADER "[IGT] " + #define KMSG_WARN 4 ++ ++#ifdef __FreeBSD__ ++#include ++struct signalfd_siginfo { ++ uint32_t ssi_signo; ++ uint32_t ssi_pid; ++}; ++#define WDIOC_KEEPALIVE WDIOCPATPAT ++#define signalfd(fd, mask, flags) -ENOSYS ++#endif + + static struct { + int *fds; diff --git a/graphics/igt-gpu-tools/files/patch-runner_job__list.c b/graphics/igt-gpu-tools/files/patch-runner_job__list.c new file mode 100644 index 000000000000..ea4d8002593a --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-runner_job__list.c @@ -0,0 +1,72 @@ +--- runner/job_list.c.orig 2022-08-31 20:00:01 UTC ++++ runner/job_list.c +@@ -1,7 +1,12 @@ + #include + #include + #include ++#ifdef __linux__ + #include ++#elif defined(__FreeBSD__) ++#include ++#include ++#endif + #include + #include + #include +@@ -40,6 +45,31 @@ static void add_job_list_entry(struct job_list *job_li + entry->subtest_count = subtest_count; + } + ++#ifdef __FreeBSD__ ++static inline int ++job_list_fscanf(FILE *stream, char *fmt, char **subtestname) ++{ ++ int bufsize; ++ char c; ++ ++ for (bufsize = 0; ++ (c = fgetc(stream)) != '\n' && c != EOF; ++ ++bufsize) ++ ; ++ ++ if (bufsize == 0) ++ return 0; ++ ++ *subtestname = malloc(bufsize + 2); ++ ++ /* no fseek() in pipes */ ++ stream->_r += bufsize + 1; ++ stream->_p -= bufsize + 1; ++ ++ return (fscanf(stream, "%s\n", *subtestname)); ++} ++#endif ++ + static void add_subtests(struct job_list *job_list, struct settings *settings, + char *binary, + struct regex_list *include, struct regex_list *exclude) +@@ -72,7 +102,11 @@ static void add_subtests(struct job_list *job_list, st + return; + } + ++#ifdef __linux__ + while (fscanf(p, "%ms", &subtestname) == 1) { ++#elif defined(__FreeBSD__) ++ while (job_list_fscanf(p, "%s", &subtestname) == 1) { ++#endif + char piglitname[256]; + + generate_piglit_name(binary, subtestname, piglitname, sizeof(piglitname)); +@@ -226,7 +260,12 @@ static bool job_list_from_test_list(struct job_list *j + if (settings->include_regexes.size && !matches_any(line, &settings->include_regexes)) + continue; + ++#ifdef __linux__ + if (sscanf(line, "igt@%ms", &binary) == 1) { ++#elif defined(__FreeBSD__) ++ binary = malloc(strlen(line)-4); ++ if (sscanf(line, "igt@%s", binary) == 1) { ++#endif + if ((delim = strchr(binary, '@')) != NULL) + *delim++ = '\0'; + diff --git a/graphics/igt-gpu-tools/files/patch-runner_runner__tests.c b/graphics/igt-gpu-tools/files/patch-runner_runner__tests.c new file mode 100644 index 000000000000..335fb23b4d7c --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-runner_runner__tests.c @@ -0,0 +1,183 @@ +--- runner/runner_tests.c.orig 2022-08-31 20:00:01 UTC ++++ runner/runner_tests.c +@@ -35,29 +35,37 @@ static const char *igt_get_result(struct json_object * + + static const char *igt_get_result(struct json_object *tests, const char* testname) + { ++#ifdef __linux__ /* TODO: FreeBSD SIGNALFD */ + struct json_object *obj; + + igt_assert(json_object_object_get_ex(tests, testname, &obj)); + igt_assert(json_object_object_get_ex(obj, "result", &obj)); + + return json_object_get_string(obj); ++#elif defined(__FreeBSD__) ++ return ""; ++#endif + } + + static void igt_assert_no_result_for(struct json_object *tests, const char* testname) + { ++#ifdef __linux__ /* TODO: FreeBSD SIGNALFD */ + struct json_object *obj; + igt_assert(!json_object_object_get_ex(tests, testname, &obj)); ++#endif + } + + + static void igt_assert_eqstr(const char *one, const char *two) + { ++#ifdef __linux__ /* TODO: FreeBSD SIGNALFD */ + if (one == NULL && two == NULL) + return; + + igt_assert_f(one != NULL && two != NULL, "Strings differ (one is NULL): %s vs %s\n", one, two); + + igt_assert_f(!strcmp(one, two), "Strings differ: '%s' vs '%s'\n", one, two); ++#endif + } + + static void debug_print_executions(struct job_list *list) +@@ -1069,6 +1077,7 @@ igt_main + igt_assert_f((dirfd = open(dirname, O_DIRECTORY | O_RDONLY)) >= 0, + "Dry run resume somehow deleted the results directory.\n"); + ++#ifdef __linux__ /* TODO: FreeBSD SIGNALFD */ + /* Execute from resume should work */ + igt_assert(execute(&state, settings, list)); + igt_assert_f((fd = openat(dirfd, "uname.txt", O_RDONLY)) >= 0, +@@ -1078,6 +1087,7 @@ igt_main + "Dry run resume didn't create result directory.\n"); + igt_assert_f((fd = openat(subdirfd, "journal.txt", O_RDONLY)) >= 0, + "Dry run resume didn't create a journal.\n"); ++#endif + } + + igt_fixture { +@@ -1112,6 +1122,7 @@ igt_main + igt_assert(parse_options(ARRAY_SIZE(argv), (char**)argv, settings)); + igt_assert(create_job_list(list, settings)); + ++#ifdef __linux__ /* TODO: FreeBSD SIGNALFD */ + igt_assert(initialize_execute_state(&state, settings, list)); + + igt_assert_eq(state.next, 0); +@@ -1128,6 +1139,7 @@ igt_main + "Execute state initialization created a journal.\n"); + igt_assert_f((fd = openat(dirfd, "uname.txt", O_RDONLY)) < 0, + "Execute state initialization created uname.txt.\n"); ++#endif + } + + igt_fixture { +@@ -1177,6 +1189,7 @@ igt_main + + free_job_list(list); + free_settings(settings); ++#ifdef __linux__ /* TODO: FreeBSD SIGNALFD */ + igt_assert(initialize_execute_state_from_resume(dirfd, &state, settings, list)); + + igt_assert_eq(state.next, 0); +@@ -1184,6 +1197,7 @@ igt_main + igt_assert_eq(list->entries[0].subtest_count, 2); + igt_assert_eqstr(list->entries[0].subtests[0], "*"); + igt_assert_eqstr(list->entries[0].subtests[1], excludestring); ++#endif + } + + igt_fixture { +@@ -1234,12 +1248,14 @@ igt_main + + free_job_list(list); + free_settings(settings); ++#ifdef __linux__ /* TODO: FreeBSD SIGNALFD */ + igt_assert(initialize_execute_state_from_resume(dirfd, &state, settings, list)); + + /* All subtests are in journal, the entry should be considered completed */ + igt_assert_eq(state.next, 1); + igt_assert_eq(list->size, 1); + igt_assert_eq(list->entries[0].subtest_count, 4); ++#endif + } + + igt_fixture { +@@ -1343,6 +1359,7 @@ igt_main + + igt_assert(parse_options(ARRAY_SIZE(argv), (char**)argv, settings)); + igt_assert(create_job_list(list, settings)); ++#ifdef __linux__ /* TODO: FreeBSD SIGNALFD */ + igt_assert(initialize_execute_state(&state, settings, list)); + + igt_assert(execute(&state, settings, list)); +@@ -1366,6 +1383,7 @@ igt_main + snprintf(testdirname, 16, "%zd", expected_tests); + igt_assert_f((subdirfd = openat(dirfd, testdirname, O_DIRECTORY | O_RDONLY)) < 0, + "Execute created too many directories\n"); ++#endif + } + + igt_fixture { +@@ -1483,6 +1501,7 @@ igt_main + igt_assert(create_job_list(list, settings)); + igt_assert(initialize_execute_state(&state, settings, list)); + ++#ifdef __linux__ /* TODO: FreeBSD SIGNALFD */ + igt_assert(execute(&state, settings, list)); + igt_assert_f((dirfd = open(dirname, O_DIRECTORY | O_RDONLY)) >= 0, + "Execute didn't create the results directory\n"); +@@ -1516,6 +1535,7 @@ igt_main + close(subdirfd); + subdirfd = -1; + } ++#endif + } + + igt_fixture { +@@ -1567,6 +1587,7 @@ igt_main + igt_assert_eq(list->entries[0].subtest_count, 1); + + igt_assert(initialize_execute_state(&state, settings, list)); ++#ifdef __linux__ /* TODO: FreeBSD SIGNALFD */ + igt_assert(execute(&state, settings, list)); + + igt_assert_f((dirfd = open(dirname, O_DIRECTORY | O_RDONLY)) >= 0, +@@ -1583,6 +1604,7 @@ igt_main + igt_assert_eqstr(igt_get_result(tests, "igt@dynamic@dynamic-subtest@passing"), "pass"); + + igt_assert_eq(json_object_put(results), 1); ++#endif + } + + igt_fixture { +@@ -1619,6 +1641,7 @@ igt_main + igt_assert(parse_options(ARRAY_SIZE(argv), (char**)argv, settings)); + igt_assert(create_job_list(list, settings)); + igt_assert(initialize_execute_state(&state, settings, list)); ++#ifdef __linux__ /* TODO: FreeBSD SIGNALFD */ + igt_assert(execute(&state, settings, list)); + + igt_assert_f((dirfd = open(dirname, O_DIRECTORY | O_RDONLY)) >= 0, +@@ -1631,6 +1654,7 @@ igt_main + igt_assert_eqstr(igt_get_result(tests, "igt@dynamic@dynamic-subtest@passing"), "pass"); + + igt_assert_eq(json_object_put(results), 1); ++#endif + } + + igt_fixture { +@@ -1924,6 +1948,7 @@ igt_main + } + + igt_subtest("file-descriptor-leakage") { ++#ifdef __linux__ /* TODO: FreeBSD SIGNALFD */ + int i; + + /* +@@ -1939,6 +1964,7 @@ igt_main + igt_assert_neq(close(i), 0); + igt_assert_eq(errno, EBADF); + } ++#endif + } + + igt_fixture { diff --git a/graphics/igt-gpu-tools/files/patch-runner_settings.c b/graphics/igt-gpu-tools/files/patch-runner_settings.c new file mode 100644 index 000000000000..a7cf8b3f752e --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-runner_settings.c @@ -0,0 +1,51 @@ +--- runner/settings.c.orig 2022-08-31 20:00:01 UTC ++++ runner/settings.c +@@ -872,6 +872,36 @@ bool serialize_settings(struct settings *settings) + #undef SERIALIZE_LINE + } + ++#ifdef __FreeBSD__ ++static inline int ++settings_fscanf(FILE *stream, char **name, char **val) ++{ ++ char c, **buf = name; ++ int i, buflen, rewind = 0; ++ ++ /* get buffer size for name AND value */ ++ for (i = 0; i < 2; ++i, buf = val) { ++ for (buflen = 0; ++ (c = fgetc(stream)) != ':' && c != '\n' && c != EOF; ++ ++buflen) ++ ; ++ ++ /* add 1 to make room for '\0' */ ++ *buf = malloc(buflen + 1); ++ ++ /* add 1 to include ':' or '\n' */ ++ rewind += buflen + 1; ++ } ++ ++ /* rewind to start of new line for fscanf */ ++ i = fseek(stream, -rewind, SEEK_CUR); ++ if (i < 0) ++ return (i); ++ ++ return (fscanf(stream, "%s : %[^\n]\n", *name, *val)); ++} ++#endif ++ + bool read_settings_from_file(struct settings *settings, FILE *f) + { + #define PARSE_LINE(s, name, val, field, write) \ +@@ -887,7 +917,11 @@ bool read_settings_from_file(struct settings *settings + + settings->dmesg_warn_level = -1; + ++#ifdef __linux__ + while (fscanf(f, "%ms : %m[^\n]", &name, &val) == 2) { ++#elif defined(__FreeBSD__) ++ while (settings_fscanf(f, &name, &val) == 2) { ++#endif + int numval = atoi(val); + PARSE_LINE(settings, name, val, abort_mask, numval); + PARSE_LINE(settings, name, val, disk_usage_limit, strtoul(val, NULL, 10)); diff --git a/graphics/igt-gpu-tools/files/patch-tests_core__auth.c b/graphics/igt-gpu-tools/files/patch-tests_core__auth.c new file mode 100644 index 000000000000..a8dc781bc78a --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_core__auth.c @@ -0,0 +1,13 @@ +--- tests/core_auth.c.orig 2022-08-31 20:00:01 UTC ++++ tests/core_auth.c +@@ -48,6 +48,10 @@ + # include + #endif + ++#ifdef __FreeBSD__ ++#define pthread_self() getpid() ++#endif ++ + IGT_TEST_DESCRIPTION("Call drmGetMagic() and drmAuthMagic() and see if it behaves."); + + static bool diff --git a/graphics/igt-gpu-tools/files/patch-tests_drm__import__export.c b/graphics/igt-gpu-tools/files/patch-tests_drm__import__export.c new file mode 100644 index 000000000000..dc47c6bf2a4f --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_drm__import__export.c @@ -0,0 +1,13 @@ +--- tests/drm_import_export.c.orig 2022-08-31 20:00:01 UTC ++++ tests/drm_import_export.c +@@ -45,6 +45,10 @@ IGT_TEST_DESCRIPTION("Basic check to verify the behavi + #define DURATION 10 + IGT_TEST_DESCRIPTION("Basic check to verify the behaviour of libdrm bo for prime/flink"); + ++#ifdef __FreeBSD__ ++#define gettid() getpid() ++#endif ++ + int fd; + drm_intel_bufmgr *bufmgr; + int fd1; diff --git a/graphics/igt-gpu-tools/files/patch-tests_dumb__buffer.c b/graphics/igt-gpu-tools/files/patch-tests_dumb__buffer.c new file mode 100644 index 000000000000..d779b8e22c1f --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_dumb__buffer.c @@ -0,0 +1,14 @@ +--- tests/dumb_buffer.c.orig 2022-08-31 20:00:01 UTC ++++ tests/dumb_buffer.c +@@ -50,6 +50,11 @@ + #include "igt_aux.h" + #include "ioctl_wrappers.h" + ++#ifdef __FreeBSD__ ++#undef jmp_buf ++#define sighandler_t sig_t ++#endif ++ + IGT_TEST_DESCRIPTION("This is a test for the generic dumb buffer interface."); + + static int __dumb_create(int fd, struct drm_mode_create_dumb *create) diff --git a/graphics/igt-gpu-tools/files/patch-tests_i915_gem__close__race.c b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__close__race.c new file mode 100644 index 000000000000..bdacf969bf37 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__close__race.c @@ -0,0 +1,23 @@ +--- tests/i915/gem_close_race.c.orig 2022-08-31 20:00:01 UTC ++++ tests/i915/gem_close_race.c +@@ -53,6 +53,10 @@ + #define BLT_WRITE_ALPHA (1<<21) + #define BLT_WRITE_RGB (1<<20) + ++#ifdef __FreeBSD__ ++#define gettid() getpid() ++#endif ++ + IGT_TEST_DESCRIPTION("Test try to race gem_close against workload submission."); + + static uint32_t devid; +@@ -61,7 +65,9 @@ static uint64_t data_addr; + static uint64_t exec_addr; + static uint64_t data_addr; + ++#ifdef __linux__ + #define sigev_notify_thread_id _sigev_un._tid ++#endif + + static void selfcopy(int fd, uint32_t ctx, uint32_t handle, int loops) + { diff --git a/graphics/igt-gpu-tools/files/patch-tests_i915_gem__concurrent__all.c b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__concurrent__all.c new file mode 100644 index 000000000000..a85b2762db86 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__concurrent__all.c @@ -0,0 +1,14 @@ +--- tests/i915/gem_concurrent_all.c.orig 2022-08-31 20:00:01 UTC ++++ tests/i915/gem_concurrent_all.c +@@ -53,6 +53,11 @@ + #include "igt.h" + #include "igt_vgem.h" + ++/* improper substitution */ ++#ifdef __FreeBSD__ ++#define MADV_DONTFORK MADV_NOSYNC ++#endif ++ + IGT_TEST_DESCRIPTION("Test of pread/pwrite/mmap behavior when writing to active" + " buffers."); + diff --git a/graphics/igt-gpu-tools/files/patch-tests_i915_gem__create.c b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__create.c new file mode 100644 index 000000000000..de0f765d0de5 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__create.c @@ -0,0 +1,13 @@ +--- tests/i915/gem_create.c.orig 2022-08-31 20:00:01 UTC ++++ tests/i915/gem_create.c +@@ -61,6 +61,10 @@ + #include "i915/gem_mman.h" + #include "i915_drm.h" + ++#ifdef __FreeBSD__ ++#define sighandler_t sig_t ++#endif ++ + IGT_TEST_DESCRIPTION("Ensure that basic gem_create and gem_create_ext works" + " and that invalid input combinations are rejected."); + diff --git a/graphics/igt-gpu-tools/files/patch-tests_i915_gem__ctx__exec.c b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__ctx__exec.c new file mode 100644 index 000000000000..3cf5fd1f71b7 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__ctx__exec.c @@ -0,0 +1,13 @@ +--- tests/i915/gem_ctx_exec.c.orig 2022-08-31 20:00:01 UTC ++++ tests/i915/gem_ctx_exec.c +@@ -48,6 +48,10 @@ + #include "igt_sysfs.h" + #include "sw_sync.h" + ++#ifdef __FreeBSD__ ++#define ETIME ETIMEDOUT ++#endif ++ + IGT_TEST_DESCRIPTION("Test context batch buffer execution."); + + /* Copied from gem_exec_nop.c */ diff --git a/graphics/igt-gpu-tools/files/patch-tests_i915_gem__ctx__persistence.c b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__ctx__persistence.c new file mode 100644 index 000000000000..6cd3251ad5c5 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__ctx__persistence.c @@ -0,0 +1,13 @@ +--- tests/i915/gem_ctx_persistence.c.orig 2022-08-31 20:00:01 UTC ++++ tests/i915/gem_ctx_persistence.c +@@ -50,6 +50,10 @@ static unsigned long reset_timeout_ms = RESET_TIMEOUT_ + static unsigned long reset_timeout_ms = RESET_TIMEOUT_MS; + #define NSEC_PER_MSEC (1000 * 1000ull) + ++#ifdef __FreeBSD__ ++#define ETIME ETIMEDOUT ++#endif ++ + static void cleanup(int i915) + { + igt_drop_caches_set(i915, diff --git a/graphics/igt-gpu-tools/files/patch-tests_i915_gem__ctx__shared.c b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__ctx__shared.c new file mode 100644 index 000000000000..4bc4c3506427 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__ctx__shared.c @@ -0,0 +1,13 @@ +--- tests/i915/gem_ctx_shared.c.orig 2022-08-31 20:00:01 UTC ++++ tests/i915/gem_ctx_shared.c +@@ -54,6 +54,10 @@ + #define MAX_PRIO I915_CONTEXT_MAX_USER_PRIORITY + #define MIN_PRIO I915_CONTEXT_MIN_USER_PRIORITY + ++#ifdef __FreeBSD__ ++#define ETIME ETIMEDOUT ++#endif ++ + static int priorities[] = { + [LO] = MIN_PRIO / 2, + [HI] = MAX_PRIO / 2, diff --git a/graphics/igt-gpu-tools/files/patch-tests_i915_gem__exec__fence.c b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__exec__fence.c new file mode 100644 index 000000000000..f9760e693324 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__exec__fence.c @@ -0,0 +1,13 @@ +--- tests/i915/gem_exec_fence.c.orig 2022-08-31 20:00:01 UTC ++++ tests/i915/gem_exec_fence.c +@@ -36,6 +36,10 @@ + #include "intel_ctx.h" + #include "sw_sync.h" + ++#ifdef __FreeBSD__ ++#define ETIME ETIMEDOUT ++#endif ++ + IGT_TEST_DESCRIPTION("Check that execbuf waits for explicit fences"); + + #ifndef SYNC_IOC_MERGE diff --git a/graphics/igt-gpu-tools/files/patch-tests_i915_gem__exec__latency.c b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__exec__latency.c new file mode 100644 index 000000000000..28c7062343b8 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__exec__latency.c @@ -0,0 +1,13 @@ +--- tests/i915/gem_exec_latency.c.orig 2022-08-31 20:00:01 UTC ++++ tests/i915/gem_exec_latency.c +@@ -55,6 +55,10 @@ + #define CORK 0x2 + #define PREEMPT 0x4 + ++#ifdef __FreeBSD__ ++#define SCHED_RESET_ON_FORK 0 ++#endif ++ + static unsigned int ring_size; + static double rcs_clock; + static struct intel_mmio_data mmio_data; diff --git a/graphics/igt-gpu-tools/files/patch-tests_i915_gem__exec__schedule.c b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__exec__schedule.c new file mode 100644 index 000000000000..c119b2906468 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__exec__schedule.c @@ -0,0 +1,67 @@ +--- tests/i915/gem_exec_schedule.c.orig 2022-08-31 20:00:01 UTC ++++ tests/i915/gem_exec_schedule.c +@@ -23,7 +23,9 @@ + + #include "config.h" + ++#ifdef __linux__ + #include ++#endif + + #include + #include +@@ -64,6 +66,10 @@ + #define MI_SEMAPHORE_SAD_EQ_SDD (4 << 12) + #define MI_SEMAPHORE_SAD_NEQ_SDD (5 << 12) + ++#ifdef __FreeBSD__ ++#define SCHED_RESET_ON_FORK 0 ++#endif ++ + IGT_TEST_DESCRIPTION("Check that we can control the order of execution"); + + static unsigned int offset_in_page(void *addr) +@@ -2510,7 +2516,11 @@ static int userfaultfd(int flags) + + static int userfaultfd(int flags) + { ++#ifdef __linux__ + return syscall(SYS_userfaultfd, flags); ++#elif defined(__FreeBSD__) ++ return -ENOSYS; ++#endif + } + + struct ufd_thread { +@@ -2569,6 +2579,7 @@ static void test_pi_userfault(int i915, + const intel_ctx_cfg_t *cfg, + unsigned int engine) + { ++#ifdef __linux__ + const uint32_t bbe = MI_BATCH_BUFFER_END; + struct uffdio_api api = { .api = UFFD_API }; + struct uffdio_register reg; +@@ -2670,6 +2681,7 @@ static void test_pi_userfault(int i915, + gem_close(i915, t.batch); + munmap(t.page, 4096); + close(ufd); ++#endif + } + + static void *iova_thread(struct ufd_thread *t, int prio) +@@ -2705,6 +2717,7 @@ static void test_pi_iova(int i915, const intel_ctx_cfg + static void test_pi_iova(int i915, const intel_ctx_cfg_t *cfg, + unsigned int engine, unsigned int flags) + { ++#ifdef __linux__ + intel_ctx_cfg_t ufd_cfg = *cfg; + const intel_ctx_t *spinctx; + struct uffdio_api api = { .api = UFFD_API }; +@@ -2839,6 +2852,7 @@ static void test_pi_iova(int i915, const intel_ctx_cfg + gem_vm_destroy(i915, ufd_cfg.vm); + + close(ufd); ++#endif + } + + static void measure_semaphore_power(int i915, const intel_ctx_t *ctx) diff --git a/graphics/igt-gpu-tools/files/patch-tests_i915_gem__lmem__swapping.c b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__lmem__swapping.c new file mode 100644 index 000000000000..12d3910bc2ca --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__lmem__swapping.c @@ -0,0 +1,13 @@ +--- tests/i915/gem_lmem_swapping.c.orig 2022-08-31 20:00:01 UTC ++++ tests/i915/gem_lmem_swapping.c +@@ -25,6 +25,10 @@ + #include "i915/i915_blt.h" + #include "i915/intel_mocs.h" + ++#ifdef __FreeBSD__ ++#define MAP_POPULATE MAP_PREFAULT_READ ++#endif ++ + IGT_TEST_DESCRIPTION("Exercise local memory swapping."); + + #define __round_mask(x, y) ((__typeof__(x))((y) - 1)) diff --git a/graphics/igt-gpu-tools/files/patch-tests_i915_gem__madvise.c b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__madvise.c new file mode 100644 index 000000000000..17590b3b5399 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__madvise.c @@ -0,0 +1,13 @@ +--- tests/i915/gem_madvise.c.orig 2022-08-31 20:00:01 UTC ++++ tests/i915/gem_madvise.c +@@ -39,6 +39,10 @@ + #include "drm.h" + #include "i915/gem_create.h" + ++#ifdef __FreeBSD__ ++#define sighandler_t sig_t ++#endif ++ + IGT_TEST_DESCRIPTION("Checks that the kernel reports EFAULT when trying to use" + " purged bo."); + diff --git a/graphics/igt-gpu-tools/files/patch-tests_i915_gem__mmap__gtt.c b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__mmap__gtt.c new file mode 100644 index 000000000000..76a42b4a8fe0 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__mmap__gtt.c @@ -0,0 +1,31 @@ +--- tests/i915/gem_mmap_gtt.c.orig 2022-08-31 20:00:01 UTC ++++ tests/i915/gem_mmap_gtt.c +@@ -54,6 +54,16 @@ + + #define abs(x) ((x) >= 0 ? (x) : -(x)) + ++#ifdef __FreeBSD__ ++#define mmap64(addr, len, prot, flags, fd, offset) \ ++ mmap(addr, len, prot, flags, fd, offset) ++#define PTRACE_TRACEME PT_TRACE_ME ++#define PTRACE_ATTACH PT_ATTACH ++#define PTRACE_PEEKDATA PT_READ_D ++#define PTRACE_POKEDATA PT_WRITE_D ++#define PTRACE_DETACH PT_DETACH ++#endif ++ + IGT_TEST_DESCRIPTION("Ensure that all operations around MMAP_GTT ioctl works."); + + static int OBJECT_SIZE = 16*1024*1024; +@@ -566,7 +576,11 @@ test_ptrace(int fd) + for (int i = 0; i < sz / sizeof(long); i++) { + long ret; + ++#ifdef __linux__ + ret = ptrace(PTRACE_PEEKDATA, pid, gtt + i); ++#elif defined(__FreeBSD__) ++ ret = ptrace(PTRACE_PEEKDATA, pid, gtt + i, 0); ++#endif + igt_assert_eq_u64(ret, CC); + cpy[i] = ret; + diff --git a/graphics/igt-gpu-tools/files/patch-tests_i915_gem__mmap__offset.c b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__mmap__offset.c new file mode 100644 index 000000000000..81d545e62744 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__mmap__offset.c @@ -0,0 +1,31 @@ +--- tests/i915/gem_mmap_offset.c.orig 2022-08-31 20:00:01 UTC ++++ tests/i915/gem_mmap_offset.c +@@ -38,6 +38,16 @@ + #include "igt.h" + #include "igt_x86.h" + ++#ifdef __FreeBSD__ ++#define mmap64(addr, len, prot, flags, fd, offset) \ ++ mmap(addr, len, prot, flags, fd, offset) ++#define PTRACE_TRACEME PT_TRACE_ME ++#define PTRACE_ATTACH PT_ATTACH ++#define PTRACE_PEEKDATA PT_READ_D ++#define PTRACE_POKEDATA PT_WRITE_D ++#define PTRACE_DETACH PT_DETACH ++#endif ++ + IGT_TEST_DESCRIPTION("Basic MMAP_OFFSET IOCTL tests for mem regions\n"); + + static int mmap_offset_ioctl(int i915, struct drm_i915_gem_mmap_offset *arg) +@@ -370,7 +380,11 @@ static void test_ptrace(int i915) + for (int i = 0; i < SZ / sizeof(long); i++) { + long ret; + ++#ifdef __linux__ + ret = ptrace(PTRACE_PEEKDATA, pid, ptr + i); ++#elif defined(__FreeBSD__) ++ ret = ptrace(PTRACE_PEEKDATA, pid, ptr + i, 0); ++#endif + igt_assert_eq_u64(ret, CC); + cpy[i] = ret; + diff --git a/graphics/igt-gpu-tools/files/patch-tests_i915_gem__pread.c b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__pread.c new file mode 100644 index 000000000000..b1280819a448 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__pread.c @@ -0,0 +1,40 @@ +--- tests/i915/gem_pread.c.orig 2022-08-31 20:00:01 UTC ++++ tests/i915/gem_pread.c +@@ -25,7 +25,9 @@ + * + */ + ++#ifdef __linux__ + #include ++#endif + + #include "igt.h" + #include +@@ -81,7 +83,11 @@ static int userfaultfd(int flags) + + static int userfaultfd(int flags) + { ++#ifdef __linux__ + return syscall(SYS_userfaultfd, flags); ++#elif defined(__FreeBSD__) ++ return -ENOSYS; ++#endif + } + + struct ufd_thread { +@@ -154,6 +160,7 @@ static void test_exhaustion(int i915) + + static void test_exhaustion(int i915) + { ++#ifdef __linux__ + struct uffdio_api api = { .api = UFFD_API }; + struct uffdio_register reg; + struct uffdio_copy copy; +@@ -221,6 +228,7 @@ static void test_exhaustion(int i915) + close(ufd); + + close(t.vgem); ++#endif + } + + #define OBJECT_SIZE 16384 diff --git a/graphics/igt-gpu-tools/files/patch-tests_i915_gem__pwrite.c b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__pwrite.c new file mode 100644 index 000000000000..cd8401ec8846 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__pwrite.c @@ -0,0 +1,40 @@ +--- tests/i915/gem_pwrite.c.orig 2022-08-31 20:00:01 UTC ++++ tests/i915/gem_pwrite.c +@@ -25,7 +25,9 @@ + * + */ + ++#ifdef __linux__ + #include ++#endif + + #include + #include +@@ -283,7 +285,11 @@ static int userfaultfd(int flags) + + static int userfaultfd(int flags) + { ++#ifdef __linux__ + return syscall(SYS_userfaultfd, flags); ++#elif defined(__FreeBSD__) ++ return -ENOSYS; ++#endif + } + + struct ufd_thread { +@@ -378,6 +384,7 @@ static void test_exhaustion(int i915) + + static void test_exhaustion(int i915) + { ++#ifdef __linux__ + struct uffdio_api api = { .api = UFFD_API }; + struct uffdio_register reg; + struct uffdio_copy copy; +@@ -445,6 +452,7 @@ static void test_exhaustion(int i915) + close(ufd); + + close(t.vgem); ++#endif + } + + uint32_t *src, dst; diff --git a/graphics/igt-gpu-tools/files/patch-tests_i915_gem__shrink.c b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__shrink.c new file mode 100644 index 000000000000..aa6f1ca63839 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__shrink.c @@ -0,0 +1,13 @@ +--- tests/i915/gem_shrink.c.orig 2022-08-31 20:00:01 UTC ++++ tests/i915/gem_shrink.c +@@ -38,6 +38,10 @@ + #define MADV_FREE 8 + #endif + ++#ifdef __FreeBSD__ ++#define MAP_POPULATE MAP_PREFAULT_READ ++#endif ++ + static void get_pages(int fd, uint64_t alloc) + { + uint32_t handle = gem_create(fd, alloc); diff --git a/graphics/igt-gpu-tools/files/patch-tests_i915_gem__userptr__blits.c b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__userptr__blits.c new file mode 100644 index 000000000000..33507226249a --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__userptr__blits.c @@ -0,0 +1,52 @@ +--- tests/i915/gem_userptr_blits.c.orig 2022-08-31 20:00:01 UTC ++++ tests/i915/gem_userptr_blits.c +@@ -36,7 +36,9 @@ + * The goal is to simply ensure the basics work. + */ + ++#ifdef __linux__ + #include ++#endif + + #include + #include +@@ -66,6 +68,11 @@ + + #include "eviction_common.c" + ++#ifdef __FreeBSD__ ++#define ETIME ETIMEDOUT ++#define MADV_HUGEPAGE MADV_SEQUENTIAL ++#endif ++ + #ifndef PAGE_SIZE + #define PAGE_SIZE 4096 + #endif +@@ -2154,7 +2161,11 @@ static int userfaultfd(int flags) + + static int userfaultfd(int flags) + { ++#ifdef __linux__ + return syscall(SYS_userfaultfd, flags); ++#elif defined(__FreeBSD__) ++ return -ENOSYS; ++#endif + } + + static bool has_userptr_probe(int fd) +@@ -2240,6 +2251,7 @@ static void test_userfault(int i915) + + static void test_userfault(int i915) + { ++#ifdef __linux__ + struct uffdio_api api = { .api = UFFD_API }; + struct uffdio_register reg; + struct uffdio_copy copy; +@@ -2295,6 +2307,7 @@ static void test_userfault(int i915) + + munmap(t.page, 4096); + close(ufd); ++#endif + } + + uint64_t total_ram; diff --git a/graphics/igt-gpu-tools/files/patch-tests_i915_gem__wait.c b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__wait.c new file mode 100644 index 000000000000..57a1ba48d4c4 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_i915_gem__wait.c @@ -0,0 +1,13 @@ +--- tests/i915/gem_wait.c.orig 2022-08-31 20:00:01 UTC ++++ tests/i915/gem_wait.c +@@ -32,6 +32,10 @@ + #include "igt.h" + #include "igt_vgem.h" + ++#ifdef __FreeBSD__ ++#define ETIME ETIMEDOUT ++#endif ++ + IGT_TEST_DESCRIPTION("Tests the GEM_WAIT ioctl"); + + static int __gem_wait(int fd, struct drm_i915_gem_wait *w) diff --git a/graphics/igt-gpu-tools/files/patch-tests_i915_i915__hangman.c b/graphics/igt-gpu-tools/files/patch-tests_i915_i915__hangman.c new file mode 100644 index 000000000000..78931577d970 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_i915_i915__hangman.c @@ -0,0 +1,13 @@ +--- tests/i915/i915_hangman.c.orig 2022-08-31 20:00:01 UTC ++++ tests/i915/i915_hangman.c +@@ -50,6 +50,10 @@ static int sysfs = -1; + + #define OFFSET_ALIVE 10 + ++#ifdef __FreeBSD__ ++#define ETIME ETIMEDOUT ++#endif ++ + IGT_TEST_DESCRIPTION("Tests for hang detection and recovery"); + + static void check_alive(void) diff --git a/graphics/igt-gpu-tools/files/patch-tests_i915_i915__module__load.c b/graphics/igt-gpu-tools/files/patch-tests_i915_i915__module__load.c new file mode 100644 index 000000000000..02c3922d43be --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_i915_i915__module__load.c @@ -0,0 +1,12 @@ +--- tests/i915/i915_module_load.c.orig 2022-08-31 20:00:01 UTC ++++ tests/i915/i915_module_load.c +@@ -23,7 +23,9 @@ + #include "igt.h" + #include + #include ++#ifdef __linux__ + #include ++#endif + #include + #include + #include diff --git a/graphics/igt-gpu-tools/files/patch-tests_i915_i915__pm__backlight.c b/graphics/igt-gpu-tools/files/patch-tests_i915_i915__pm__backlight.c new file mode 100644 index 000000000000..b5f434b799e8 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_i915_i915__pm__backlight.c @@ -0,0 +1,13 @@ +--- tests/i915/i915_pm_backlight.c.orig 2022-08-31 20:00:01 UTC ++++ tests/i915/i915_pm_backlight.c +@@ -46,6 +46,10 @@ struct context { + #define FADESTEPS 10 + #define FADESPEED 100 /* milliseconds between steps */ + ++#ifdef __FreeBSD__ ++#include ++#endif ++ + IGT_TEST_DESCRIPTION("Basic backlight sysfs test"); + + static int backlight_read(int *result, const char *fname) diff --git a/graphics/igt-gpu-tools/files/patch-tests_i915_i915__pm__rpm.c b/graphics/igt-gpu-tools/files/patch-tests_i915_i915__pm__rpm.c new file mode 100644 index 000000000000..4d41bc85b725 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_i915_i915__pm__rpm.c @@ -0,0 +1,31 @@ +--- tests/i915/i915_pm_rpm.c.orig 2022-08-31 20:00:01 UTC ++++ tests/i915/i915_pm_rpm.c +@@ -40,8 +40,10 @@ + #include + #include + #include ++#ifdef __linux__ + #include + #include ++#endif + + #include + +@@ -53,6 +55,17 @@ + #include "igt_debugfs.h" + #include "igt_device.h" + #include "igt_edid.h" ++ ++#ifdef __FreeBSD__ ++#include ++#include ++ ++#define I2C_RDWR I2CRDWR ++#define I2C_M_RD IIC_M_RD ++#define i2c_msg iic_msg ++#define i2c_rdwr_ioctl_data iic_rdwr_data ++#define addr slave ++#endif + + #define MSR_PC8_RES 0x630 + #define MSR_PC9_RES 0x631 diff --git a/graphics/igt-gpu-tools/files/patch-tests_i915_kms__psr2__su.c b/graphics/igt-gpu-tools/files/patch-tests_i915_kms__psr2__su.c new file mode 100644 index 000000000000..734a1f2e0a2e --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_i915_kms__psr2__su.c @@ -0,0 +1,18 @@ +--- tests/i915/kms_psr2_su.c.orig 2022-08-31 20:00:01 UTC ++++ tests/i915/kms_psr2_su.c +@@ -29,7 +29,15 @@ + #include + #include + #include ++#ifdef __linux__ + #include ++#endif ++ ++/* FreeBSD: POSIX TIMER */ ++#ifdef __FreeBSD__ ++#define timerfd_create(c, f) -1 ++#define timerfd_settime(fd, f, n, o) -1 ++#endif + + IGT_TEST_DESCRIPTION("Test PSR2 selective update"); + diff --git a/graphics/igt-gpu-tools/files/patch-tests_i915_kms__psr__stress__test.c b/graphics/igt-gpu-tools/files/patch-tests_i915_kms__psr__stress__test.c new file mode 100644 index 000000000000..ce8508405f5a --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_i915_kms__psr__stress__test.c @@ -0,0 +1,32 @@ +--- tests/i915/kms_psr_stress_test.c.orig 2022-08-31 20:00:01 UTC ++++ tests/i915/kms_psr_stress_test.c +@@ -6,7 +6,9 @@ + #include + #include + #include ++#ifdef __linux__ + #include ++#endif + + #define INVALIDATES_PER_SEC 15 + #define FLIPS_PER_SEC 30 +@@ -18,6 +20,12 @@ + #define FRAMEBUFFERS_LEN 60 + + #define DRAW_METHOD IGT_DRAW_BLT ++ ++/* FreeBSD: POSIX TIMER */ ++#ifdef __FreeBSD__ ++#define timerfd_create(c, f) -1 ++#define timerfd_settime(fd, f, n, o) -1 ++#endif + + typedef struct { + int drm_fd; +@@ -374,4 +382,4 @@ igt_main + close(data.debugfs_fd); + close(data.drm_fd); + } +-} +\ No newline at end of file ++} diff --git a/graphics/igt-gpu-tools/files/patch-tests_i915_sysfs__heartbeat__interval.c b/graphics/igt-gpu-tools/files/patch-tests_i915_sysfs__heartbeat__interval.c new file mode 100644 index 000000000000..b1827b4685f9 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_i915_sysfs__heartbeat__interval.c @@ -0,0 +1,13 @@ +--- tests/i915/sysfs_heartbeat_interval.c.orig 2022-08-31 20:00:01 UTC ++++ tests/i915/sysfs_heartbeat_interval.c +@@ -42,6 +42,10 @@ + #include "igt_sysfs.h" + #include "sw_sync.h" + ++#ifdef __FreeBSD__ ++#define sighandler_t sig_t ++#endif ++ + #define ATTR "heartbeat_interval_ms" + #define RESET_TIMEOUT 50 /* milliseconds, at least one jiffie for kworker */ + diff --git a/graphics/igt-gpu-tools/files/patch-tests_kms__content__protection.c b/graphics/igt-gpu-tools/files/patch-tests_kms__content__protection.c new file mode 100644 index 000000000000..741773e12810 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_kms__content__protection.c @@ -0,0 +1,12 @@ +--- tests/kms_content_protection.c.orig 2022-08-31 20:00:01 UTC ++++ tests/kms_content_protection.c +@@ -24,7 +24,9 @@ + + #include + #include ++#ifdef __linux__ + #include ++#endif + #include + #include + #include "igt.h" diff --git a/graphics/igt-gpu-tools/files/patch-tests_kms__cursor__legacy.c b/graphics/igt-gpu-tools/files/patch-tests_kms__cursor__legacy.c new file mode 100644 index 000000000000..70bdf61b2159 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_kms__cursor__legacy.c @@ -0,0 +1,13 @@ +--- tests/kms_cursor_legacy.c.orig 2022-08-31 20:00:01 UTC ++++ tests/kms_cursor_legacy.c +@@ -47,6 +47,10 @@ + + #define PAGE_SIZE 4096 + ++#ifdef __FreeBSD__ ++#define SCHED_IDLE SCHED_OTHER ++#endif ++ + IGT_TEST_DESCRIPTION("Stress legacy cursor ioctl"); + + igt_pipe_crc_t *pipe_crc; diff --git a/graphics/igt-gpu-tools/files/patch-tests_kms__flip.c b/graphics/igt-gpu-tools/files/patch-tests_kms__flip.c new file mode 100644 index 000000000000..2c784ffea874 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_kms__flip.c @@ -0,0 +1,13 @@ +--- tests/kms_flip.c.orig 2022-08-31 20:00:01 UTC ++++ tests/kms_flip.c +@@ -45,6 +45,10 @@ + #include "i915/gem_create.h" + #include "igt_stats.h" + ++#ifdef __FreeBSD__ ++#include ++#endif ++ + #define TEST_DPMS (1 << 0) + + #define TEST_PAN (1 << 3) diff --git a/graphics/igt-gpu-tools/files/patch-tests_kms__sysfs__edid__timing.c b/graphics/igt-gpu-tools/files/patch-tests_kms__sysfs__edid__timing.c new file mode 100644 index 000000000000..56ed1e637dc5 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_kms__sysfs__edid__timing.c @@ -0,0 +1,13 @@ +--- tests/kms_sysfs_edid_timing.c.orig 2022-08-31 20:00:01 UTC ++++ tests/kms_sysfs_edid_timing.c +@@ -26,6 +26,10 @@ + #include + #include + ++#ifdef __FreeBSD__ ++#include ++#endif ++ + #define THRESHOLD_PER_CONNECTOR 150 + #define THRESHOLD_PER_CONNECTOR_MEAN 140 + #define THRESHOLD_ALL_CONNECTORS_MEAN 100 diff --git a/graphics/igt-gpu-tools/files/patch-tests_meson.build b/graphics/igt-gpu-tools/files/patch-tests_meson.build new file mode 100644 index 000000000000..548660e4f675 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_meson.build @@ -0,0 +1,174 @@ +--- tests/meson.build.orig 2022-08-31 20:00:01 UTC ++++ tests/meson.build +@@ -6,14 +6,14 @@ test_progs = [ + 'core_setmaster', + 'core_setmaster_vs_auth', + 'debugfs_test', +- 'dmabuf', +- 'dmabuf_sync_file', ++ #'dmabuf', ++ #'dmabuf_sync_file', + 'device_reset', +- 'drm_buddy', ++ #'drm_buddy', + 'drm_import_export', +- 'drm_mm', ++ #'drm_mm', + 'drm_read', +- 'fbdev', ++ #'fbdev', + 'feature_discovery', + 'kms_3d', + 'kms_addfb_basic', +@@ -54,7 +54,7 @@ test_progs = [ + 'kms_rmfb', + 'kms_rotation_crc', + 'kms_scaling_modes', +- 'kms_selftest', ++ #'kms_selftest', + 'kms_sequence', + 'kms_setmode', + 'kms_sysfs_edid_timing', +@@ -222,7 +222,7 @@ i915_progs = [ + 'i915_pm_rps', + 'i915_pm_sseu', + 'i915_query', +- 'i915_selftest', ++ #'i915_selftest', + 'i915_suspend', + 'kms_big_fb', + 'kms_big_joiner' , +@@ -340,21 +340,21 @@ test_list += 'gem_create' + install : true) + test_list += 'gem_create' + +-test_executables += executable('gem_ctx_freq', +- join_paths('i915', 'gem_ctx_freq.c'), +- dependencies : test_deps + [ lib_igt_perf ], +- install_dir : libexecdir, +- install_rpath : libexecdir_rpathdir, +- install : true) +-test_list += 'gem_ctx_freq' ++#test_executables += executable('gem_ctx_freq', ++# join_paths('i915', 'gem_ctx_freq.c'), ++# dependencies : test_deps + [ lib_igt_perf ], ++# install_dir : libexecdir, ++# install_rpath : libexecdir_rpathdir, ++# install : true) ++#test_list += 'gem_ctx_freq' + +-test_executables += executable('gem_ctx_sseu', +- join_paths('i915', 'gem_ctx_sseu.c'), +- dependencies : test_deps + [ lib_igt_perf ], +- install_dir : libexecdir, +- install_rpath : libexecdir_rpathdir, +- install : true) +-test_list += 'gem_ctx_sseu' ++#test_executables += executable('gem_ctx_sseu', ++# join_paths('i915', 'gem_ctx_sseu.c'), ++# dependencies : test_deps + [ lib_igt_perf ], ++# install_dir : libexecdir, ++# install_rpath : libexecdir_rpathdir, ++# install : true) ++#test_list += 'gem_ctx_sseu' + + test_executables += executable('gem_eio', + join_paths('i915', 'gem_eio.c'), +@@ -364,12 +364,12 @@ test_list += 'gem_eio' + install : true) + test_list += 'gem_eio' + +-test_executables += executable('gem_exec_balancer', 'i915/gem_exec_balancer.c', +- dependencies : test_deps + [ lib_igt_perf ], +- install_dir : libexecdir, +- install_rpath : libexecdir_rpathdir, +- install : true) +-test_list += 'gem_exec_balancer' ++#test_executables += executable('gem_exec_balancer', 'i915/gem_exec_balancer.c', ++# dependencies : test_deps + [ lib_igt_perf ], ++# install_dir : libexecdir, ++# install_rpath : libexecdir_rpathdir, ++# install : true) ++#test_list += 'gem_exec_balancer' + + test_executables += executable('gem_mmap_offset', + join_paths('i915', 'gem_mmap_offset.c'), +@@ -379,44 +379,44 @@ test_list += 'gem_mmap_offset' + install : true) + test_list += 'gem_mmap_offset' + +-test_executables += executable('i915_pm_freq_mult', +- join_paths('i915', 'i915_pm_freq_mult.c'), +- dependencies : test_deps + [ lib_igt_perf ], +- install_dir : libexecdir, +- install_rpath : libexecdir_rpathdir, +- install : true) +-test_list += 'i915_pm_freq_mult' ++#test_executables += executable('i915_pm_freq_mult', ++# join_paths('i915', 'i915_pm_freq_mult.c'), ++# dependencies : test_deps + [ lib_igt_perf ], ++# install_dir : libexecdir, ++# install_rpath : libexecdir_rpathdir, ++# install : true) ++#test_list += 'i915_pm_freq_mult' + +-test_executables += executable('i915_pm_rc6_residency', +- join_paths('i915', 'i915_pm_rc6_residency.c'), +- dependencies : test_deps + [ lib_igt_perf ], +- install_dir : libexecdir, +- install_rpath : libexecdir_rpathdir, +- install : true) +-test_list += 'i915_pm_rc6_residency' ++#test_executables += executable('i915_pm_rc6_residency', ++# join_paths('i915', 'i915_pm_rc6_residency.c'), ++# dependencies : test_deps + [ lib_igt_perf ], ++# install_dir : libexecdir, ++# install_rpath : libexecdir_rpathdir, ++# install : true) ++#test_list += 'i915_pm_rc6_residency' + +-test_executables += executable('perf_pmu', +- join_paths('i915', 'perf_pmu.c'), +- dependencies : test_deps + [ lib_igt_perf ], +- install_dir : libexecdir, +- install_rpath : libexecdir_rpathdir, +- install : true) +-test_list += 'perf_pmu' ++#test_executables += executable('perf_pmu', ++# join_paths('i915', 'perf_pmu.c'), ++# dependencies : test_deps + [ lib_igt_perf ], ++# install_dir : libexecdir, ++# install_rpath : libexecdir_rpathdir, ++# install : true) ++#test_list += 'perf_pmu' + +-test_executables += executable('perf', +- join_paths('i915', 'perf.c'), +- dependencies : test_deps + [ lib_igt_i915_perf ], +- install_dir : libexecdir, +- install_rpath : libexecdir_rpathdir, +- install : true) +-test_list += 'perf' ++#test_executables += executable('perf', ++# join_paths('i915', 'perf.c'), ++# dependencies : test_deps + [ lib_igt_i915_perf ], ++# install_dir : libexecdir, ++# install_rpath : libexecdir_rpathdir, ++# install : true) ++#test_list += 'perf' + +-test_executables += executable('core_hotunplug', 'core_hotunplug.c', +- dependencies : test_deps + [ lib_igt_i915_perf ], +- install_dir : libexecdir, +- install_rpath : libexecdir_rpathdir, +- install : true) +-test_list += 'core_hotunplug' ++#test_executables += executable('core_hotunplug', 'core_hotunplug.c', ++# dependencies : test_deps + [ lib_igt_i915_perf ], ++# install_dir : libexecdir, ++# install_rpath : libexecdir_rpathdir, ++# install : true) ++#test_list += 'core_hotunplug' + + executable('testdisplay', ['testdisplay.c', 'testdisplay_hotplug.c'], + dependencies : test_deps, diff --git a/graphics/igt-gpu-tools/files/patch-tests_sw__sync.c b/graphics/igt-gpu-tools/files/patch-tests_sw__sync.c new file mode 100644 index 000000000000..fe194af2078d --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_sw__sync.c @@ -0,0 +1,12 @@ +--- tests/sw_sync.c.orig 2022-08-31 20:00:01 UTC ++++ tests/sw_sync.c +@@ -38,6 +38,9 @@ + + #include "sw_sync.h" + ++#ifdef __FreeBSD__ ++#define ETIME ETIMEDOUT ++#endif + + IGT_TEST_DESCRIPTION("Test SW Sync Framework"); + diff --git a/graphics/igt-gpu-tools/files/patch-tests_syncobj__timeline.c b/graphics/igt-gpu-tools/files/patch-tests_syncobj__timeline.c new file mode 100644 index 000000000000..b0290ea6955f --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_syncobj__timeline.c @@ -0,0 +1,13 @@ +--- tests/syncobj_timeline.c.orig 2022-08-31 20:00:01 UTC ++++ tests/syncobj_timeline.c +@@ -31,6 +31,10 @@ + #include + #include "drm.h" + ++#ifdef __FreeBSD__ ++#define ETIME ETIMEDOUT ++#endif ++ + IGT_TEST_DESCRIPTION("Tests for the drm timeline sync object API"); + + /* One tenth of a second */ diff --git a/graphics/igt-gpu-tools/files/patch-tests_syncobj__wait.c b/graphics/igt-gpu-tools/files/patch-tests_syncobj__wait.c new file mode 100644 index 000000000000..0739fe54ff1b --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_syncobj__wait.c @@ -0,0 +1,13 @@ +--- tests/syncobj_wait.c.orig 2022-08-31 20:00:01 UTC ++++ tests/syncobj_wait.c +@@ -31,6 +31,10 @@ + #include + #include "drm.h" + ++#ifdef __FreeBSD__ ++#define ETIME ETIMEDOUT ++#endif ++ + IGT_TEST_DESCRIPTION("Tests for the drm sync object wait API"); + + /* One tenth of a second */ diff --git a/graphics/igt-gpu-tools/files/patch-tests_tools__test.c b/graphics/igt-gpu-tools/files/patch-tests_tools__test.c new file mode 100644 index 000000000000..da900a044e3c --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_tools__test.c @@ -0,0 +1,15 @@ +--- tests/tools_test.c.orig 2022-08-31 20:00:01 UTC ++++ tests/tools_test.c +@@ -28,7 +28,12 @@ + #include + #include + #include ++#ifdef __linux__ + #include ++#elif defined(__FreeBSD__) ++#include ++#define get_current_dir_name() getwd(NULL) ++#endif + + #define TOOLS "../tools/" + diff --git a/graphics/igt-gpu-tools/files/patch-tests_vc4__purgeable__bo.c b/graphics/igt-gpu-tools/files/patch-tests_vc4__purgeable__bo.c new file mode 100644 index 000000000000..a906d04c25ac --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_vc4__purgeable__bo.c @@ -0,0 +1,13 @@ +--- tests/vc4_purgeable_bo.c.orig 2022-08-31 20:00:01 UTC ++++ tests/vc4_purgeable_bo.c +@@ -35,6 +35,10 @@ + #include + #include "vc4_drm.h" + ++#ifdef __FreeBSD__ ++#undef jmp_buf ++#endif ++ + struct igt_vc4_bo { + struct igt_list_head node; + int handle; diff --git a/graphics/igt-gpu-tools/files/patch-tests_vc4__wait__bo.c b/graphics/igt-gpu-tools/files/patch-tests_vc4__wait__bo.c new file mode 100644 index 000000000000..efa95dc52b7f --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_vc4__wait__bo.c @@ -0,0 +1,13 @@ +--- tests/vc4_wait_bo.c.orig 2022-08-31 20:00:01 UTC ++++ tests/vc4_wait_bo.c +@@ -34,6 +34,10 @@ + #include + #include "vc4_drm.h" + ++#ifdef __FreeBSD__ ++#define ETIME ETIMEDOUT ++#endif ++ + static void + test_used_bo(int fd, uint64_t timeout) + { diff --git a/graphics/igt-gpu-tools/files/patch-tests_vc4__wait__seqno.c b/graphics/igt-gpu-tools/files/patch-tests_vc4__wait__seqno.c new file mode 100644 index 000000000000..e30fb5e096a4 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tests_vc4__wait__seqno.c @@ -0,0 +1,13 @@ +--- tests/vc4_wait_seqno.c.orig 2022-08-31 20:00:01 UTC ++++ tests/vc4_wait_seqno.c +@@ -33,6 +33,10 @@ + #include + #include "vc4_drm.h" + ++#ifdef __FreeBSD__ ++#define ETIME ETIMEDOUT ++#endif ++ + igt_main + { + int fd; diff --git a/graphics/igt-gpu-tools/files/patch-tools_intel__gvtg__test.c b/graphics/igt-gpu-tools/files/patch-tools_intel__gvtg__test.c new file mode 100644 index 000000000000..9361a97125f6 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tools_intel__gvtg__test.c @@ -0,0 +1,12 @@ +--- tools/intel_gvtg_test.c.orig 2022-08-31 20:00:01 UTC ++++ tools/intel_gvtg_test.c +@@ -44,6 +44,9 @@ + #include + #include + #include ++#ifdef __FreeBSD__ ++#include ++#endif + #include + #include + #include diff --git a/graphics/igt-gpu-tools/files/patch-tools_meson.build b/graphics/igt-gpu-tools/files/patch-tools_meson.build new file mode 100644 index 000000000000..54100482e201 --- /dev/null +++ b/graphics/igt-gpu-tools/files/patch-tools_meson.build @@ -0,0 +1,24 @@ +--- tools/meson.build.orig 2022-08-31 20:00:01 UTC ++++ tools/meson.build +@@ -89,10 +89,10 @@ install_subdir('registers', install_dir : datadir) + + install_subdir('registers', install_dir : datadir) + +-executable('intel_gpu_top', 'intel_gpu_top.c', +- install : true, +- install_rpath : bindir_rpathdir, +- dependencies : [lib_igt_perf,lib_igt_device_scan,lib_igt_drm_fdinfo,math]) ++#executable('intel_gpu_top', 'intel_gpu_top.c', ++# install : true, ++# install_rpath : bindir_rpathdir, ++# dependencies : [lib_igt_perf,lib_igt_device_scan,lib_igt_drm_fdinfo,math]) + + executable('amd_hdmi_compliance', 'amd_hdmi_compliance.c', + dependencies : [tool_deps], +@@ -111,5 +111,5 @@ endif + install : true) + endif + +-subdir('i915-perf') ++#subdir('i915-perf') + subdir('null_state_gen') diff --git a/graphics/igt-gpu-tools/pkg-descr b/graphics/igt-gpu-tools/pkg-descr new file mode 100644 index 000000000000..464229a2282f --- /dev/null +++ b/graphics/igt-gpu-tools/pkg-descr @@ -0,0 +1,7 @@ +IGT GPU Tools is a collection of tools for development and testing of the +DRM drivers. There are many macro-level test suites that get used against +the drivers, including xtest, rendercheck, piglit, and oglconform, but +failures from those can be difficult to track down to kernel changes, and +many require complicated build procedures or specific testing environments +to get useful results. Therefore, IGT GPU Tools includes low-level tools +and tests specifically for development and testing of the DRM Drivers. diff --git a/graphics/igt-gpu-tools/pkg-plist b/graphics/igt-gpu-tools/pkg-plist new file mode 100644 index 000000000000..4b400372a07b --- /dev/null +++ b/graphics/igt-gpu-tools/pkg-plist @@ -0,0 +1,498 @@ +bin/amd_hdmi_compliance +%%TEST%%bin/code_cov_capture +%%TEST%%bin/code_cov_gather_on_build +%%TEST%%bin/code_cov_gather_on_test +%%TEST%%bin/code_cov_gen_report +%%TEST%%bin/code_cov_parse_info +bin/dpcd_reg +%%RUNNER%%bin/igt_results +%%RUNNER%%bin/igt_resume +%%RUNNER%%bin/igt_runner +bin/igt_stats +%%AMD64%%bin/intel-gen4asm +%%AMD64%%bin/intel-gen4disasm +bin/intel_audio_dump +bin/intel_backlight +bin/intel_bios_dumper +bin/intel_display_crc +bin/intel_display_poller +bin/intel_dp_compliance +%%AMD64%%bin/intel_dump_decode +%%AMD64%%bin/intel_error_decode +bin/intel_firmware_decode +bin/intel_forcewaked +%%AMD64%%bin/intel_framebuffer_dump +bin/intel_gem_info +bin/intel_gpu_abrt +bin/intel_gpu_frequency +bin/intel_gpu_time +bin/intel_gtt +bin/intel_guc_logger +bin/intel_gvtg_test +bin/intel_infoframes +bin/intel_l3_parity +bin/intel_lid +bin/intel_opregion_decode +bin/intel_panel_fitter +%%AMD64%%bin/intel_perf_counters +bin/intel_pm_rpm +bin/intel_reg +bin/intel_reg_checker +bin/intel_residency +bin/intel_stepping +bin/intel_vbt_decode +bin/intel_watermark +bin/lsgpu +bin/msm_dp_compliance +include/i915-perf/igt_list.h +include/i915-perf/intel_chipset.h +include/i915-perf/perf.h +include/i915-perf/perf_data.h +include/i915-perf/perf_data_reader.h +lib/libi915_perf.so +lib/libi915_perf.so.1 +lib/libigt.so +lib/libigt.so.0 +libdata/pkgconfig/i915-perf.pc +%%AMD64%%libdata/pkgconfig/intel-gen4asm.pc +%%TEST%%libexec/igt-gpu-tools/amdgpu/amd_abm +%%TEST%%libexec/igt-gpu-tools/amdgpu/amd_assr +%%TEST%%libexec/igt-gpu-tools/amdgpu/amd_basic +%%TEST%%libexec/igt-gpu-tools/amdgpu/amd_bypass +%%TEST%%libexec/igt-gpu-tools/amdgpu/amd_color +%%TEST%%libexec/igt-gpu-tools/amdgpu/amd_cs_nop +%%TEST%%libexec/igt-gpu-tools/amdgpu/amd_dp_dsc +%%TEST%%libexec/igt-gpu-tools/amdgpu/amd_hotplug +%%TEST%%libexec/igt-gpu-tools/amdgpu/amd_ilr +%%TEST%%libexec/igt-gpu-tools/amdgpu/amd_info +%%TEST%%libexec/igt-gpu-tools/amdgpu/amd_link_settings +%%TEST%%libexec/igt-gpu-tools/amdgpu/amd_max_bpc +%%TEST%%libexec/igt-gpu-tools/amdgpu/amd_mem_leak +%%TEST%%libexec/igt-gpu-tools/amdgpu/amd_mode_switch +%%TEST%%libexec/igt-gpu-tools/amdgpu/amd_module_load +%%TEST%%libexec/igt-gpu-tools/amdgpu/amd_plane +%%TEST%%libexec/igt-gpu-tools/amdgpu/amd_prime +%%TEST%%libexec/igt-gpu-tools/amdgpu/amd_psr +%%TEST%%libexec/igt-gpu-tools/amdgpu/amd_vrr_range +%%TEST%%libexec/igt-gpu-tools/api_intel_allocator +%%TEST%%libexec/igt-gpu-tools/api_intel_bb +libexec/igt-gpu-tools/benchmarks/gem_blt +libexec/igt-gpu-tools/benchmarks/gem_busy +libexec/igt-gpu-tools/benchmarks/gem_create +libexec/igt-gpu-tools/benchmarks/gem_exec_ctx +libexec/igt-gpu-tools/benchmarks/gem_exec_fault +libexec/igt-gpu-tools/benchmarks/gem_exec_nop +libexec/igt-gpu-tools/benchmarks/gem_exec_reloc +libexec/igt-gpu-tools/benchmarks/gem_exec_trace +libexec/igt-gpu-tools/benchmarks/gem_latency +libexec/igt-gpu-tools/benchmarks/gem_prw +libexec/igt-gpu-tools/benchmarks/gem_set_domain +libexec/igt-gpu-tools/benchmarks/gem_syslatency +libexec/igt-gpu-tools/benchmarks/gem_userptr_benchmark +libexec/igt-gpu-tools/benchmarks/gem_wsim +%%AMD64%%libexec/igt-gpu-tools/benchmarks/intel_upload_blit_large +%%AMD64%%libexec/igt-gpu-tools/benchmarks/intel_upload_blit_large_gtt +%%AMD64%%libexec/igt-gpu-tools/benchmarks/intel_upload_blit_large_map +%%AMD64%%libexec/igt-gpu-tools/benchmarks/intel_upload_blit_small +libexec/igt-gpu-tools/benchmarks/kms_vblank +libexec/igt-gpu-tools/benchmarks/libgem_exec_tracer.so +libexec/igt-gpu-tools/benchmarks/prime_lookup +libexec/igt-gpu-tools/benchmarks/vgem_mmap +%%TEST%%libexec/igt-gpu-tools/core_auth +%%TEST%%libexec/igt-gpu-tools/core_getclient +%%TEST%%libexec/igt-gpu-tools/core_getstats +%%TEST%%libexec/igt-gpu-tools/core_getversion +%%TEST%%libexec/igt-gpu-tools/core_setmaster +%%TEST%%libexec/igt-gpu-tools/core_setmaster_vs_auth +%%TEST%%libexec/igt-gpu-tools/debugfs_test +%%TEST%%libexec/igt-gpu-tools/device_reset +%%TEST%%libexec/igt-gpu-tools/drm_fdinfo +%%TEST%%libexec/igt-gpu-tools/drm_import_export +%%TEST%%libexec/igt-gpu-tools/drm_read +%%TEST%%libexec/igt-gpu-tools/dumb_buffer +%%TEST%%libexec/igt-gpu-tools/feature_discovery +%%TEST%%libexec/igt-gpu-tools/gem_bad_reloc +%%TEST%%libexec/igt-gpu-tools/gem_basic +%%TEST%%libexec/igt-gpu-tools/gem_blits +%%TEST%%libexec/igt-gpu-tools/gem_busy +%%TEST%%libexec/igt-gpu-tools/gem_caching +%%TEST%%libexec/igt-gpu-tools/gem_ccs +%%TEST%%libexec/igt-gpu-tools/gem_close +%%TEST%%libexec/igt-gpu-tools/gem_close_race +%%TEST%%libexec/igt-gpu-tools/gem_concurrent_all +%%TEST%%libexec/igt-gpu-tools/gem_concurrent_blit +%%TEST%%libexec/igt-gpu-tools/gem_create +%%TEST%%libexec/igt-gpu-tools/gem_cs_tlb +%%TEST%%libexec/igt-gpu-tools/gem_ctx_bad_destroy +%%TEST%%libexec/igt-gpu-tools/gem_ctx_create +%%TEST%%libexec/igt-gpu-tools/gem_ctx_engines +%%TEST%%libexec/igt-gpu-tools/gem_ctx_exec +%%TEST%%libexec/igt-gpu-tools/gem_ctx_isolation +%%TEST%%libexec/igt-gpu-tools/gem_ctx_param +%%TEST%%libexec/igt-gpu-tools/gem_ctx_persistence +%%TEST%%libexec/igt-gpu-tools/gem_ctx_shared +%%TEST%%libexec/igt-gpu-tools/gem_ctx_switch +%%TEST%%libexec/igt-gpu-tools/gem_eio +%%TEST%%libexec/igt-gpu-tools/gem_evict_alignment +%%TEST%%libexec/igt-gpu-tools/gem_evict_everything +%%TEST%%libexec/igt-gpu-tools/gem_exec_alignment +%%TEST%%libexec/igt-gpu-tools/gem_exec_async +%%TEST%%libexec/igt-gpu-tools/gem_exec_await +%%TEST%%libexec/igt-gpu-tools/gem_exec_basic +%%TEST%%libexec/igt-gpu-tools/gem_exec_big +%%TEST%%libexec/igt-gpu-tools/gem_exec_capture +%%TEST%%libexec/igt-gpu-tools/gem_exec_create +%%TEST%%libexec/igt-gpu-tools/gem_exec_endless +%%TEST%%libexec/igt-gpu-tools/gem_exec_fair +%%TEST%%libexec/igt-gpu-tools/gem_exec_fence +%%TEST%%libexec/igt-gpu-tools/gem_exec_flush +%%TEST%%libexec/igt-gpu-tools/gem_exec_gttfill +%%TEST%%libexec/igt-gpu-tools/gem_exec_latency +%%TEST%%libexec/igt-gpu-tools/gem_exec_lut_handle +%%TEST%%libexec/igt-gpu-tools/gem_exec_nop +%%TEST%%libexec/igt-gpu-tools/gem_exec_parallel +%%TEST%%libexec/igt-gpu-tools/gem_exec_params +%%TEST%%libexec/igt-gpu-tools/gem_exec_reloc +%%TEST%%libexec/igt-gpu-tools/gem_exec_schedule +%%TEST%%libexec/igt-gpu-tools/gem_exec_store +%%TEST%%libexec/igt-gpu-tools/gem_exec_suspend +%%TEST%%libexec/igt-gpu-tools/gem_exec_whisper +%%TEST%%libexec/igt-gpu-tools/gem_fd_exhaustion +%%TEST%%libexec/igt-gpu-tools/gem_fence_thrash +%%TEST%%libexec/igt-gpu-tools/gem_fence_upload +%%TEST%%libexec/igt-gpu-tools/gem_fenced_exec_thrash +%%TEST%%libexec/igt-gpu-tools/gem_flink_basic +%%TEST%%libexec/igt-gpu-tools/gem_flink_race +%%TEST%%libexec/igt-gpu-tools/gem_gpgpu_fill +%%TEST%%libexec/igt-gpu-tools/gem_gtt_cpu_tlb +%%TEST%%libexec/igt-gpu-tools/gem_gtt_hog +%%TEST%%libexec/igt-gpu-tools/gem_gtt_speed +%%TEST%%libexec/igt-gpu-tools/gem_huc_copy +%%TEST%%libexec/igt-gpu-tools/gem_linear_blits +%%TEST%%libexec/igt-gpu-tools/gem_lmem_swapping +%%TEST%%libexec/igt-gpu-tools/gem_lut_handle +%%TEST%%libexec/igt-gpu-tools/gem_madvise +%%TEST%%libexec/igt-gpu-tools/gem_media_fill +%%TEST%%libexec/igt-gpu-tools/gem_media_vme +%%TEST%%libexec/igt-gpu-tools/gem_mmap +%%TEST%%libexec/igt-gpu-tools/gem_mmap_gtt +%%TEST%%libexec/igt-gpu-tools/gem_mmap_offset +%%TEST%%libexec/igt-gpu-tools/gem_mmap_wc +%%TEST%%libexec/igt-gpu-tools/gem_partial_pwrite_pread +%%TEST%%libexec/igt-gpu-tools/gem_pipe_control_store_loop +%%TEST%%libexec/igt-gpu-tools/gem_ppgtt +%%TEST%%libexec/igt-gpu-tools/gem_pread +%%TEST%%libexec/igt-gpu-tools/gem_pread_after_blit +%%TEST%%libexec/igt-gpu-tools/gem_pwrite +%%TEST%%libexec/igt-gpu-tools/gem_pwrite_snooped +%%TEST%%libexec/igt-gpu-tools/gem_pxp +%%TEST%%libexec/igt-gpu-tools/gem_read_read_speed +%%TEST%%libexec/igt-gpu-tools/gem_readwrite +%%TEST%%libexec/igt-gpu-tools/gem_reg_read +%%TEST%%libexec/igt-gpu-tools/gem_render_copy +%%TEST%%libexec/igt-gpu-tools/gem_render_copy_redux +%%TEST%%libexec/igt-gpu-tools/gem_render_linear_blits +%%TEST%%libexec/igt-gpu-tools/gem_render_tiled_blits +%%TEST%%libexec/igt-gpu-tools/gem_request_retire +%%TEST%%libexec/igt-gpu-tools/gem_reset_stats +%%TEST%%libexec/igt-gpu-tools/gem_ringfill +%%TEST%%libexec/igt-gpu-tools/gem_set_tiling_vs_blt +%%TEST%%libexec/igt-gpu-tools/gem_set_tiling_vs_gtt +%%TEST%%libexec/igt-gpu-tools/gem_set_tiling_vs_pwrite +%%TEST%%libexec/igt-gpu-tools/gem_shrink +%%TEST%%libexec/igt-gpu-tools/gem_softpin +%%TEST%%libexec/igt-gpu-tools/gem_spin_batch +%%TEST%%libexec/igt-gpu-tools/gem_streaming_writes +%%TEST%%libexec/igt-gpu-tools/gem_stress +%%TEST%%libexec/igt-gpu-tools/gem_sync +%%TEST%%libexec/igt-gpu-tools/gem_tiled_blits +%%TEST%%libexec/igt-gpu-tools/gem_tiled_fence_blits +%%TEST%%libexec/igt-gpu-tools/gem_tiled_partial_pwrite_pread +%%TEST%%libexec/igt-gpu-tools/gem_tiled_pread_basic +%%TEST%%libexec/igt-gpu-tools/gem_tiled_pread_pwrite +%%TEST%%libexec/igt-gpu-tools/gem_tiled_swapping +%%TEST%%libexec/igt-gpu-tools/gem_tiled_wb +%%TEST%%libexec/igt-gpu-tools/gem_tiled_wc +%%TEST%%libexec/igt-gpu-tools/gem_tiling_max_stride +%%TEST%%libexec/igt-gpu-tools/gem_unfence_active_buffers +%%TEST%%libexec/igt-gpu-tools/gem_unref_active_buffers +%%TEST%%libexec/igt-gpu-tools/gem_userptr_blits +%%TEST%%libexec/igt-gpu-tools/gem_vm_create +%%TEST%%libexec/igt-gpu-tools/gem_wait +%%TEST%%libexec/igt-gpu-tools/gem_watchdog +%%TEST%%libexec/igt-gpu-tools/gem_workarounds +%%TEST%%libexec/igt-gpu-tools/gen3_mixed_blits +%%TEST%%libexec/igt-gpu-tools/gen3_render_linear_blits +%%TEST%%libexec/igt-gpu-tools/gen3_render_mixed_blits +%%TEST%%libexec/igt-gpu-tools/gen3_render_tiledx_blits +%%TEST%%libexec/igt-gpu-tools/gen3_render_tiledy_blits +%%TEST%%libexec/igt-gpu-tools/gen7_exec_parse +%%TEST%%libexec/igt-gpu-tools/gen9_exec_parse +%%TEST%%libexec/igt-gpu-tools/i915_fb_tiling +%%TEST%%libexec/igt-gpu-tools/i915_getparams_basic +%%TEST%%libexec/igt-gpu-tools/i915_hangman +%%TEST%%libexec/igt-gpu-tools/i915_module_load +%%TEST%%libexec/igt-gpu-tools/i915_pciid +%%TEST%%libexec/igt-gpu-tools/i915_pm_backlight +%%TEST%%libexec/igt-gpu-tools/i915_pm_dc +%%TEST%%libexec/igt-gpu-tools/i915_pm_lpsp +%%TEST%%libexec/igt-gpu-tools/i915_pm_rpm +%%TEST%%libexec/igt-gpu-tools/i915_pm_rps +%%TEST%%libexec/igt-gpu-tools/i915_pm_sseu +%%TEST%%libexec/igt-gpu-tools/i915_query +%%TEST%%libexec/igt-gpu-tools/i915_suspend +%%TEST%%libexec/igt-gpu-tools/kms_3d +%%TEST%%libexec/igt-gpu-tools/kms_addfb_basic +%%TEST%%libexec/igt-gpu-tools/kms_async_flips +%%TEST%%libexec/igt-gpu-tools/kms_atomic +%%TEST%%libexec/igt-gpu-tools/kms_atomic_interruptible +%%TEST%%libexec/igt-gpu-tools/kms_atomic_transition +%%TEST%%libexec/igt-gpu-tools/kms_big_fb +%%TEST%%libexec/igt-gpu-tools/kms_big_joiner +%%TEST%%libexec/igt-gpu-tools/kms_busy +%%TEST%%libexec/igt-gpu-tools/kms_bw +%%TEST%%libexec/igt-gpu-tools/kms_ccs +%%TEST%%libexec/igt-gpu-tools/kms_cdclk +%%CHAMELIUM%%libexec/igt-gpu-tools/kms_chamelium +%%TEST%%libexec/igt-gpu-tools/kms_color +%%CHAMELIUM%%libexec/igt-gpu-tools/kms_color_chamelium +%%TEST%%libexec/igt-gpu-tools/kms_concurrent +%%TEST%%libexec/igt-gpu-tools/kms_content_protection +%%TEST%%libexec/igt-gpu-tools/kms_cursor_crc +%%TEST%%libexec/igt-gpu-tools/kms_cursor_edge_walk +%%TEST%%libexec/igt-gpu-tools/kms_cursor_legacy +%%TEST%%libexec/igt-gpu-tools/kms_display_modes +%%TEST%%libexec/igt-gpu-tools/kms_dither +%%TEST%%libexec/igt-gpu-tools/kms_dp_aux_dev +%%TEST%%libexec/igt-gpu-tools/kms_dp_tiled_display +%%TEST%%libexec/igt-gpu-tools/kms_draw_crc +%%TEST%%libexec/igt-gpu-tools/kms_dsc +%%TEST%%libexec/igt-gpu-tools/kms_fbcon_fbt +%%TEST%%libexec/igt-gpu-tools/kms_fence_pin_leak +%%TEST%%libexec/igt-gpu-tools/kms_flip +%%TEST%%libexec/igt-gpu-tools/kms_flip_event_leak +%%TEST%%libexec/igt-gpu-tools/kms_flip_scaled_crc +%%TEST%%libexec/igt-gpu-tools/kms_flip_tiling +%%TEST%%libexec/igt-gpu-tools/kms_force_connector_basic +%%TEST%%libexec/igt-gpu-tools/kms_frontbuffer_tracking +%%TEST%%libexec/igt-gpu-tools/kms_getfb +%%TEST%%libexec/igt-gpu-tools/kms_hdmi_inject +%%TEST%%libexec/igt-gpu-tools/kms_hdr +%%TEST%%libexec/igt-gpu-tools/kms_invalid_mode +%%TEST%%libexec/igt-gpu-tools/kms_lease +%%TEST%%libexec/igt-gpu-tools/kms_legacy_colorkey +%%TEST%%libexec/igt-gpu-tools/kms_mmap_write_crc +%%TEST%%libexec/igt-gpu-tools/kms_multipipe_modeset +%%TEST%%libexec/igt-gpu-tools/kms_panel_fitting +%%TEST%%libexec/igt-gpu-tools/kms_pipe_b_c_ivb +%%TEST%%libexec/igt-gpu-tools/kms_pipe_crc_basic +%%TEST%%libexec/igt-gpu-tools/kms_plane +%%TEST%%libexec/igt-gpu-tools/kms_plane_alpha_blend +%%TEST%%libexec/igt-gpu-tools/kms_plane_cursor +%%TEST%%libexec/igt-gpu-tools/kms_plane_lowres +%%TEST%%libexec/igt-gpu-tools/kms_plane_multiple +%%TEST%%libexec/igt-gpu-tools/kms_plane_scaling +%%TEST%%libexec/igt-gpu-tools/kms_prime +%%TEST%%libexec/igt-gpu-tools/kms_prop_blob +%%TEST%%libexec/igt-gpu-tools/kms_properties +%%TEST%%libexec/igt-gpu-tools/kms_psr +%%TEST%%libexec/igt-gpu-tools/kms_psr2_sf +%%TEST%%libexec/igt-gpu-tools/kms_psr2_su +%%TEST%%libexec/igt-gpu-tools/kms_psr_stress_test +%%TEST%%libexec/igt-gpu-tools/kms_pwrite_crc +%%TEST%%libexec/igt-gpu-tools/kms_rmfb +%%TEST%%libexec/igt-gpu-tools/kms_rotation_crc +%%TEST%%libexec/igt-gpu-tools/kms_scaling_modes +%%TEST%%libexec/igt-gpu-tools/kms_sequence +%%TEST%%libexec/igt-gpu-tools/kms_setmode +%%TEST%%libexec/igt-gpu-tools/kms_sysfs_edid_timing +%%TEST%%libexec/igt-gpu-tools/kms_tv_load_detect +%%TEST%%libexec/igt-gpu-tools/kms_universal_plane +%%TEST%%libexec/igt-gpu-tools/kms_vblank +%%TEST%%libexec/igt-gpu-tools/kms_vrr +%%TEST%%libexec/igt-gpu-tools/kms_writeback +%%TEST%%libexec/igt-gpu-tools/meta_test +%%TEST%%libexec/igt-gpu-tools/msm_mapping +%%TEST%%libexec/igt-gpu-tools/msm_recovery +%%TEST%%libexec/igt-gpu-tools/msm_submit +%%TEST%%libexec/igt-gpu-tools/panfrost_gem_new +%%TEST%%libexec/igt-gpu-tools/panfrost_get_param +%%TEST%%libexec/igt-gpu-tools/panfrost_prime +%%TEST%%libexec/igt-gpu-tools/panfrost_submit +%%TEST%%libexec/igt-gpu-tools/prime_busy +%%TEST%%libexec/igt-gpu-tools/prime_mmap +%%TEST%%libexec/igt-gpu-tools/prime_mmap_coherency +%%TEST%%libexec/igt-gpu-tools/prime_mmap_kms +%%TEST%%libexec/igt-gpu-tools/prime_self_import +%%TEST%%libexec/igt-gpu-tools/prime_udl +%%TEST%%libexec/igt-gpu-tools/prime_vgem +%%TEST%%libexec/igt-gpu-tools/sw_sync +%%TEST%%libexec/igt-gpu-tools/syncobj_basic +%%TEST%%libexec/igt-gpu-tools/syncobj_timeline +%%TEST%%libexec/igt-gpu-tools/syncobj_wait +%%TEST%%libexec/igt-gpu-tools/sysfs_clients +%%TEST%%libexec/igt-gpu-tools/sysfs_defaults +%%TEST%%libexec/igt-gpu-tools/sysfs_heartbeat_interval +%%TEST%%libexec/igt-gpu-tools/sysfs_preempt_timeout +%%TEST%%libexec/igt-gpu-tools/sysfs_timeslice_duration +%%TEST%%libexec/igt-gpu-tools/template +%%TEST%%libexec/igt-gpu-tools/test-list-full.txt +%%TEST%%libexec/igt-gpu-tools/test-list.txt +%%TEST%%libexec/igt-gpu-tools/testdisplay +%%TEST%%libexec/igt-gpu-tools/tools_test +%%TEST%%libexec/igt-gpu-tools/v3d_get_bo_offset +%%TEST%%libexec/igt-gpu-tools/v3d_get_param +%%TEST%%libexec/igt-gpu-tools/v3d_mmap +%%TEST%%libexec/igt-gpu-tools/vc4_create_bo +%%TEST%%libexec/igt-gpu-tools/vc4_dmabuf_poll +%%TEST%%libexec/igt-gpu-tools/vc4_label_bo +%%TEST%%libexec/igt-gpu-tools/vc4_lookup_fail +%%TEST%%libexec/igt-gpu-tools/vc4_purgeable_bo +%%TEST%%libexec/igt-gpu-tools/vc4_tiling +%%TEST%%libexec/igt-gpu-tools/vc4_wait_bo +%%TEST%%libexec/igt-gpu-tools/vc4_wait_seqno +%%TEST%%libexec/igt-gpu-tools/vgem_basic +%%TEST%%libexec/igt-gpu-tools/vgem_slow +man/man1/intel_audio_dump.1.gz +man/man1/intel_bios_dumper.1.gz +man/man1/intel_error_decode.1.gz +man/man1/intel_gpu_frequency.1.gz +man/man1/intel_gpu_top.1.gz +man/man1/intel_gtt.1.gz +man/man1/intel_infoframes.1.gz +man/man1/intel_lid.1.gz +man/man1/intel_panel_fitter.1.gz +man/man1/intel_reg.1.gz +man/man1/intel_stepping.1.gz +man/man1/intel_upload_blit_large.1.gz +man/man1/intel_upload_blit_large_gtt.1.gz +man/man1/intel_upload_blit_large_map.1.gz +man/man1/intel_upload_blit_small.1.gz +man/man1/intel_vbt_decode.1.gz +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/annotation-glossary.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/ch01.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/ch02.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/deprecated-api-index.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/full-api-index.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/home.png +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-amdgpu-tests.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-core-tests.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-debugfs-tests.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-drm-tests.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gem-tests.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gen3-tests.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gen7-tests.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-ALSA.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-Audio.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-Batch-Buffer.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-Blitter-library.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-Buffer-operations.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-CRC.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-Chamelium.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-Chipset.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-Collection.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-Core.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-Device-selection.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-Draw.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-Dummyload.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-Frame.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-Framebuffer.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-GEM-Context.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-GEM-Create.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-GEM-Engine-Topology.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-GEM-Scheduler.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-GEM-Submission.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-GT.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-I915-GPU-CRC.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-IGT-List.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-IGT-Map.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-IO.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-Intel-Context-Wrapper.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-Intel-allocator.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-KMS.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-Power-Management.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-Primes.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-Random.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-SW-Sync.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-Stats.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-VC4.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-VGEM.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-aux.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-debugfs.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-drmtest.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-igt-device.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-io.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-ioctl-wrappers.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-kmod.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-msm.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-syncobj.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-sysfs.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools-x86.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-gpu-tools.devhelp2 +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-i915-tests.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-kms-tests.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-meta-tests.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-perf-tests.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-pm-tests.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-prime-tests.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-sw-sync-tests.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-test-programs-common-features.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-testdisplay-tests.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-tools-tests.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/igt-vgem-tests.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/index.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/left-insensitive.png +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/left.png +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/right-insensitive.png +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/right.png +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/style.css +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/test-programs.html +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/up-insensitive.png +%%DOCS%%share/gtk-doc/html/igt-gpu-tools/up.png +%%TEST%%%%DATADIR%%/1080p-left.png +%%TEST%%%%DATADIR%%/1080p-right.png +%%TEST%%%%DATADIR%%/README +%%TEST%%%%DATADIR%%/blacklist-pre-merge.txt +%%TEST%%%%DATADIR%%/blacklist.txt +%%TEST%%%%DATADIR%%/fast-feedback.testlist +%%TEST%%%%DATADIR%%/meta.testlist +%%TEST%%%%DATADIR%%/pass.png +%%DATADIR%%/registers/audio_config_haswell_plus.txt +%%DATADIR%%/registers/audio_debug_haswell_plus.txt +%%DATADIR%%/registers/base_interrupt.txt +%%DATADIR%%/registers/base_other.txt +%%DATADIR%%/registers/base_power.txt +%%DATADIR%%/registers/base_rings.txt +%%DATADIR%%/registers/broadwell +%%DATADIR%%/registers/cherryview +%%DATADIR%%/registers/chv_display_base.txt +%%DATADIR%%/registers/chv_dpio_phy_x1.txt +%%DATADIR%%/registers/chv_dpio_phy_x2.txt +%%DATADIR%%/registers/chv_pipe_b_extra.txt +%%DATADIR%%/registers/chv_pipe_c.txt +%%DATADIR%%/registers/common_display.txt +%%DATADIR%%/registers/gen6_other.txt +%%DATADIR%%/registers/gen7_other.txt +%%DATADIR%%/registers/gen8_interrupt.txt +%%DATADIR%%/registers/gen8_other.txt +%%DATADIR%%/registers/haswell +%%DATADIR%%/registers/haswell_other.txt +%%DATADIR%%/registers/icelake +%%DATADIR%%/registers/icl_delta.txt +%%DATADIR%%/registers/ivybridge +%%DATADIR%%/registers/kabylake +%%DATADIR%%/registers/sandybridge +%%DATADIR%%/registers/skl_display.txt +%%DATADIR%%/registers/skl_powerwells.txt +%%DATADIR%%/registers/skylake +%%DATADIR%%/registers/tigerlake +%%DATADIR%%/registers/tigerlake_delta.txt +%%DATADIR%%/registers/valleyview +%%DATADIR%%/registers/vlv_cck.txt +%%DATADIR%%/registers/vlv_display_base.txt +%%DATADIR%%/registers/vlv_dpio_phy.txt +%%DATADIR%%/registers/vlv_dsi.txt +%%DATADIR%%/registers/vlv_flisdsi.txt +%%DATADIR%%/registers/vlv_pipe_a.txt +%%DATADIR%%/registers/vlv_pipe_b.txt +%%DATADIR%%/registers/vlv_power.txt