The NetBSD Project

CVS log for src/sys/external/bsd/drm2/dist/drm/drm_vblank.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / external / bsd / drm2 / dist / drm

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.16 / (download) - annotate - [select for diffs], Sun Dec 26 21:00:14 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.15: +4 -15 lines
Diff to previous 1.15 (colored)

drm: Fix locking around accurate vblank counts.

- Make drm_crtc_accurate_vblank_count require the caller to hold the
  event lock, rather than take it internally.

- Fix locking around drm_crtc_accurate_vblank_count and related
  operations in amdgpu and nouveau interrupt handlers.

- Use drm_crtc_vblank_put_locked, not drm_crtc_vblank_put, when we
  already hold the event lock.

PR kern/56557

Revision 1.15 / (download) - annotate - [select for diffs], Sun Dec 19 12:36:31 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.14: +4 -2 lines
Diff to previous 1.14 (colored)

drm: Must hold event_lock around wait on event_queue.

We must not have hit this path before if it never crashed!

Revision 1.14 / (download) - annotate - [select for diffs], Sun Dec 19 12:32:01 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.13: +4 -2 lines
Diff to previous 1.13 (colored)

drm: mutex_init/destroy and spin_lock_init/destroy audit

Revision 1.13 / (download) - annotate - [select for diffs], Sun Dec 19 12:24:57 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.12: +8 -7 lines
Diff to previous 1.12 (colored)

drm: Use drm_vblank_get_locked/unlocked.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Dec 19 12:05:08 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.11: +59 -41 lines
Diff to previous 1.11 (colored)

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.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Dec 19 11:55:47 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.10: +2 -3 lines
Diff to previous 1.10 (colored)

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.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Dec 19 11:52:25 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.9: +4 -37 lines
Diff to previous 1.9 (colored)

drm: Simplify condvar conditionals in drm_vblank

Revision 1.9 / (download) - annotate - [select for diffs], Sun Dec 19 11:52:16 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.8: +6 -4 lines
Diff to previous 1.8 (colored)

drm: Fix lock order reversal in merge botch.

Add a note reminding myself what the lock order is.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Dec 19 11:48:42 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.7: +45 -2 lines
Diff to previous 1.7 (colored)

drm: Restore drm_crtc_vblank_put_locked

Revision 1.7 / (download) - annotate - [select for diffs], Sun Dec 19 11:08:10 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.6: +4 -2 lines
Diff to previous 1.6 (colored)

drm: drm_update_vblank_count requires vbl_lock.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Dec 19 11:08:02 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.5: +11 -2 lines
Diff to previous 1.5 (colored)

drm: Fix vblank locking.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Dec 19 09:52:34 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.4: +34 -2 lines
Diff to previous 1.4 (colored)

Appropriate ifdef goop to make this file build for us.

Use the netbsd-ified versions.


Author: Maya Rashish <maya@NetBSD.org>

Revision 1.4 / (download) - annotate - [select for diffs], Sun Dec 19 01:21:53 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.3: +6 -2 lines
Diff to previous 1.3 (colored)

New seqlock code requires seqlock_destroy.

XXX missing cases in drm56

Revision 1.3 / (download) - annotate - [select for diffs], Sun Dec 19 01:16:51 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.2: +10 -9 lines
Diff to previous 1.2 (colored)

64-bit printf, include for do_div64, omit unused variable.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Dec 18 23:44:57 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Merge linux-drm-v5-6-rc3

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sat Dec 18 20:11:03 2021 UTC (2 years, 4 months ago) by riastradh
Branch: LINUX
CVS Tags: linux-drm-v5-6-rc3
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Import drm from Linux v5.6-rc3 (commit f8788d86ab28f61f7b46eb6be375f8a726783636)

    drivers/gpu/drm     -> sys/external/bsd/drm2/dist/drm
    include/drm         -> sys/external/bsd/drm2/dist/include/drm
    include/uapi/drm    -> sys/external/bsd/drm2/dist/include/uapi/drm

GPL exclusions in dist/drm:

