mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-22 15:26:21 +00:00
gem_vmap_blits: fix compilation if I915_PARAM_HAS_VMAP is not defined
Previously, "make check" failed because the main() function was not defined. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Tested-By: Eugeni Dodonov <eugeni.dodonov@intel.com> Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
15cb282187
commit
2a7778d4e3
@ -53,6 +53,11 @@
|
|||||||
|
|
||||||
#if !defined(I915_PARAM_HAS_VMAP)
|
#if !defined(I915_PARAM_HAS_VMAP)
|
||||||
#warning No vmap support in drm, skipping
|
#warning No vmap support in drm, skipping
|
||||||
|
int main(int argc, char **argv)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "No vmap support in drm.\n");
|
||||||
|
return 77;
|
||||||
|
}
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#define WIDTH 512
|
#define WIDTH 512
|
||||||
|
Loading…
x
Reference in New Issue
Block a user