Summary: | [radeon] DRM version check only looks at minor number. | ||
---|---|---|---|
Product: | Mesa | Reporter: | Chris Rankin <rankincj> |
Component: | Drivers/DRI/R100 | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
[PATCH] Enable HyperZ and microtiling for R100 if DRM >= v2.x
[PATCH] Don't even consider enabling HyperZ or microtiling unless DRM major version is 1. |
Description
Chris Rankin
2010-12-11 14:33:11 UTC
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? Created attachment 41038 [details] [review] [PATCH] Don't even consider enabling HyperZ or microtiling unless DRM major version is 1. If DRM v2.x can't support this yet then the current DRM version check in Mesa is no longer adequate. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/277. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.