diff options
| author | Andi Shyti <[email protected]> | 2018-10-02 12:20:47 +0300 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2018-10-02 13:37:53 +0100 |
| commit | 2ddcc982bdc51ad31bf5aa86ea02b3166cadd32e (patch) | |
| tree | db4e36e41619210b900baa53b24ec2136f8f7772 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | c0a6aa7ec2c365a44ec8eb6e9b23f1f51ad386ed (diff) | |
drm/i915: fix wrong error number report
During driver load it's considered that the i915_driver_create()
function fails only in case of insufficient memory. Indeed, in
case of failure of i915_driver_create(), the load function
returns indiscriminately -ENOMEM ignoring the real cause of
failure.
In i915_driver_create() get the consistent error value from
drm_dev_init() and embed it in the pointer return value.
Signed-off-by: Andi Shyti <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions