[9/9] hack: drm/i915: Always remap gtt

Submitted by Ville Syrjälä on April 30, 2019, 7:55 p.m.

Details

Message ID 20190430195543.25973-11-ville.syrjala@linux.intel.com
State New
Headers show
Series "Series without cover letter" ( rev: 1 ) in Intel GFX - Try Bot

Not browsing as part of any series.

Commit Message

Ville Syrjälä April 30, 2019, 7:55 p.m.
From: Ville Syrjälä <ville.syrjala@linux.intel.com>

v2: Rebase due to can_remap()
---
 drivers/gpu/drm/i915/intel_display.c | 3 +++
 1 file changed, 3 insertions(+)

Patch hide | download patch | download mbox

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 8934a77e8c52..252e822b7a32 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -2613,6 +2613,9 @@  static bool intel_plane_needs_remap(const struct intel_plane_state *plane_state)
 	if (!intel_plane_can_remap(plane_state))
 		return false;
 
+	/* HACK: always remap */
+	return true;
+
 	/*
 	 * FIXME: aux plane limits on gen9+ are
 	 * unclear in Bspec, for now no checking.