diff options
author | Kenneth Graunke <[email protected]> | 2014-02-10 01:54:23 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-02-11 02:23:22 -0800 |
commit | eaf3358e0a1323ed417b6875e70fdcdc30ed97e0 (patch) | |
tree | 2f4e0b7e61e4f664976f7719b67be38cb96f3ddc /src/gallium/drivers/radeon | |
parent | b47d231526821f5cff99546a984103a7222bc66c (diff) |
i965: Don't call abort() on an unknown device.
If we don't recognize the PCI ID, we can't reasonably load the driver.
However, calling abort() is quite rude - it means the application that
tried to initialize us (possibly the X server) can't continue via
fallback paths. We already have a more polite mechanism - failing to
create the context. So, just use that.
While we're at it, improve the error message.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73024
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Tested-by: Lu Hua <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon')
0 files changed, 0 insertions, 0 deletions