drm/amdgpu/irq: check if nbio funcs exist
authorAlex Deucher <alexander.deucher@amd.com>
Sun, 1 Sep 2019 17:31:42 +0000 (12:31 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Sep 2019 14:54:14 +0000 (09:54 -0500)
commitbb42eda28407f62288398b4ef846ae64c98cdc73
tree6325b14396a7a788e5193d803ce17d9cca54fca8
parentdabeea6427dfb03ecc8bbefc4f76e976ab7a8148
drm/amdgpu/irq: check if nbio funcs exist

We need to check if the nbios funcs exist before
checking the individual pointers.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c