projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95bbede
)
drm/i915/bios: limit default outputs by platform on missing VBT
author
Jani Nikula
<jani.nikula@intel.com>
Wed, 17 Mar 2021 16:36:44 +0000
(18:36 +0200)
committer
Jani Nikula
<jani.nikula@intel.com>
Thu, 18 Mar 2021 12:43:37 +0000
(14:43 +0200)
Pre-DDI and non-CHV aren't using the information created here anyway, so
don't bother setting the defaults for them. This should be a
non-functional change, but is separated here to catch any regressions in
a single commit.
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/41526a4eee5fb0de8d7f1ffe4c09965b63ccbaa8.1615998927.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_bios.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/display/intel_bios.c
b/drivers/gpu/drm/i915/display/intel_bios.c
index
3808458
..
be3dc33
100644
(file)
--- a/
drivers/gpu/drm/i915/display/intel_bios.c
+++ b/
drivers/gpu/drm/i915/display/intel_bios.c
@@
-2082,6
+2082,9
@@
init_vbt_missing_defaults(struct drm_i915_private *i915)
{
enum port port;
+ if (!HAS_DDI(i915) && !IS_CHERRYVIEW(i915))
+ return;
+
for_each_port(port) {
struct ddi_vbt_port_info *info =
&i915->vbt.ddi_port_info[port];