On Wed, Apr 2, 2014 at 11:26 PM, Jonathan Gray wrote:
> On Wed, Apr 02, 2014 at 11:09:09PM -0700, Matt Turner wrote:
>> On Wed, Apr 2, 2014 at 10:22 PM, Jonathan Gray wrote:
>> > Don't hardcode /dev/dri/card0 but instead use the drm
>> > macros which allows the correct /dev/drm0 device to be
>> >
On Wed, Apr 02, 2014 at 11:09:09PM -0700, Matt Turner wrote:
> On Wed, Apr 2, 2014 at 10:22 PM, Jonathan Gray wrote:
> > Don't hardcode /dev/dri/card0 but instead use the drm
> > macros which allows the correct /dev/drm0 device to be
> > opened on OpenBSD.
> >
> > v2: use snprintf and fallback to
On Wed, Apr 2, 2014 at 10:22 PM, Jonathan Gray wrote:
> Don't hardcode /dev/dri/card0 but instead use the drm
> macros which allows the correct /dev/drm0 device to be
> opened on OpenBSD.
>
> v2: use snprintf and fallback to /dev/dri/card0
> v3: check for snprintf truncation
>
> Signed-off-by: Jon
Don't hardcode /dev/dri/card0 but instead use the drm
macros which allows the correct /dev/drm0 device to be
opened on OpenBSD.
v2: use snprintf and fallback to /dev/dri/card0
v3: check for snprintf truncation
Signed-off-by: Jonathan Gray
---
src/egl/drivers/dri2/platform_drm.c | 7 ++-
1 f