diff options
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2014-07-04 10:59:57 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-07-10 02:25:55 -0400 |
commit | f475dadf833691e6173dee9ad05953265f6ffe21 (patch) | |
tree | 6ea54e088d708ac2cf5d7f2be826469f7261d753 /drivers/gpu | |
parent | d101c8fe9bda6578ae72d6021415cfaad2b422f0 (diff) |
drm/i915: fix hsw_write_dcomp() error message
That function can be used to write anything on D_COMP, not just
disable it, so print a more appropriate message.
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 71430a05ba89..aea48715aa1e 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c | |||
@@ -7347,7 +7347,7 @@ static void hsw_write_dcomp(struct drm_i915_private *dev_priv, uint32_t val) | |||
7347 | mutex_lock(&dev_priv->rps.hw_lock); | 7347 | mutex_lock(&dev_priv->rps.hw_lock); |
7348 | if (sandybridge_pcode_write(dev_priv, GEN6_PCODE_WRITE_D_COMP, | 7348 | if (sandybridge_pcode_write(dev_priv, GEN6_PCODE_WRITE_D_COMP, |
7349 | val)) | 7349 | val)) |
7350 | DRM_ERROR("Failed to disable D_COMP\n"); | 7350 | DRM_ERROR("Failed to write to D_COMP\n"); |
7351 | mutex_unlock(&dev_priv->rps.hw_lock); | 7351 | mutex_unlock(&dev_priv->rps.hw_lock); |
7352 | } else { | 7352 | } else { |
7353 | I915_WRITE(D_COMP, val); | 7353 | I915_WRITE(D_COMP, val); |