drm/intel
Emil Velikov 0ec7f4423d intel: introduce to_bo_gem() helper
...to minimise misuse of bo_gem.
If the variable is declared at the top of the function and then used
for two (or more) different contexts this can cause confusion and errors.

Just introduce a wrapper, which can be used in a once off situations.

Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by Chris Wilson <chris@chris-wilson.co.uk>
2015-09-04 21:39:01 +01:00
..
tests intel-decode: Fix gen6 HIER_DEPTH_BUFFER decoding 2013-04-04 09:59:20 +02:00
.gitignore intel: Add a regression test program for intel_decode.c. 2012-01-04 14:49:44 -08:00
Android.mk android: remove explicit include to libpciaccess 2015-03-26 20:37:10 +00:00
Makefile.am configure: request/set the compiler in C99 mode 2015-04-28 11:20:52 +01:00
Makefile.sources libdrm, freedreno, intel, nouveau, radeon: add Makefile.sources 2014-09-01 16:06:01 +01:00
intel-symbol-check intel: add symbols test 2015-04-28 11:19:15 +01:00
intel_aub.h intel/aub: Sync the AUB defines with mesa's 2013-06-10 17:51:17 +01:00
intel_bufmgr.c drm: remove drm_public macro 2015-04-28 11:19:15 +01:00
intel_bufmgr.h intel: wrap intel_bufmgr.h C code for C++ compilation/linking 2015-08-10 11:26:16 +03:00
intel_bufmgr_fake.c intel: resolve shadowing warnings 2015-09-04 21:38:51 +01:00
intel_bufmgr_gem.c intel: introduce to_bo_gem() helper 2015-09-04 21:39:01 +01:00
intel_bufmgr_priv.h intel: Add support for userptr objects 2014-09-17 12:15:57 +01:00
intel_chipset.h intel: Add the Broxton PCI IDs 2015-05-18 16:24:21 +01:00
intel_debug.h intel: shared header for shader debugging 2011-08-01 14:44:58 -07:00
intel_decode.c intel: resolve shadowing warnings 2015-09-04 21:38:51 +01:00
libdrm_intel.pc.in intel: Update package name and description in libdrm_intel.pc 2013-08-30 12:10:50 -04:00
mm.c drm: rename libdrm{,_macros}.h 2015-04-28 11:19:15 +01:00
mm.h drm: rename libdrm{,_macros}.h 2015-04-28 11:19:15 +01:00
test_decode.c Consistently check the fd value 2015-07-16 16:41:53 +01:00