summaryrefslogtreecommitdiff
path: root/tests/gem_bad_blit.c
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2015-05-14 15:38:40 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2015-05-15 12:23:43 +0100
commitfa4396d0917aae72633cc4d0c8e14222ec494c84 (patch)
tree5ba776f5b19dec1a183b603ad348ad7d9ef151a1 /tests/gem_bad_blit.c
parent15f60217cc79950702afe599b567bdf8fbd5ce75 (diff)
gem_bad_blit: Make the BAD_GTT_TEST address more than 32 bits
gem_bad_blit.c: In function ‘bad_blit’: gem_bad_blit.c:89:3: warning: right shift count >= width of type [enabled by default] OUT_BATCH(BAD_GTT_DEST >> 32); /* Upper 16 bits */ v2: remove extraneous () Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'tests/gem_bad_blit.c')
-rw-r--r--tests/gem_bad_blit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_bad_blit.c b/tests/gem_bad_blit.c
index 593167c2..f981d356 100644
--- a/tests/gem_bad_blit.c
+++ b/tests/gem_bad_blit.c
@@ -60,7 +60,7 @@
static drm_intel_bufmgr *bufmgr;
struct intel_batchbuffer *batch;
-#define BAD_GTT_DEST ((256*1024*1024)) /* past end of aperture */
+#define BAD_GTT_DEST (256*1024*1024ULL) /* past end of aperture */
static void
bad_blit(drm_intel_bo *src_bo, uint32_t devid)