[PATCH] drm/radeon: enforce use of radeon_get_ib_value when reading user cmd

2013-02-11 Thread Alex Deucher
On Mon, Feb 11, 2013 at 8:57 AM, wrote: > From: Jerome Glisse > > When ever parsing cmd buffer supplied by userspace we need to use > radeon_get_ib_value rather than directly accessing the ib as the user > cmd might not yet be copied into the ib thus the parser might read > value that does not c

Re: [PATCH] drm/radeon: enforce use of radeon_get_ib_value when reading user cmd

2013-02-11 Thread Alex Deucher
On Mon, Feb 11, 2013 at 8:57 AM, wrote: > From: Jerome Glisse > > When ever parsing cmd buffer supplied by userspace we need to use > radeon_get_ib_value rather than directly accessing the ib as the user > cmd might not yet be copied into the ib thus the parser might read > value that does not c

[PATCH] drm/radeon: enforce use of radeon_get_ib_value when reading user cmd

2013-02-11 Thread j . glisse
From: Jerome Glisse When ever parsing cmd buffer supplied by userspace we need to use radeon_get_ib_value rather than directly accessing the ib as the user cmd might not yet be copied into the ib thus the parser might read value that does not correspond to what user is sending and possibly allowi

[PATCH] drm/radeon: enforce use of radeon_get_ib_value when reading user cmd

2013-02-11 Thread j.gli...@gmail.com
From: Jerome Glisse When ever parsing cmd buffer supplied by userspace we need to use radeon_get_ib_value rather than directly accessing the ib as the user cmd might not yet be copied into the ib thus the parser might read value that does not correspond to what user is sending and possibly allowi