diff options
| author | Ville Syrjälä <[email protected]> | 2021-10-14 09:09:41 +0000 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2021-10-14 20:23:55 +0000 |
| commit | d73b17465d6da0a94bc0fcc86b150e1e923e8f71 (patch) | |
| tree | 7bdfc05e6235700307a845cc2d15e5895f15b129 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
| parent | drm/i915: Remove memory frequency calculation (diff) | |
| download | kernel-d73b17465d6da0a94bc0fcc86b150e1e923e8f71.tar.gz kernel-d73b17465d6da0a94bc0fcc86b150e1e923e8f71.zip | |
drm/i915: Fix oops on platforms w/o hpd support
We don't have hpd support on i8xx/i915 which means hotplug_funcs==NULL.
Let's not oops when loading the driver on one those machines.
v2: Drop the redundant function pointer check (Jani)
Cc: Dave Airlie <[email protected]>
Cc: Jani Nikula <[email protected]>
Fixes: cd030c7c11a4 ("drm/i915: constify hotplug function vtable.")
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Jani Nikula <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions
