mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
This patch adds nvgpu API in linux and posix to query vpr resize. The new API nvgpu_is_vpr_resize_enabled() is used in nvgpu_submit_channel_gpfifo(). Previously, if non-deterministic channel has timeout disabled and GPU cannot railgate on some platform, then channel doesn't power ref count and results in video freeze. To resolve non-determinstic channel job tracking needs to be enabled if vpr resize is supported or if GPU can railgate. Bug 200532122 Change-Id: Icfbff6253762b195b2f5955749343974b1a7a269 Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2171093 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
143 lines
3.1 KiB
YAML
143 lines
3.1 KiB
YAML
# Copyright (c) 2019, NVIDIA CORPORATION. All Rights Reserved.
|
|
#
|
|
# POSIX elements and units in nvgpu.
|
|
#
|
|
|
|
# TODO: break this up into individual units. Will be critical for re-use in
|
|
# QNX.
|
|
all:
|
|
safe: no
|
|
owner: Alex W
|
|
sources: [ os/posix/error_notifier.c,
|
|
os/posix/firmware.c,
|
|
os/posix/fuse.c,
|
|
os/posix/gk20a.c,
|
|
os/posix/log.c,
|
|
os/posix/nvgpu.c,
|
|
os/posix/os_posix.h,
|
|
os/posix/posix-channel.c,
|
|
os/posix/posix-comptags.c,
|
|
os/posix/posix-dma.c,
|
|
os/posix/posix-fault-injection.c,
|
|
os/posix/posix-nvgpu_mem.c,
|
|
os/posix/posix-tsg.c,
|
|
os/posix/posix-vm.c,
|
|
os/posix/soc.c,
|
|
os/posix/bsearch.c,
|
|
os/posix/posix-clk_arb.c,
|
|
os/posix/posix-dt.c,
|
|
os/posix/posix-io.c,
|
|
os/posix/posix-nvhost.c,
|
|
os/posix/posix-nvlink.c,
|
|
os/posix/posix-sim.c,
|
|
os/posix/posix-vgpu.c,
|
|
os/posix/posix-vidmem.c,
|
|
os/posix/fecs_trace_posix.c,
|
|
os/posix/stubs.c,
|
|
os/posix/posix-vpr.c ]
|
|
|
|
headers:
|
|
safe: no
|
|
owner: Alex W
|
|
sources: [ include/nvgpu/posix/barrier.h,
|
|
include/nvgpu/posix/circ_buf.h,
|
|
include/nvgpu/posix/dma.h,
|
|
include/nvgpu/posix/io.h,
|
|
include/nvgpu/posix/log2.h,
|
|
include/nvgpu/posix/nvgpu_mem.h,
|
|
include/nvgpu/posix/pci.h,
|
|
include/nvgpu/posix/posix-fault-injection.h,
|
|
include/nvgpu/posix/probe.h,
|
|
include/nvgpu/posix/soc_fuse.h,
|
|
include/nvgpu/posix/vm.h,
|
|
include/nvgpu/posix/posix_vidmem.h ]
|
|
|
|
sort:
|
|
safe: yes
|
|
owner: Ajesh K
|
|
sources: [ include/nvgpu/posix/sort.h ]
|
|
deps:
|
|
|
|
bug:
|
|
safe: yes
|
|
owner: Ajesh K
|
|
sources: [ os/posix/bug.c,
|
|
include/nvgpu/posix/bug.h ]
|
|
deps:
|
|
|
|
lock:
|
|
safe: yes
|
|
owner: Ajesh K
|
|
sources: [ os/posix/lock.c,
|
|
include/nvgpu/posix/lock.h ]
|
|
|
|
rwsem:
|
|
safe: yes
|
|
owner: Ajesh K
|
|
sources: [ os/posix/rwsem.c,
|
|
include/nvgpu/posix/rwsem.h ]
|
|
deps:
|
|
|
|
size:
|
|
safe: yes
|
|
owner: Ajesh K
|
|
sources: [ include/nvgpu/posix/sizes.h ]
|
|
deps:
|
|
|
|
cond:
|
|
safe: yes
|
|
owner: Ajesh K
|
|
sources: [ os/posix/cond.c,
|
|
include/nvgpu/posix/cond.h ]
|
|
deps:
|
|
|
|
threads:
|
|
safe: yes
|
|
owner: Ajesh K
|
|
sources: [ os/posix/thread.c,
|
|
include/nvgpu/posix/thread.h ]
|
|
deps:
|
|
|
|
timers:
|
|
safe: yes
|
|
owner: Ajesh K
|
|
sources: [ os/posix/timers.c ]
|
|
deps:
|
|
|
|
atomic:
|
|
safe: yes
|
|
owner: Ajesh K
|
|
sources: [ include/nvgpu/posix/atomic.h ]
|
|
deps:
|
|
|
|
os_sched:
|
|
safe: yes
|
|
owner: Ajesh K
|
|
sources: [ os/posix/os_sched.c ]
|
|
|
|
kmem:
|
|
safe: yes
|
|
owner: Ajesh K
|
|
sources: [ os/posix/kmem.c,
|
|
include/nvgpu/posix/kmem.h ]
|
|
deps:
|
|
|
|
types:
|
|
safe: yes
|
|
owner: Ajesh K
|
|
sources: [ include/nvgpu/posix/types.h ]
|
|
deps:
|
|
|
|
utils:
|
|
safe: yes
|
|
owner: Ajesh K
|
|
sources: [ include/nvgpu/posix/utils.h ]
|
|
deps:
|
|
|
|
bitops:
|
|
safe: yes
|
|
owner: Ajesh K
|
|
sources: [ os/posix/bitmap.c,
|
|
include/nvgpu/posix/bitops.h ]
|
|
deps:
|