On Wed, Apr 2, 2014 at 10:22 PM, Jonathan Gray j...@jsg.id.au 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
On Wed, Apr 02, 2014 at 11:09:09PM -0700, Matt Turner wrote:
On Wed, Apr 2, 2014 at 10:22 PM, Jonathan Gray j...@jsg.id.au 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
On Wed, Apr 2, 2014 at 11:26 PM, Jonathan Gray j...@jsg.id.au 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 j...@jsg.id.au wrote:
Don't hardcode /dev/dri/card0 but instead use the drm
macros which allows the correct
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 j...@jsg.id.au
---
src/egl/drivers/dri2/platform_drm.c |