Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dd0910b3 authored by Dave Airlie's avatar Dave Airlie
Browse files

drm/i915: make hw page ioremap use ioremap_wc



However we still have another issue with ioremap_wc not falling back
properly or somehow doing something else stupid, this probably needs
to be tracked down.

Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent d61e7380
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -811,7 +811,7 @@ static int i915_set_status_page(struct drm_device *dev, void *data,
	dev_priv->hws_map.flags = 0;
	dev_priv->hws_map.mtrr = 0;

	drm_core_ioremap(&dev_priv->hws_map, dev);
	drm_core_ioremap_wc(&dev_priv->hws_map, dev);
	if (dev_priv->hws_map.handle == NULL) {
		i915_dma_cleanup(dev);
		dev_priv->status_gfx_addr = 0;