drm/i915: Inline SUPPORTS_DIGITAL_OUTPUTS
After the register save/restore code is gone there's just one user left and it just obfuscates that one. Remove it. Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
@@ -14306,7 +14306,7 @@ static void intel_setup_outputs(struct drm_device *dev)
|
||||
}
|
||||
|
||||
intel_dsi_init(dev);
|
||||
} else if (SUPPORTS_DIGITAL_OUTPUTS(dev)) {
|
||||
} else if (!IS_GEN2(dev) && !IS_PINEVIEW(dev)) {
|
||||
bool found = false;
|
||||
|
||||
if (I915_READ(GEN3_SDVOB) & SDVO_DETECTED) {
|
||||
|
||||
Reference in New Issue
Block a user