mesa/include/drm-uapi
Iago Toral Quiroga db87439232 v3d: request the kernel to flush caches when TMU is dirty
This adapts the v3d driver to the new CL submit ioctl interface that
allows the driver to request a flush of the caches after the render
job has completed. This seems to eliminate the kernel write violation
errors reported during CTS and Piglit excutions, fixing some CTS tests
and GPU resets along the way.

v2:
  - Adapt to changes in the kernel side.
  - Disable shader storage and shader images if the kernel doesn't
    implement cache flushing.

Fixes CTS tests:
KHR-GLES31.core.shader_image_size.basic-nonMS-fs-float
KHR-GLES31.core.shader_image_size.basic-nonMS-fs-int
KHR-GLES31.core.shader_image_size.basic-nonMS-fs-uint
KHR-GLES31.core.shader_image_size.advanced-nonMS-fs-float
KHR-GLES31.core.shader_image_size.advanced-nonMS-fs-int
KHR-GLES31.core.shader_image_size.advanced-nonMS-fs-uint
KHR-GLES31.core.shader_atomic_counters.advanced-usage-many-draw-calls2
KHR-GLES31.core.shader_atomic_counters.advanced-usage-draw-update-draw
KHR-GLES31.core.shader_storage_buffer_object.advanced-unsizedArrayLength-fs-int
KHR-GLES31.core.shader_storage_buffer_object.advanced-unsizedArrayLength-fs-std140-matR
KHR-GLES31.core.shader_storage_buffer_object.advanced-unsizedArrayLength-fs-std140-struct
KHR-GLES31.core.shader_storage_buffer_object.advanced-unsizedArrayLength-fs-std430-matC-pad
KHR-GLES31.core.shader_storage_buffer_object.advanced-unsizedArrayLength-fs-std430-vec

Reviewed-by: Eric Anholt <eric@anholt.net>
2019-10-18 14:08:52 +02:00
..
README include: update drm-uapi 2019-10-08 14:23:51 +01:00
drm.h include: update drm-uapi 2019-10-08 14:23:51 +01:00
drm_fourcc.h uapi: Update drm_fourcc.h 2019-09-11 13:04:53 -07:00
drm_mode.h include: update drm-uapi 2019-10-08 14:23:51 +01:00
etnaviv_drm.h include: update drm-uapi 2019-10-08 14:23:51 +01:00
i915_drm.h include: update drm-uapi 2019-10-08 14:23:51 +01:00
lima_drm.h drm-uapi: add lima_drm.h 2019-04-11 09:57:53 +08:00
msm_drm.h freedreno: Restore msm_drm.h to a pristine "make headers_install" copy. 2019-05-14 11:51:57 -07:00
panfrost_drm.h panfrost: Sync UAPI header from kernel 2019-08-19 19:33:20 -05:00
tegra_drm.h drm-uapi: Update headers from drm-next 2019-02-26 13:08:51 +00:00
v3d_drm.h v3d: request the kernel to flush caches when TMU is dirty 2019-10-18 14:08:52 +02:00
vc4_drm.h drm-uapi: Update vc4 header with syncobj submit support 2018-05-17 16:04:21 +01:00

README

This directory contains a copy of the installed kernel headers
required by several drivers to communicate with the kernel.
Whenever one of those driver needs new definitions for new kernel
APIs, these files should be updated.

These files in master should only be updated once the changes have landed
in the drm-next tree.

You can copy files installed after running this from the kernel
repository, at version the drivers require :

$ make headers_install INSTALL_HDR_PATH=/path/to/install

The last update was done at the following kernel commit :

commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Mon Sep 30 10:35:40 2019 -0700

    Linux 5.4-rc1