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

Commit 82daabae authored by Matthew Auld's avatar Matthew Auld Committed by Joonas Lahtinen
Browse files

drm/i915: remove writeq ifdeffery

parent c92bd2fa
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -2304,12 +2304,7 @@ int i915_gem_gtt_prepare_object(struct drm_i915_gem_object *obj)

static void gen8_set_pte(void __iomem *addr, gen8_pte_t pte)
{
#ifdef writeq
	writeq(pte, addr);
#else
	iowrite32((u32)pte, addr);
	iowrite32(pte >> 32, addr + 4);
#endif
}

static void gen8_ggtt_insert_page(struct i915_address_space *vm,