- amd/amdgpu/amdgpu_atpx_handler.c
- arc/
- arm/
- armada/
- aspeed/
- atmel-hlcdc/
- bochs/
- bridge/
- cirrus/
- drm_dp_cec.c
- drm_dp_mst_topology_internal.h
- drm_edid_load.c
- drm_format_helper.c
- drm_gem_cma_helper.c
- drm_gem_framebuffer_helper.c
- drm_gem_shmem_helper.c
- drm_gem_ttm_helper.c
- drm_gem_vram_helper.c
- drm_hdcp.c
- drm_lease.c
- drm_mipi_dbi.c
- drm_simple_kms_helper.c
- drm_sysfs.c
- drm_trace.h
- drm_vram_helper_common.c
- drm_writeback.c
- etnaviv/
- exynos/
- fsl-dcu/
- gma500/
- hisilicon/
- i2c/tda9950.c
- i2c/tda998x_drv.c
- i915/gt/selftest_context.c
- i915/gt/selftest_engine.c
- i915/gt/selftest_engine.h
- i915/gt/selftest_engine_cs.c
- i915/gt/selftest_engine_pm.c
- i915/i915_trace.h
- i915/selftests/i915_live_selftests.h
- i915/selftests/i915_mock_selftests.h
- i915/selftests/i915_perf_selftests.h
- i915/selftests/lib_sw_fence.h
- imx/
- ingenic/
- lima/
- mcde/
- mediatek/
- meson/
- mgag200/
- msm/
- mxsfb/
- omapdrm/
- panel/
- panfrost/
- pl111/
- radeon/radeon_atpx_handler.c
- rcar-du/
- rockchip/
- selftests/drm_cmdline_selftests.h
- selftests/drm_modeset_selftests.h
- selftests/test-drm_cmdline_parser.c
- selftests/test-drm_damage_helper.c
- selftests/test-drm_dp_mst_helper.c
- selftests/test-drm_format.c
- selftests/test-drm_framebuffer.c
- selftests/test-drm_modeset_common.c
- selftests/test-drm_modeset_common.h
- selftests/test-drm_plane_helper.c
- selftests/test-drm_rect.c
- shmobile/
- sti/
- stm/
- sun4i/
- tegra/
- tilcdc/
- tiny/
- tve200/
- udl/
- v3d/
- vc4/
- virtio/virtgpu_trace.h
- virtio/virtgpu_trace_points.c
- vkms/
- vmwgfx/device_include/vmware_pack_begin.h
- vmwgfx/device_include/vmware_pack_end.h
- zte/

  Exceptions -- these all appear to be files to which someone added
  an SPDX license header automatically by a script that is not aware
  of the default MIT licensing under drivers/gpu/drm:

  - ast/ast_dp501.c
  - ast/ast_dram_tables.h
  - lib/drm_random.c
  - lib/drm_random.h
  - i915/display/intel_acpi.c
  - i915/selftests/mock_gem_device.h
  - i915/selftests/i915_mock_selftests.h
  - i915/selftests/i915_live_selftests.h
  - r128/ati_pcigart.h
  - selftests/drm_mm_selftests.h
  - selftests/test-drm_mm.c
  - vmwgfx/device_include/vm_basic_types.h

GPL exclusions in dist/include/drm:

- bridge
- drm_client.h
- drm_fb_cma_helper.h
- drm_format_helper.h
- drm_gem_cma_helper.h
- drm_gem_shmem_helper.h
- drm_gem_ttm_helper.h
- drm_gem_vram_helper.h
- drm_lease.h
- drm_mipi_dbi.h
- drm_mipi_dsi.h
- drm_of.h
- drm_simple_kms_helper.h
- drm_sysfs.h
- drm_writeback.h
- gma_drm.h
- i2c/tda998x.h
- i915_mei_hdcp_interface.h
- intel-gtt.h

  Exceptions:
  - drm_agpsupport.h - was in original drm; wrong spdx header auto-added

GPL exclusions in dist/include/uapi/drm:

- armada_drm.h
- etnaviv_drm.h
- exynos_drm.h
- lima_drm.h
- omap_drm.h

  Exceptions:
  - i810_drm.h - was in original drm; spdx header is wrong

Revision 1.1 / (download) - annotate - [select for diffs], Sat Dec 18 20:11:03 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>