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>
This commit is contained in:
Damien Lespiau 2015-05-14 15:38:40 +01:00
parent 15f60217cc
commit fa4396d091

View File

@ -60,7 +60,7 @@
static drm_intel_bufmgr *bufmgr; static drm_intel_bufmgr *bufmgr;
struct intel_batchbuffer *batch; 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 static void
bad_blit(drm_intel_bo *src_bo, uint32_t devid) bad_blit(drm_intel_bo *src_bo, uint32_t devid)