diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2021-10-14 12:09:41 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2021-10-14 23:23:55 +0300 |
commit | d73b17465d6da0a94bc0fcc86b150e1e923e8f71 (patch) | |
tree | 7bdfc05e6235700307a845cc2d15e5895f15b129 /drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c | |
parent | 83f52364b15265aec47d07e02b0fbf4093ab8554 (diff) | |
download | linux-d73b17465d6da0a94bc0fcc86b150e1e923e8f71.tar.gz linux-d73b17465d6da0a94bc0fcc86b150e1e923e8f71.tar.bz2 linux-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 <airlied@redhat.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Fixes: cd030c7c11a4 ("drm/i915: constify hotplug function vtable.")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211014090941.12159-5-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c')
0 files changed, 0 insertions, 0 deletions