Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (2h)  netbsd-8 (5d)  netbsd-10 (6d)  netbsd-9 (12d)  thorpej-ifq (176d)  thorpej-altq-separation (178d) 

2024-05-10 17:09:19 UTC Now

2021-12-19 11:31:40 UTC MAIN commitmail json YAML

Add netbsd-ified i915_gem_gtt_{prepare,finish}_pages prototypes

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:31:33 UTC MAIN commitmail json YAML

../dist/drm/i915/gem/i915_gem_ioctls.h for i915_gem_userptr_ioctl prototype

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:31:26 UTC MAIN commitmail json YAML

linux/bitmap.h for bitmap_zalloc

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:31:19 UTC MAIN commitmail json YAML

NetBSD-ify sglist, update netbsd goo to newer struct

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:31:11 UTC MAIN commitmail json YAML

linux: Just use __sync_* for xchg and cmpxchg.

Easier than figuring out the dance with __builtin_choose_expr to make
these work with all types they need to work with.

(riastradh)

2021-12-19 11:31:04 UTC MAIN commitmail json YAML

2021-12-19 11:30:57 UTC MAIN commitmail json YAML

drm/i915: Need a separate spin lock for i915 stub_fence.

Nothing built-in to the dma fence wait queue that we can abuse here.

(riastradh)

2021-12-19 11:30:45 UTC MAIN commitmail json YAML

2021-12-19 11:27:28 UTC MAIN commitmail json YAML

drm/i915: Forgot i915_gem_object_types.h change for rb->array.

(riastradh)

2021-12-19 11:27:20 UTC MAIN commitmail json YAML

2021-12-19 11:27:12 UTC MAIN commitmail json YAML

drm/i915: Unhook i915_gem_client_blt.c and revert changes.

Only used by self-tests, which we're not using (for now...).

(riastradh)

2021-12-19 11:27:04 UTC MAIN commitmail json YAML

linux: Define XA_FLAGS_ALLOC to 0 for now.

(riastradh)

2021-12-19 11:26:57 UTC MAIN commitmail json YAML

linux: Add __same_type and __must_be_array.

(riastradh)

2021-12-19 11:26:50 UTC MAIN commitmail json YAML

2021-12-19 11:26:42 UTC MAIN commitmail json YAML

linux: Make xchg and cmpxchg work on pointers too.

(riastradh)

2021-12-19 11:26:35 UTC MAIN commitmail json YAML

2021-12-19 11:26:26 UTC MAIN commitmail json YAML

drm: Sprinkle BUS_DMA_COHERENT/NOCACHE and bus_dmamap_sync.

Algorithm:

- For dummy pages, use NOCACHE and PREREAD|PREWRITE.
- In #ifdef __NetBSD__ #else dma_alloc_coherent, use BUS_DMA_COHERENT.
- For (GPU) page tables we program, use PREWRITE.

(riastradh)

2021-12-19 11:26:14 UTC MAIN commitmail json YAML

2021-12-19 11:26:04 UTC MAIN commitmail json YAML

Don't redefine stuff that common now has

Preferring common to avoid licensing mish-mash

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:25:57 UTC MAIN commitmail json YAML

Apparently vunmap needs an argument which is num pages... one?

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:25:48 UTC MAIN commitmail json YAML

catch up with newer drm_encoder_init prototype

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:25:39 UTC MAIN commitmail json YAML

catch up with newer drm_encoder_init prototype

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:25:32 UTC MAIN commitmail json YAML

drmP.h is no more

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:25:25 UTC MAIN commitmail json YAML

Defer call to drmfb_attach, otherwise we lock against ourselves

Mutex error: mutex_vector_enter,542: locking against myself

