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 (18m)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (177d) 

2024-05-09 21:14:53 UTC Now

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

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

i915: Simplify releasing mmap offsets; don't release if not mapped.

(riastradh)

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

i915: Fix i915_gem_object_release_mmap_offset locking.

(riastradh)

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

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

linux: Fix xa_find_after to actually find the entry _after_.

(riastradh)

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

drm: Merge vbl_lock into event_lock.

These aren't functionally very different, and most uses of vbl_lock
were inserted as local changes to make proper condition variables
anyway.  Requiring both locks made cv_wait difficult because it only
unlocks and relocks one at a time, and this also led to annoying lock
order reversal.

(riastradh)

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

drm: Work around client modeset mutex for entering ddb.

Linux introduced a wait lock (`mutex') around access to the drm
client modesets, even for drm_fb_helper_debug_enter/leave -- which
happen when we're crashing and can't wait for the scheduler to let
whatever thread might hold a mutex continue to run.

This really shouldn't be a wait lock, but disentangling the lock
order and sleeping allocations is difficult, so let's just hope that
it's safe to access unlocked in ddb for now.

(riastradh)

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

drm: Fix io_mapping_map_wc to map all VAs, not just the first one.

(riastradh)

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

i915: Rework locking in intel_pipe_update_start/end.

Use event_lock rather than vbl_lock for the operation; narrow the
scope of vbl_lock.

(riastradh)

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

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

drm: actually let's just not use ksyms_getname for now

(riastradh)

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

drm: ksyms_getname is forbidden while holding spin locks.

This is a kludgey workaround; should rethink this!

(riastradh)

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

drm: ksyms_getname is forbidden in interrupt context.

For now, just avoid nice pretty symbol output in interrupt handlers.

(riastradh)

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

i915: connector->kdev doesn't get initialized at the moment.

It's a sysfs thing and we have all that unwired.

(riastradh)

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

i915: Defer i915_sw_fence_fini to `kmem' (pool) cache destructor.

We actually need to destroy the spin lock here, whereas in Linux this
is only used for tracking when sw fences are _technically_ in use or
not -- where `not in use' includes RCU grace periods -- and it's OK
to `destroy' a fence while the grace periods are still running.

(riastradh)

2021-12-19 12:03:38 UTC MAIN commitmail json YAML

i915: Fix mistaken patch -- print with decimal, not hex.

(riastradh)

2021-12-19 12:03:30 UTC MAIN commitmail json YAML

drm: Allow >page-sized io_mapping_map_wc.

(riastradh)

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

drm: Fix index confusion and rename variables to clarify.

(riastradh)

2021-12-19 12:03:13 UTC MAIN commitmail json YAML

linux: Accept multipage segments in sg_alloc_table_from_bus_dmamem.

(riastradh)

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

i915: Omit needless ifdef and do call intel_bios_init.

(riastradh)

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

src/sys/external/bsd/common/include/linux/printk.h@1.12 / diff / nxr@1.12
src/sys/external/bsd/drm2/amdgpu/amdgpu_module.c@1.7 / diff / nxr@1.7
src/sys/external/bsd/drm2/amdgpu/files.amdgpu@1.21 / diff / nxr@1.21
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu.h@1.7 / diff / nxr@1.7
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_bo_list.c@1.9 / diff / nxr@1.9
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_cs.c@1.7 / diff / nxr@1.7
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_fb.c@1.10 / diff / nxr@1.10
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_fence.c@1.10 / diff / nxr@1.10
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_gart.c@1.6 / diff / nxr@1.6
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_gart.h@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_gem.c@1.9 / diff / nxr@1.9
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_gfx_v10_0.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_gfx_v6_0.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_gfx_v7_0.c@1.6 / diff / nxr@1.6
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_gfx_v8_0.c@1.6 / diff / nxr@1.6
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_gfx_v9_0.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_gmc.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_gmc_v10_0.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_gmc_v6_0.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_gmc_v7_0.c@1.5 / diff / nxr@1.5
      :
(more 36 files)
amdgpu_fb.c
amdgpu_fence.c
amdgpu_gart.c
amdgpu_fixpt31_32.c
amdgpu_fiji_smumgr.c
amdgpu_gem.c
amdgpu_gfx_v10_0.c
amdgpu_gfx_v6_0.c through amdgpu_gfx_v9_0.c
amdgpu_gmc.c
amdgpu_gmc_v6_0.c through amdgpu_gmc_v10_0.c
amdgpu_gtt_mgr.c
some amdgpu_h* files
some amdgpu_i* files
some amdgpu_j* files
amdgpu_kms.c
some amdgpu_m* and amdgpu_n* files

(riastradh)

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

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

amdgpu: amdgpu_gfx.c

...plus a bogus stub for sscanf, hoping it's not that important

(riastradh)

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

linux: Add del_timer return value.

(riastradh)

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

linux: Fix return value of del_timer_sync.

(riastradh)

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

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

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

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

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

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

2021-12-19 12:00:57 UTC MAIN commitmail json YAML

i915: Zero the kernel's ptes before freeing the va.

(riastradh)

2021-12-19 12:00:49 UTC MAIN commitmail json YAML

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

i915: Reduce diff with -Wno-pointer-arith.

(riastradh)

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

i915: Destroy vma->pages_mutex before free.

(riastradh)

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

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

2021-12-19 12:00:08 UTC MAIN commitmail json YAML

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

amdgpu: More files need hardfloat.

(riastradh)

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

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

amdgpu: Fix uninitialized variables.

If df_v3_6_pmc_config_2_cntr(adev, config) < 0 or >= 4, these don't
get set.

(riastradh)

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

amdgpu: Remove local ifdefs caused by audio.h header file confusion.

(riastradh)

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

amdgpu: Include hw/audio.h; avoid config(5)-caused audio.h collision.

(riastradh)

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

i915: Fix engine uabi class/instance lookup.

(riastradh)

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

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

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

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

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

i915: Use dma_fence_signal_locked when we already hold the lock.

(riastradh)

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

i915: Missed a spot in flailing the bad thing going wrong.

(riastradh)

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

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

kmem_cache is used at IPL_VM

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

(riastradh)

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

Fix inverted notion of whether to wait for allocation

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

(riastradh)

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

i915: Flail harder to work around the bad thing that went wrong.

(riastradh)

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

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

linux: Use indirection for percpu simpleq.

Simpleq requires pointers into the head to work, but percpu(9) may
move objects around, so we have to allocate the simpleq head
separately with kmem(9).

(riastradh)

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

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

i915: what we hath created, we must destroy

(riastradh)

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

i915: Lock outside #ifdef NetBSD, not just unlock.

(riastradh)

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

i915: Set sg_page_sizes in the #ifdef NetBSD code.

(riastradh)

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

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

i915: Remove waiter after done, not only after wakeup.

Might be done without any wakeup, in which case the waiter would
remain on the list (even as it becomes stack garbage!).

(riastradh)

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

i915: Remember to initialize the atomic commit lock and waitqueue!

(riastradh)

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

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

drm: Eliminate hrtimer_destroy and teardown_timer.

These are non-Linux shims added to the Linux API to pair with
hrtimer_setup and setup_timer, but they really only serve to call
callout_destroy, which is not strictly necessary in the NetBSD API.
So although we lose a little bit of diagnostic help this way, we also
reduce diffs a bit and save some trouble that bit us last week.

(riastradh)

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

linux: Define IORESOURCE_* to be bits, not indices.

(riastradh)

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

i915: Rework atomic commit wakeups to work with condvars.

Lock order is intel_state->commit_ready.wait.lock then
dev_priv->atomic_commit_lock.

(riastradh)

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

i915: Quietly disable vblank-related rps boost for now.

Need a way to call a function on vblank, which cv(9) (generally
reasonably) doesn't give us.  `Just' a performance thing, so...

(riastradh)

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

i915: Add waiter to list so we will actually get woken!

(riastradh)

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

Do not try to map VGA registers before intelfb is ready

double mapping fails

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

(riastradh)

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

drm: Membar audit for dma_resv.

Try to pacify kcsan (untested) and make it clearer what ordering
matters.

(riastradh)

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

drm: Simplify -- remove drm_pci_agp_destroy.

(riastradh)

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

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

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

i915: Nix drm_dev_alloc, and do drm_pci_attach in i915_driver_probe.

i915 uses a struct drm_device embedded in struct drm_i915_private
now, so we can't allocate it separately.

(riastradh)

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

drm: Omit needless pci_attach_args from our drm_pci_attach.

Can already get it from the struct pci_dev, and this way we can more
easily call it from patched upstream code as i915 will need to do.

(riastradh)

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

drm: Place drm_hdcp.c like other overrides in files.drmkms.

(riastradh)

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

drm: Use atomic_store_release/load_consume in linux_dma_resv.c.

At least, for robj->fence and robj->fence_excl.  Need to review
list->shared_count and list->shared[i] too.

(riastradh)

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

linux: membar_exit not needed if we use locks here.

(riastradh)

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

Use hrtimer_destroy instead of hrtimer_cancel to free

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

(riastradh)

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

Add hrtimer_destroy

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

(riastradh)

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

Return pci_device_t from match so we can call i915_driver_probe

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

(riastradh)

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

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

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

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

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

drm: Fix lock order reversal in merge botch.

Add a note reminding myself what the lock order is.

(riastradh)

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

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

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

linux: Kludgily make radix tree safe for RCU

Using a lock is completely stupid (gotta be cpu_simple_lock because
there's no radix_tree_destroy or anything), and the nonsense to do
unvolatile/unconst is garbage, but it will serve to make this safe
for RCU until someone makes our radix tree code RCU-safe (which
Someone^TM should totally do).

(riastradh)

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

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

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

drm: mind your prev's and neqxt's

(riastradh)

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

drm: tree of mm holes is decreasing left to right, not increasing

(riastradh)

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

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

linux: Use pointer indirection for irq_work_cpu.

Can't store locks in percpu since it moves around.

(riastradh)

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

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

i915: Ifdef out stash_init use just like def

(riastradh)

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

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

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

i915: Declare, don't define, object in header file.

(riastradh)

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

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

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

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

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

src/sys/external/bsd/common/include/linux/rcupdate.h@1.8 / diff / nxr@1.8
src/sys/external/bsd/common/include/linux/srcu.h@1.4 / diff / nxr@1.4
src/sys/external/bsd/common/include/linux/tasklet.h@1.6 / diff / nxr@1.6
src/sys/external/bsd/common/linux/linux_rcu.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/common/linux/linux_srcu.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/common/linux/linux_tasklet.c@1.7 / diff / nxr@1.7
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_hdcp.c@1.5 / diff / nxr@1.5
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_opregion.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_opregion.h@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_psr.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_sdvo.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_sprite.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_tc.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_tv.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_vga.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_lrc.c@1.7 / diff / nxr@1.7
src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_ppgtt.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_rc6.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_reset.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_reset_types.h@1.4 / diff / nxr@1.4
      :
(more 41 files)
Make intel_psr.c build
netbsd-ify
Stub out intel_lpe_audio.c (for now?).
Hammer intel_opregion.c into shape.
Hack up intel_lrc.c
Adapt intel_reset.c
Stub out intel_region_lmem.c
Adapt intel_ring_submission.c
Adapt intel_rps.c
Adapt intel_sdvo.c
Adapt intel_runtime_pm.c
Adapt intel_sideband.c
Adapt intel_sprite.c
Adapt intel_tv.c
Adapt intel_tc.c
Adapt intel_sseu.c
Adapt intel_timeline.c
Adapt intel_uc_fw.c and fix typo
Fix up intel_uncore.c
intel_vga.c
intel_wakeref.c
intel_vdsc.c
intel_wopcm.c
intel_workarounds.c
i915_globals.c
Fix up intelfb.c
Stub out intel_guc_log.c
Stub out intel_dsi_dcs_backlight.c
i915_perf.c
intel_hdmi.c
intel_hdcp.c

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

(riastradh)

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

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

Provide not-quite-proper mul_u64_u32_div

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

(riastradh)

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

expand to_intel_plane_state so we can use const_container_of

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

(riastradh)

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

Provide more trace points for intel_pm.c

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

(riastradh)

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

No muppets provided yet

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

(riastradh)

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

Undo local diff, nbsd-namespace.h

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

(riastradh)

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

provide spin_trylock_irqsave

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

(riastradh)

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

nbsd-namespace.h

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

(riastradh)

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

bus-space-ify

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

(riastradh)

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

Make const compiler warnings happier

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

(riastradh)

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

Undo local diffs, re-do local diffs

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

(riastradh)

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

Make intel_lrc.c build moar

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

(riastradh)

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

Match function name to code

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

(riastradh)

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

Cast, because we get passed void*

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

(riastradh)

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

Bus-space-ify

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

(riastradh)

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

Provide an element in struct intel_llc

our implementation of container_of doesn't like working with empty
structs.

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

(riastradh)

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

Provide cpufreq.h

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

(riastradh)

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

Add cec-notifier.h from openbsd, but with while {} and using variables

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

(riastradh)

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

drm: Fix varargs and symbol printing, from mrg@.

(riastradh)

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

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

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

linux/hdmi: Update.  Add unpack.

(riastradh)

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

linux/hdmi: Fix buffer overrun with index typo.

(riastradh)

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

linux/hdmi: Fix strlcpy abuse -- need strncpy to fill field.

(riastradh)

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

linux: Fix rbtree node/element confusion.

(riastradh)

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

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

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

linux/workqueue: Use atomic_load/store.

(riastradh)

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

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

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

linux: stub async_synchronize_cookie

(riastradh)

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

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

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

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

Provide kref_put_lock

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

(riastradh)

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

i915_ggtt_offset returns u32, so printf a 32bit sized thing.

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

(riastradh)

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

Have i915_vma_pin_iomap map us the framebuffer

Rather than passing bus space arguments around. Also fixes build.

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

(riastradh)

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

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

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

src/sys/external/bsd/common/include/linux/list.h@1.31 / diff / nxr@1.31
src/sys/external/bsd/common/include/linux/workqueue.h@1.24 / diff / nxr@1.24
src/sys/external/bsd/common/linux/linux_work.c@1.53 / diff / nxr@1.53
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_acpi.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_atomic.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_atomic_plane.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_audio.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_bios.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_crt.h@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_display.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_display.h@1.5 / diff / nxr@1.5
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_display_power.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_dp.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_dp.h@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_lpe_audio.h@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_lvds.h@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_sdvo.h@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_breadcrumbs.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_context.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/i915/i915_reg.h@1.18 / diff / nxr@1.18
      :
(more 16 files)
i915: another whack at it

(riastradh)

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

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

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

drm: Omit half-baked dma_buf_file indirection.

(riastradh)

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

drm: Fix type confusion in drm_prime_lookup_buf_by_handle.

(riastradh)

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

drm: Note NetBSD->Linux errno conversion.

(riastradh)

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

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

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

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

drm: Omit bogus __unused attributes.

(riastradh)

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

linux/list.h: Add list_safe_reset_next.

(riastradh)

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

drm prime: Plug leak and tidy up.

(riastradh)

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

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

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

linux: Fix timer_setup -- pass timer, not flags, as argument.

(riastradh)

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

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

linux: fix __lockdep_used, add mutex_acquire/release

(riastradh)

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

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

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

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

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

drm: rb_tree_insert_node returns node, not NULL, on success

(riastradh)

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

src/sys/external/bsd/drm2/dist/drm/drm_atomic.c@1.12 / diff / nxr@1.12
src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv50/nouveau_dispnv50_disp.c@1.6 / diff / nxr@1.6
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_bios.c@1.6 / diff / nxr@1.6
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_dmem.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_drm.c@1.23 / diff / nxr@1.23
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_fbcon.c@1.15 / diff / nxr@1.15
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_svm.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/core/nouveau_nvkm_core_client.c@1.6 / diff / nxr@1.6
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/core/nouveau_nvkm_core_engine.c@1.5 / diff / nxr@1.5
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/core/nouveau_nvkm_core_subdev.c@1.5 / diff / nxr@1.5
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/disp/nouveau_nvkm_engine_disp_dp.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/fifo/nouveau_nvkm_engine_fifo_base.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/gr/nouveau_nvkm_engine_gr_gf100.c@1.7 / diff / nxr@1.7
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/gr/nouveau_nvkm_engine_gr_nv04.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/gr/nouveau_nvkm_engine_gr_nv10.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/gr/nouveau_nvkm_engine_gr_nv50.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/falcon/nouveau_nvkm_falcon_base.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/falcon/nouveau_nvkm_falcon_cmdq.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/falcon/nouveau_nvkm_falcon_msgq.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/falcon/nouveau_nvkm_falcon_qmgr.c@1.4 / diff / nxr@1.4
      :
(more 13 files)
nouveau: ashes to ashes, dust to dust, mutex inited must later destruct

(riastradh)

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

drm/ttm: Thread the needle of buffer transfer object initialization.

Kinda finicky here!

(riastradh)

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

drm: Fix sign error in comparison for vma lookup.

(riastradh)

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

drm/ttm: More careful diagnostics earlier on.

(riastradh)

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

drm/ttm: Compare bytes to bytes, not pages to bytes.

While here, KASSERT -> KASSERTMSG for better diagnostics.

(riastradh)

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

drm: Let's go one segment at a time, not two, shall we?

(riastradh)

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

src/sys/external/bsd/common/include/linux/kernel.h@1.43 / diff / nxr@1.43
src/sys/external/bsd/drm2/dist/drm/i915/gem/i915_gem_phys.c@1.5 / diff / nxr@1.5
src/sys/external/bsd/drm2/dist/drm/i915/gem/i915_gem_region.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/i915/gem/i915_gem_shmem.c@1.8 / diff / nxr@1.8
src/sys/external/bsd/drm2/dist/drm/i915/gem/i915_gem_shrinker.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/i915/gem/i915_gem_tiling.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/i915/gem/i915_gem_userptr.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_rps.h@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h@1.44 / diff / nxr@1.44
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem_fence_reg.c@1.6 / diff / nxr@1.6
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem_fence_reg.h@1.5 / diff / nxr@1.5
src/sys/external/bsd/drm2/dist/drm/i915/i915_irq.c@1.24 / diff / nxr@1.24
src/sys/external/bsd/drm2/dist/drm/i915/i915_memcpy.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/i915/i915_perf.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/i915/i915_scatterlist.h@1.7 / diff / nxr@1.7
src/sys/external/bsd/drm2/dist/drm/i915/intel_uncore.h@1.7 / diff / nxr@1.7
src/sys/external/bsd/drm2/i915drm/files.i915drmkms@1.70 / diff / nxr@1.70
src/sys/external/bsd/drm2/i915drm/i915_gem_userptr.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/i915drm/i915_module.c@1.14 / diff / nxr@1.14
src/sys/external/bsd/drm2/i915drm/i915_pci_autoconf.c@1.5 / diff / nxr@1.5
      :
(more 10 files)
drm: Another pass over i915.  Most of i915 gem builds now.

(riastradh)

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

src/sys/external/bsd/drm2/dist/drm/drm_prime.c@1.16 / diff / nxr@1.16
src/sys/external/bsd/drm2/dist/drm/i915/gem/i915_gem_clflush.c@1.5 / diff / nxr@1.5
src/sys/external/bsd/drm2/dist/drm/i915/gem/i915_gem_dmabuf.c@1.6 / diff / nxr@1.6
src/sys/external/bsd/drm2/dist/drm/i915/gem/i915_gem_execbuffer.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/i915/gem/i915_gem_internal.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/i915/gem/i915_gem_mman.c@1.7 / diff / nxr@1.7
src/sys/external/bsd/drm2/dist/drm/i915/gem/i915_gem_mman.h@1.6 / diff / nxr@1.6
src/sys/external/bsd/drm2/dist/drm/i915/gem/i915_gem_object.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/i915/gem/i915_gem_object.h@1.5 / diff / nxr@1.5
src/sys/external/bsd/drm2/dist/drm/i915/gem/i915_gem_object_types.h@1.6 / diff / nxr@1.6
src/sys/external/bsd/drm2/dist/drm/i915/gem/i915_gem_pages.c@1.5 / diff / nxr@1.5
src/sys/external/bsd/drm2/dist/drm/i915/gem/i915_gem_phys.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/i915/gem/i915_gem_pm.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/i915/gem/i915_gem_shmem.c@1.7 / diff / nxr@1.7
src/sys/external/bsd/drm2/dist/drm/i915/gem/i915_gem_stolen.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_gtt.h@1.11 / diff / nxr@1.11
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem_gtt.c@1.23 / diff / nxr@1.23
src/sys/external/bsd/drm2/dist/drm/i915/i915_gem_gtt.h@1.11 / diff / nxr@1.11
src/sys/external/bsd/drm2/dist/drm/i915/i915_scatterlist.h@1.6 / diff / nxr@1.6
src/sys/external/bsd/drm2/dist/drm/i915/i915_vma.h@1.6 / diff / nxr@1.6
      :
(more 15 files)
drm: Another pass over i915 and some supporting logic.

This makes a shim around sg_table, which essentially represents two
things:

1. an array of pages (roughly corresponding to bus_dma_segment_t[])
2. an array of DMA addresses stored in a bus_dmamap_t

Both parts are optional; different parts of i915 use sg_tables to
pass around one or both of the two parts.  This helps to reduce the
ifdefs by quite a bit, although it's not always clear which part of
an sg_table any particular interface is actually using which is why I
was reluctant to do this before.

(riastradh)

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

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

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

i915: obj->base.filp, not obj->filp, now.

(riastradh)

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

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

Undo harmful local diffs

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

(riastradh)

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

i915: bus_space_read/write moved to intel_uncore.h; nix diff.

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

(riastradh)

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

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

i915_globals.c: don't build, not useful (we don't __init etc)

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

(riastradh)

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

Provide list_for_each_entry_safe_reverse and reorder for consistency

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

(riastradh)

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

Update for new name, fallthrough, reorder to make GCC happy about fallthrough comment

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

(riastradh)

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

Match linux side-loading, fixes i915_getparam.c put_user undefined

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

(riastradh)

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

sys/types.h before including a netbsd uvm header

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

(riastradh)

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)