[radeon] DRM version check only looks at minor number.
Submitted by Chris Rankin
Assigned to Default DRI bug account
Description
Created attachment 41020 [PATCH] Enable HyperZ and microtiling for R100 if DRM >= v2.x
I have noticed that Mesa 7.9 prints the following message with a recent 2.6.3x kernel:
"DRM version 1.6 too old to support HyperZ, disabling."
The reason for this is that the DRM in the 2.6.36 kernel is v2.6:
[drm] Initialized radeon 2.6.0 20080528 for 0000:01:00.0 on minor 0
and Mesa only checks the minor version number. (Assuming that the major version number is always 1.)
I have attached a patch that will also enable both HyperZ and texture microtiling(?) on R100 if DRM >= v2.x.
Patch 41020, "[PATCH] Enable HyperZ and microtiling for R100 if DRM >= v2.x":
radeon-100.diff
Version: git