diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-10-13 09:45:59 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-10-13 09:51:57 +0100 |
commit | 8507ef50ba08061ac158848a7c4c136e1755d87e (patch) | |
tree | 67b11a01ada3c955bb04f815253b50ff71eb777f | |
parent | 15aab1ef982fb67eb2ea463089f070afd9a2cfe5 (diff) |
Fix driverName regression for i830 from 4083197a
Reported-by: Stefan Glasenhardt <stefan@glasen-hardt.de>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30808
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/intel_dri.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel_dri.c b/src/intel_dri.c index 97f9c4a6..67f7be9d 100644 --- a/src/intel_dri.c +++ b/src/intel_dri.c @@ -1180,7 +1180,7 @@ Bool I830DRI2ScreenInit(ScreenPtr screen) intel->deviceName = drmGetDeviceNameFromFd(intel->drmSubFD); memset(&info, '\0', sizeof(info)); info.fd = intel->drmSubFD; - info.driverName = IS_GEN3(intel) ? "i915" : "i965"; + info.driverName = INTEL_INFO(intel)->gen < 40 ? "i915" : "i965"; info.deviceName = intel->deviceName; #if DRI2INFOREC_VERSION == 1 |