https://bugs.freedesktop.org/show_bug.cgi?id=32325
--- Comment #1 from Chris Rankin rankincj@googlemail.com 2010-12-11 14:58:51 PST --- There is a similar absence of DRM major version number checking in the radeonCreateScreen() function in radeon_screen.c. (This probably affect r600c as well, seeing as how the file is shared.)
And radeonInitContext() in radeon_common_context.c only loads the DRM minor version into the DRI fields:
/* DRI fields */ radeon->dri.context = driContextPriv; radeon->dri.screen = sPriv; radeon->dri.hwContext = driContextPriv->hHWContext; radeon->dri.hwLock = &sPriv->pSAREA->lock; radeon->dri.hwLockCount = 0; radeon->dri.fd = sPriv->fd; radeon->dri.drmMinor = sPriv->drm_version.minor;
Is this enough now?