lockdebug_abort() at ffffffc0004ba3ec netbsd:lockdebug_abort+0xcc
mutex_enter() at ffffffc000476af4 netbsd:mutex_enter+0x3d4
drm_fb_helper_restore_fbdev_mode_unlocked() at ffffffc0003432a8
netbsd:drm_fb_helper_restore_fbdev_mode_unlocked+0x60
drmfb_genfb_setmode() at ffffffc00031c428
netbsd:drmfb_genfb_setmode+0x18
genfb_attach() at ffffffc000377b04 netbsd:genfb_attach+0x10c
drmfb_attach() at ffffffc00031c808 netbsd:drmfb_attach+0x1d0
sunxi_fb_attach() at ffffffc00005a648 netbsd:sunxi_fb_attach+0xd0
config_attach_loc() at ffffffc0004a7174 netbsd:config_attach_loc+0x184
config_found_sm_loc() at ffffffc0004a72a0
netbsd:config_found_sm_loc+0x58
sunxi_drm_fb_probe() at ffffffc00005a078 netbsd:sunxi_drm_fb_probe+0x250
__drm_fb_helper_initial_config_and_unlock() at ffffffc000342bdc
netbsd:__drm_fb_helper_initial_config_and_unlock+0x2a4
sunxi_drm_load() at ffffffc00005a384 netbsd:sunxi_drm_load+0x154
drm_dev_register() at ffffffc00033b728 netbsd:drm_dev_register+0xe0
sunxi_drm_init() at ffffffc000059d40 netbsd:sunxi_drm_init+0x20
config_process_deferred() at ffffffc0004a6efc
netbsd:config_process_deferred+0xac
config_attach_loc() at ffffffc0004a7190 netbsd:config_attach_loc+0x1a0
config_found_sm_loc() at ffffffc0004a72a0
netbsd:config_found_sm_loc+0x58
arm_fdt_attach() at ffffffc000061e34 netbsd:arm_fdt_attach+0x64
config_attach_loc() at ffffffc0004a7174 netbsd:config_attach_loc+0x184
cpu_configure() at ffffffc00005dab4 netbsd:cpu_configure+0x44
main() at ffffffc000605284 netbsd:main+0x2b4
aarch64_start() at ffffffc000001854 netbsd:aarch64_start+0x1054

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:25:17 UTC MAIN commitmail json YAML

Use helper to fill fb struct

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:25:09 UTC MAIN commitmail json YAML

Fill fb->dev.

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:25:01 UTC MAIN commitmail json YAML

2021-12-19 11:24:52 UTC MAIN commitmail json YAML

2021-12-19 11:24:44 UTC MAIN commitmail json YAML

2021-12-19 11:24:37 UTC MAIN commitmail json YAML

amdgpu: Compile with CONFIG_DRM_AMD_DC_DCN defined for now.

(riastradh)

2021-12-19 11:24:30 UTC MAIN commitmail json YAML

Add missing header, NetBSD-ify

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:24:22 UTC MAIN commitmail json YAML

Stub out some functions.

We can probably do without the fast path, and let's see whether
we get to i915_gem_phys_pwrite at all.

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:24:15 UTC MAIN commitmail json YAML

Update to new access_ok prototype

also... this function should probably do something

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:24:08 UTC MAIN commitmail json YAML

Update to new PTE macro names.

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:24:00 UTC MAIN commitmail json YAML

2021-12-19 11:23:52 UTC MAIN commitmail json YAML

2021-12-19 11:23:38 UTC MAIN commitmail json YAML

2021-12-19 11:23:26 UTC MAIN commitmail json YAML

2021-12-19 11:23:17 UTC MAIN commitmail json YAML

2021-12-19 11:23:09 UTC MAIN commitmail json YAML

2021-12-19 11:23:00 UTC MAIN commitmail json YAML

2021-12-19 11:22:51 UTC MAIN commitmail json YAML

2021-12-19 11:22:40 UTC MAIN commitmail json YAML

amdgpu: Fix bogus enum.

Cherry-picked from:

