File tree Expand file tree Collapse file tree
sys/external/bsd/drm2/dist/drm/i915/gt Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- /* $NetBSD: intel_ggtt.c,v 1.18 2025/01/26 18:21:15 riastradh Exp $ */
1+ /* $NetBSD: intel_ggtt.c,v 1.19 2025/01/26 18:23:56 riastradh Exp $ */
22
33// SPDX-License-Identifier: MIT
44/*
55 * Copyright © 2020 Intel Corporation
66 */
77
88#include <sys/cdefs.h>
9- __KERNEL_RCSID (0 , "$NetBSD: intel_ggtt.c,v 1.18 2025/01/26 18:21:15 riastradh Exp $" );
9+ __KERNEL_RCSID (0 , "$NetBSD: intel_ggtt.c,v 1.19 2025/01/26 18:23:56 riastradh Exp $" );
1010
1111#include <linux/stop_machine.h>
1212
@@ -392,8 +392,7 @@ static void gen8_ggtt_clear_range(struct i915_address_space *vm,
392392
393393#ifdef __NetBSD__
394394 for (i = 0 ; i < num_entries ; i ++ )
395- gen8_set_pte (ggtt -> gsmt , ggtt -> gsmh ,
396- first_entry + i * sizeof (gen8_pte_t ),
395+ gen8_set_pte (ggtt -> gsmt , ggtt -> gsmh , first_entry + i ,
397396 scratch_pte );
398397#else
399398 for (i = 0 ; i < num_entries ; i ++ )
You can’t perform that action at this time.
0 commit comments