commit | 0ec7f4423dcb6f80bee020f98fd319b092f90581 | [log] [tgz] |
---|---|---|
author | Emil Velikov <emil.l.velikov@gmail.com> | Mon Aug 31 20:38:54 2015 +0100 |
committer | Emil Velikov <emil.l.velikov@gmail.com> | Fri Sep 04 21:39:01 2015 +0100 |
tree | 37d3f368db0c0101b2e6f0a90ea4ae7bb0251c03 | |
parent | 94425f627221c0f67503a9aa4dff3502725905b3 [diff] |
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>