commit a110f3750bf8b93764f13bd1402c7cba03d15d61
Author: Arnd Bergmann <arnd@arndb.de>
Date:  Mon Oct 26 22:00:30 2020 +0100

    drm/amdgpu: fix incorrect enum type

    core_link_write_dpcd() returns enum dc_status, not ddc_result:

    display/dc/core/dc_link_dp.c: In function 'dp_set_panel_mode':
    display/dc/core/dc_link_dp.c:4237:11: warning: implicit conversion from 'enu
m dc_status' to 'enum ddc_result'
    [-Wenum-conversion]

    Avoid the warning by using the correct enum in the caller.

    Fixes: 0b226322434c ("drm/amd/display: Synchronous DisplayPort Link Training")
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

(riastradh)

2021-12-19 11:22:32 UTC MAIN commitmail json YAML

2021-12-19 11:22:23 UTC MAIN commitmail json YAML

Provisionally work around cycle in x86 header files.

(riastradh)

2021-12-19 11:22:15 UTC MAIN commitmail json YAML

drm_mm: Allow multiple holes with the same size.

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:22:08 UTC MAIN commitmail json YAML

drm/ttm: Conditionalize initialization of vma node.

Needs to match conditional destruction.

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:22:00 UTC MAIN commitmail json YAML

linux/rwsem: Reorder members to avoid confusing lockdebug.

(riastradh)

2021-12-19 11:21:54 UTC MAIN commitmail json YAML

linux/rwsem: Work around broken lockdebug macros.

(riastradh)

2021-12-19 11:21:45 UTC MAIN commitmail json YAML

2021-12-19 11:21:38 UTC MAIN commitmail json YAML

linux: Use IPL_VM for lock inside rw_semaphore.

down_read_trylock needs to work under a spin lock.

(riastradh)

2021-12-19 11:21:30 UTC MAIN commitmail json YAML

2021-12-19 11:21:12 UTC MAIN commitmail json YAML

drm/ttm: Conditionalize destruction of vma node.

Needs to match conditional initialization.

(riastradh)

2021-12-19 11:21:03 UTC MAIN commitmail json YAML

drm: Make sure to destroy waitqueue when done.

(riastradh)

2021-12-19 11:20:56 UTC MAIN commitmail json YAML

Add missing unlock at exit

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:20:49 UTC MAIN commitmail json YAML

drm/dma-fence: Fix zero timeout semantics in dma_fence_default_wait.

(riastradh)

2021-12-19 11:20:41 UTC MAIN commitmail json YAML

We need to allocate a singular temporary slot, not many.

This also indirectly fixes a panic when nelem == 0.

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:20:33 UTC MAIN commitmail json YAML

'struct srcu' is actually called 'struct srcu_struct'

Author: Iain Hibbert <plunky@netbsd.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:20:26 UTC MAIN commitmail json YAML

i915: container_of(const) -> const_container_of

(riastradh)

2021-12-19 11:20:18 UTC MAIN commitmail json YAML

i915: Disable i915_active.c for now; needs more work.

(riastradh)

2021-12-19 11:20:11 UTC MAIN commitmail json YAML

i915: Hack to disable upstream i915_sw_fence.h.

(riastradh)

2021-12-19 11:20:02 UTC MAIN commitmail json YAML

i915: Remove wait_queue_entry_t for now; to revisit.

(riastradh)

2021-12-19 11:19:55 UTC MAIN commitmail json YAML

2021-12-19 11:19:48 UTC MAIN commitmail json YAML

i915: Disable CONFIG_DRM_I915_DEBUG_RUNTIME_PM.

No runtime_pm at all here for now.

(riastradh)

2021-12-19 11:19:40 UTC MAIN commitmail json YAML

i915: Custom i915_gem_mmap_object, not fault routine, here.

(riastradh)

2021-12-19 11:19:33 UTC MAIN commitmail json YAML

i915: Fix drm_dev_init argument.

