diff options
author | Karol Herbst <[email protected]> | 2020-10-07 00:05:27 +0200 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2020-10-07 15:33:00 +1000 |
commit | c3e0276c31ca8c7b8615da890727481260d4676f (patch) | |
tree | 7240e61158285967deae7da8f8b0a74a58a76993 /lib/mpi/mpi-sub-ui.c | |
parent | 86fdf61e71046618f6f499542cee12f2348c523c (diff) |
drm/nouveau/device: return error for unknown chipsets
Previously the code relied on device->pri to be NULL and to fail probing
later. We really should just return an error inside nvkm_device_ctor for
unsupported GPUs.
Fixes: 24d5ff40a732 ("drm/nouveau/device: rework mmio mapping code to get rid of second map")
Signed-off-by: Karol Herbst <[email protected]>
Cc: dann frazier <[email protected]>
Cc: dri-devel <[email protected]>
Cc: Dave Airlie <[email protected]>
Cc: [email protected]
Reviewed-by: Jeremy Cline <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions