[Bug 32325] [radeon] DRM version check only looks at minor number.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Dec 11 14:58:52 PST 2010


--- Comment #1 from Chris Rankin <rankincj at 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?

Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the dri-devel mailing list