diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-04-01 07:16:49 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-04-09 12:04:09 -0400 |
commit | bc0daf488fc4a255733ad19fe0de995f4a4d745f (patch) | |
tree | 71dd45a10024cb71fdf58f446722dedd9e096ba2 /drivers/gpu/drm/i915/intel_display.c | |
parent | 9d2f41fa0fd9a3e086d3c072b0113b6b9ebae06b (diff) |
drm/i915: make quirks more verbose
And add informational dmesg output where it does not yet exist.
In case a quirk matches too much, this information is crucial for
debugging such a bug report.
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index d86362a44590..2bd08ef056d9 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c | |||
@@ -9362,7 +9362,7 @@ static void quirk_pipea_force(struct drm_device *dev) | |||
9362 | struct drm_i915_private *dev_priv = dev->dev_private; | 9362 | struct drm_i915_private *dev_priv = dev->dev_private; |
9363 | 9363 | ||
9364 | dev_priv->quirks |= QUIRK_PIPEA_FORCE; | 9364 | dev_priv->quirks |= QUIRK_PIPEA_FORCE; |
9365 | DRM_DEBUG_DRIVER("applying pipe a force quirk\n"); | 9365 | DRM_INFO("applying pipe a force quirk\n"); |
9366 | } | 9366 | } |
9367 | 9367 | ||
9368 | /* | 9368 | /* |
@@ -9372,6 +9372,7 @@ static void quirk_ssc_force_disable(struct drm_device *dev) | |||
9372 | { | 9372 | { |
9373 | struct drm_i915_private *dev_priv = dev->dev_private; | 9373 | struct drm_i915_private *dev_priv = dev->dev_private; |
9374 | dev_priv->quirks |= QUIRK_LVDS_SSC_DISABLE; | 9374 | dev_priv->quirks |= QUIRK_LVDS_SSC_DISABLE; |
9375 | DRM_INFO("applying lvds SSC disable quirk\n"); | ||
9375 | } | 9376 | } |
9376 | 9377 | ||
9377 | /* | 9378 | /* |
@@ -9382,6 +9383,7 @@ static void quirk_invert_brightness(struct drm_device *dev) | |||
9382 | { | 9383 | { |
9383 | struct drm_i915_private *dev_priv = dev->dev_private; | 9384 | struct drm_i915_private *dev_priv = dev->dev_private; |
9384 | dev_priv->quirks |= QUIRK_INVERT_BRIGHTNESS; | 9385 | dev_priv->quirks |= QUIRK_INVERT_BRIGHTNESS; |
9386 | DRM_INFO("applying inverted panel brightness quirk\n"); | ||
9385 | } | 9387 | } |
9386 | 9388 | ||
9387 | struct intel_quirk { | 9389 | struct intel_quirk { |