[Intel-gfx] [PATCH v4 7/8] hack: drm/i915: Always remap gtt

Ville Syrjala ville.syrjala at linux.intel.com
Thu Jan 24 19:31:01 UTC 2019


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

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

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index c6f59bfb4744..c720891b31c9 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -2562,6 +2562,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 other color planes? */
 	stride = intel_fb_pitch(fb, 0, rotation);
 	max_stride = plane->max_stride(plane, fb->format->format,
-- 
2.19.2



More information about the Intel-gfx mailing list