drm: Branch 'master'
[email protected] (Michel D??nzer)
| Newsgroups | gmane.comp.video.dri.patches |
|---|---|
| Message-ID | <[email protected]> |
radeon/radeon_bo_gem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit db138b9ba12a0de5d6140832c0679c2418e3e7e0 Author: Michel Dänzer <[email protected]> Date: Thu Jan 21 18:08:49 2016 +0900 radeon: Pass radeon_bo_open flags to the DRM_RADEON_GEM_CREATE ioctl Not doing so makes it impossible for radeon_bo_open callers to set any RADEON_GEM_* flags for the newly created BO. Reviewed-by: Alex Deucher <[email protected]> diff --git a/radeon/radeon_bo_gem.c b/radeon/radeon_bo_gem.c index c9fe19f..fbd453d 100644 --- a/radeon/radeon_bo_gem.c +++ b/radeon/radeon_bo_gem.c @@ -103,7 +103,7 @@ static struct radeon_bo *bo_open(struct radeon_bo_manager *bom, args.size = size; args.alignment = alignment; args.initial_domain = bo->base.domains; - args.flags = 0; + args.flags = flags; args.handle = 0; r = drmCommandWriteRead(bom->fd, DRM_RADEON_GEM_CREATE, &args, sizeof(args)); ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 -- _______________________________________________ Dri-patches mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-patches