Confusingly the parameter is named `parent' but means the struct
device that corresponds to the struct pci_dev.  Use pci_dev_dev here
since it works in both APIs.

(riastradh)

2021-12-19 11:19:24 UTC MAIN commitmail json YAML

2021-12-19 11:19:17 UTC MAIN commitmail json YAML

Need to provide a value for CONFIG_DRM_I915_DEBUG_RUNTIME_PM

Maybe 1 will do.

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:19:09 UTC MAIN commitmail json YAML

pdev is ifdef'd out, so ifdef out the declaration too

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:19:01 UTC MAIN commitmail json YAML

Move local diff's location to above where it's used

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:18:52 UTC MAIN commitmail json YAML

Emulate pdev->dev for NetBSD.

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:18:44 UTC MAIN commitmail json YAML

Exclude call to dma_set_max_seg_size

We probably don't need to replicate this.

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:18:35 UTC MAIN commitmail json YAML

Provide declarations, we use these from different files.

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:18:26 UTC MAIN commitmail json YAML

Shuffle ifdefs for build. Remove local diff that doesn't build.

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:18:18 UTC MAIN commitmail json YAML

Remove local change to constify, and remove const qualifier

We certainly write to this pointer in i915_driver_create with
memcpy.

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:18:09 UTC MAIN commitmail json YAML

Remove local diff

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:18:00 UTC MAIN commitmail json YAML

restore lost ifdef of vga_switcheroo code

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:17:52 UTC MAIN commitmail json YAML

Remove duplicate declaration of i915_device_ids

The one that compiles is in i915_pci.c now. No `pciidlist` in this
file!

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:17:44 UTC MAIN commitmail json YAML

nbsd-namespace.h for the right mutex_init

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:17:35 UTC MAIN commitmail json YAML

no struct vm_are_struct, ifdef out declaration

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:17:28 UTC MAIN commitmail json YAML

Remove local diff, side effect of backporting kabylake support.

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:17:19 UTC MAIN commitmail json YAML

Provide and use an rb_next2 which takes a pointer to the tree as well

Easier for us to implement.

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:17:10 UTC MAIN commitmail json YAML

Give up on figuring side-loading, we need bitmap_* functions.

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:17:02 UTC MAIN commitmail json YAML

drm/linux: Fix bitmap_zalloc size.

(riastradh)

2021-12-19 11:16:55 UTC MAIN commitmail json YAML

Provide bitmap_alloc

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:16:48 UTC MAIN commitmail json YAML

PRIx64 for u64

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:16:39 UTC MAIN commitmail json YAML

NetBSD-ify clflush size

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:16:32 UTC MAIN commitmail json YAML

2021-12-19 11:16:24 UTC MAIN commitmail json YAML

i915: Move linux/nbsd-namespace.h to end of includes.

(riastradh)

2021-12-19 11:16:17 UTC MAIN commitmail json YAML

i915: Add missing parameter name.

XXX Shouldn't be getting here -- CONFIG_ACPI busted?

(riastradh)

2021-12-19 11:16:08 UTC MAIN commitmail json YAML

2021-12-19 11:16:00 UTC MAIN commitmail json YAML

2021-12-19 11:15:49 UTC MAIN commitmail json YAML

2021-12-19 11:15:41 UTC MAIN commitmail json YAML

i915: Fix up #ifdef around sg dma iteration.

(riastradh)

2021-12-19 11:15:33 UTC MAIN commitmail json YAML

i915: Can't track down the right side load here, give up.

(riastradh)

2021-12-19 11:15:26 UTC MAIN commitmail json YAML

drm/linux: pagemap.h->highmem.h side load

(riastradh)

2021-12-19 11:15:18 UTC MAIN commitmail json YAML

i915/gt/gen8_ppgtt.c: Fix various typos.

(riastradh)

2021-12-19 11:15:11 UTC MAIN commitmail json YAML

2021-12-19 11:15:04 UTC MAIN commitmail json YAML

2021-12-19 11:14:56 UTC MAIN commitmail json YAML

2021-12-19 11:14:48 UTC MAIN commitmail json YAML

i915: Fix constification in px_base macro.

(riastradh)

2021-12-19 11:14:42 UTC MAIN commitmail json YAML

2021-12-19 11:14:34 UTC MAIN commitmail json YAML

drm: Make BUILD_BUG_ON_ZERO do something.

(riastradh)

2021-12-19 11:14:27 UTC MAIN commitmail json YAML

stub BUILD_BUG_ON_ZERO, from openbsd.

This is a dual purpose macro that asserts but can also be used in
expressions. Provide the expression implementation.

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:14:16 UTC MAIN commitmail json YAML

Fix mangled local change and close parens.

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:14:06 UTC MAIN commitmail json YAML

2021-12-19 11:13:52 UTC MAIN commitmail json YAML

i915: Disable -Wmissing-field-initializers.

(riastradh)

2021-12-19 11:13:45 UTC MAIN commitmail json YAML

i915: Fix include path for intelfb files too.

(riastradh)

2021-12-19 11:13:36 UTC MAIN commitmail json YAML

i915: LIST_HEAD -> struct list_head = LIST_HEAD_INIT

(riastradh)

2021-12-19 11:13:30 UTC MAIN commitmail json YAML

2021-12-19 11:13:22 UTC MAIN commitmail json YAML

2021-12-19 11:13:14 UTC MAIN commitmail json YAML

2021-12-19 11:12:59 UTC MAIN commitmail json YAML

2021-12-19 11:12:51 UTC MAIN commitmail json YAML

2021-12-19 11:12:43 UTC MAIN commitmail json YAML

i915: Need <linux/notifier.h> for atomic_notifier_head.

Not sure where the missing side-load is so let's just add it where it
belongs anyway.

(riastradh)

2021-12-19 11:12:36 UTC MAIN commitmail json YAML

Match linux side-loading

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:12:29 UTC MAIN commitmail json YAML

Take advantage of sys/file.h include guards, to make sure that

including sys/file.h after this header is safe.

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:12:22 UTC MAIN commitmail json YAML

const const const

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:12:14 UTC MAIN commitmail json YAML

Enable the scratch_order code and not have our own.

Now there's multiple scratch pages. Maybe it's best to follow
what upstream does here.

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:12:06 UTC MAIN commitmail json YAML

Define __iomem to nothing for this one function. (Somewhat overkill..)

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:11:59 UTC MAIN commitmail json YAML

provide __i915_vma_flags and avoid const qualifiers for warnings

Type casting the way this definition does doesn't get along with
const.

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:11:51 UTC MAIN commitmail json YAML

ifdef out poll_wait, inspired by openbsd doing the same

rather than figure out a type for poll_table

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:11:42 UTC MAIN commitmail json YAML

Our __always_inline doesn't make the function inline.

Avoid compiler warnings about the function being defined but not used

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:11:35 UTC MAIN commitmail json YAML

Maybe we can just get away with not defining anything in this header?

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:11:27 UTC MAIN commitmail json YAML

exclude more scatter-gather code that isn't used

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:11:19 UTC MAIN commitmail json YAML

Stub might_lock_nested. Not in the LOCKDEP case...

Not sure we have anything for nested locks.

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:11:11 UTC MAIN commitmail json YAML

Use types we have.

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:11:04 UTC MAIN commitmail json YAML

Avoid dropping const qualifier

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:10:56 UTC MAIN commitmail json YAML

Switch #ifdef CONFIG_WHATEVER to #if IS_ENABLED(CONFIG_WHATEVER)

Our IS_ENABLED should probably be #if defined(option) && (option),
but that becomes tricky with evaluation order. If option gets
expanded earlier, this errors out (e.g. with CONFIG_AGP)

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:10:48 UTC MAIN commitmail json YAML

linux: Simplify build_bug.h and add static_assert.

(riastradh)

2021-12-19 11:10:41 UTC MAIN commitmail json YAML

2021-12-19 11:10:25 UTC MAIN commitmail json YAML

provide our own uncore read/write functions

and add struct members for it

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:10:18 UTC MAIN commitmail json YAML

stub struct rcu_work

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:10:09 UTC MAIN commitmail json YAML

Call it srcu_struct like linux does.

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:10:01 UTC MAIN commitmail json YAML

2021-12-19 11:09:48 UTC MAIN commitmail json YAML

2021-12-19 11:09:34 UTC MAIN commitmail json YAML

drm: Initialize/destroy struct drm_file::event_read_wq.

(riastradh)

2021-12-19 11:09:25 UTC MAIN commitmail json YAML

drm/ttm: ttm_bo_put(bo) won't bo=NULL like ttm_bo_unref(&bo) did.

(riastradh)

2021-12-19 11:09:17 UTC MAIN commitmail json YAML

linux dma-fence: Fix up more callback uses.

(riastradh)

2021-12-19 11:09:10 UTC MAIN commitmail json YAML

linux dma-fence: Use dma_fence_default_wait if .wait is null.

(riastradh)

2021-12-19 11:09:02 UTC MAIN commitmail json YAML

Fix merge botch: do uvm_obj_init unconditionally.

(riastradh)

2021-12-19 11:08:55 UTC MAIN commitmail json YAML

Initialize priv->filp, lost in removing drm_fops.c

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:08:47 UTC MAIN commitmail json YAML

stub drm_lease.c the same way as openbsd

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:08:40 UTC MAIN commitmail json YAML

NetBSD-ize execlists_active_{un,}lock_bh

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:08:32 UTC MAIN commitmail json YAML

radeon: Fix merge botch -- don't unreserve twice.

(riastradh)

2021-12-19 11:08:25 UTC MAIN commitmail json YAML

radeon: Fix missing unlocks in radeon fence.

(riastradh)

2021-12-19 11:08:17 UTC MAIN commitmail json YAML

radeon: Use dma_fence_signal_locked when we already hold lock.

(riastradh)

2021-12-19 11:08:10 UTC MAIN commitmail json YAML

drm: drm_update_vblank_count requires vbl_lock.

(riastradh)

2021-12-19 11:08:03 UTC MAIN commitmail json YAML

2021-12-19 11:07:56 UTC MAIN commitmail json YAML

drm: Unstub drm_client slightly more.

(riastradh)

2021-12-19 11:07:49 UTC MAIN commitmail json YAML

drm: Slightly unstub this toe.

(riastradh)

2021-12-19 11:07:42 UTC MAIN commitmail json YAML

drm: Just disable fb_get_options for now.

(riastradh)

2021-12-19 11:07:36 UTC MAIN commitmail json YAML

2021-12-19 11:07:28 UTC MAIN commitmail json YAML

drm/gem: Narrow scope of #ifdef __NetBSD__.

Need to initialize this resv.

(riastradh)

2021-12-19 11:07:20 UTC MAIN commitmail json YAML

2021-12-19 11:07:12 UTC MAIN commitmail json YAML

2021-12-19 11:07:04 UTC MAIN commitmail json YAML

drm/ttm: Fix up ttm_bo_global_release a bit.

(riastradh)

2021-12-19 11:06:55 UTC MAIN commitmail json YAML

2021-12-19 11:06:44 UTC MAIN commitmail json YAML

2021-12-19 11:06:36 UTC MAIN commitmail json YAML

2021-12-19 11:06:28 UTC MAIN commitmail json YAML

2021-12-19 11:06:19 UTC MAIN commitmail json YAML

2021-12-19 11:06:12 UTC MAIN commitmail json YAML

2021-12-19 11:06:04 UTC MAIN commitmail json YAML

nouveau: Initialize object->map.tag/addr/size before use.

(riastradh)

2021-12-19 11:05:55 UTC MAIN commitmail json YAML

2021-12-19 11:05:48 UTC MAIN commitmail json YAML

drm/ttm: uao_create takes pages, not bytes.

(riastradh)

2021-12-19 11:05:40 UTC MAIN commitmail json YAML

Fix array_size. Helps to multiply, not add.

(riastradh)

2021-12-19 11:05:33 UTC MAIN commitmail json YAML

define CONFIG values to be the same as linux

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:05:27 UTC MAIN commitmail json YAML

Match linux which is side-loading

linux/irq_work.h->
asm/irq_work.h->
asm/cpufeature.h

Avoids errors on static_cpu_has

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:05:20 UTC MAIN commitmail json YAML

nouveau: Call nouveau_drm_device_init.

(riastradh)

2021-12-19 11:05:05 UTC MAIN commitmail json YAML

Add some missing includes in linux/lockdep.h.

(riastradh)

2021-12-19 11:04:58 UTC MAIN commitmail json YAML

Fix membars in tasklet_disable/enable.

(riastradh)

2021-12-19 11:04:50 UTC MAIN commitmail json YAML

2021-12-19 11:04:42 UTC MAIN commitmail json YAML

2021-12-19 11:04:36 UTC MAIN commitmail json YAML

2021-12-19 11:04:28 UTC MAIN commitmail json YAML

2021-12-19 11:04:21 UTC MAIN commitmail json YAML

2021-12-19 11:04:14 UTC MAIN commitmail json YAML

Disable some unimportant broken BUILD_BUG_ONs.

(riastradh)

2021-12-19 11:04:05 UTC MAIN commitmail json YAML

2021-12-19 11:03:57 UTC MAIN commitmail json YAML

2021-12-19 11:03:49 UTC MAIN commitmail json YAML

Side-load linux/stringify.h in linux/workqueue.h.

(via linux/timer.h upstream)

(riastradh)

2021-12-19 11:03:41 UTC MAIN commitmail json YAML

Delete wrong linux/stringify.h.

(riastradh)

2021-12-19 11:03:32 UTC MAIN commitmail json YAML

2021-12-19 11:03:25 UTC MAIN commitmail json YAML

Ifdef out i915's local hacks reaching into tasklet's private parts.

Moved i915 tasklet hacks into tasklet proper.

(riastradh)

2021-12-19 11:03:18 UTC MAIN commitmail json YAML

Rework linux_tasklet.c a little.

Provide some more hacks for i915's grubby paws.

(riastradh)

2021-12-19 11:03:09 UTC MAIN commitmail json YAML

2021-12-19 11:03:01 UTC MAIN commitmail json YAML

2021-12-19 11:02:54 UTC MAIN commitmail json YAML

Use adequate memory barrier for load-acquire semantics.

It is unfortunate that we chose the name membar_enter to have the
wrong semantics for this.

(riastradh)

2021-12-19 11:02:47 UTC MAIN commitmail json YAML

Move smp_mb_before/after_atomic from linux/atomic.h to asm/barrier.h.

(riastradh)

2021-12-19 11:02:38 UTC MAIN commitmail json YAML

2021-12-19 11:02:31 UTC MAIN commitmail json YAML

grab stackdepot.h from openbsd

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:02:22 UTC MAIN commitmail json YAML

(XXX unsure) attempt to match linux with additional parameter OP

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:02:12 UTC MAIN commitmail json YAML

No more intel_drv.h, probably meant i915_drv.h if not used

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:02:05 UTC MAIN commitmail json YAML

i915_mei_hdcp_interface.h from openbsd

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:01:53 UTC MAIN commitmail json YAML

Add include flag for intelfb.c's use of i915_drv.h header

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:01:45 UTC MAIN commitmail json YAML

2021-12-19 11:01:37 UTC MAIN commitmail json YAML

Make BUILD_BUG_ON_INVALID work on bit-field expressions.

(riastradh)

2021-12-19 11:01:29 UTC MAIN commitmail json YAML

Initialize drm_core_init_complete in drm_module.c

Linux achieves this with a module_init(drm_core_init);

Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

(riastradh)

2021-12-19 11:01:22 UTC MAIN commitmail json YAML

2021-12-19 11:01:11 UTC MAIN commitmail json YAML