[Intel-gfx] [PATCH] drm/i915/BXT: Bug fix for IS_BROXTON usage

Ramalingam C ramalingam.c at intel.com
Tue Mar 29 17:27:07 UTC 2016


Parameter to IS_BROXTON() is supposed to be dev not dev_priv

If needed this could be squashed to the source of the bug.
	'commit 4d1de9756832 ("drm/i915/bxt: add dsi transcoders")'
	Date:   Fri Mar 18 17:05:42 2016 +0200

Signed-off-by: Ramalingam C <ramalingam.c at intel.com>
---
 drivers/gpu/drm/i915/intel_display.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index c0627d6..c5c9406 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -9988,7 +9988,7 @@ static bool haswell_get_pipe_config(struct intel_crtc *crtc,
 
 	active = hsw_get_transcoder_state(crtc, pipe_config, &power_domain_mask);
 
-	if (IS_BROXTON(dev_priv)) {
+	if (IS_BROXTON(dev)) {
 		bxt_get_dsi_transcoder_state(crtc, pipe_config,
 					     &power_domain_mask);
 		WARN_ON(active && pipe_config->has_dsi_encoder);
-- 
1.7.9.5



More information about the Intel-gfx mailing list