public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915/BXT: Bug fix for IS_BROXTON usage
@ 2016-03-29 17:27 Ramalingam C
  2016-03-29 19:50 ` Chris Wilson
  2016-03-30  6:02 ` ✗ Fi.CI.BAT: failure for " Patchwork
  0 siblings, 2 replies; 4+ messages in thread
From: Ramalingam C @ 2016-03-29 17:27 UTC (permalink / raw)
  To: intel-gfx; +Cc: jani.nikula

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@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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-30  6:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-29 17:27 [PATCH] drm/i915/BXT: Bug fix for IS_BROXTON usage Ramalingam C
2016-03-29 19:50 ` Chris Wilson
2016-03-30  4:31   ` Ramalingam C
2016-03-30  6:02 ` ✗ Fi.CI.BAT: failure for " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox