mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: add fb gops for set_atomic_mode
Separated set_atomic_mode functionality from init_fs_state/enable_nvlink and created new fb gops for set_atomic_mode. In gpu init sequence, set_atomic_mode is called after acr_construct_execute to take care of design changes required for nvgpu-next architectures. Updated fb_gv11b_init_test to use set_atomic_mode gops along with init_fs_state. Bug 3268664 Change-Id: I1ab9eb21cc4cce77f3325c4e8821a75b6e85fba2 Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2508095 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
3aceed2db1
commit
21e1328ea1
@@ -672,6 +672,14 @@ int nvgpu_finalize_poweron(struct gk20a *g)
|
||||
NVGPU_INIT_TABLE_ENTRY(&nvgpu_gr_enable_hw, NO_FLAG),
|
||||
NVGPU_INIT_TABLE_ENTRY(g->ops.acr.acr_construct_execute,
|
||||
NVGPU_SEC_PRIVSECURITY),
|
||||
/**
|
||||
* Set atomic mode after acr boot(See Bug 3268664 for
|
||||
* details). For acr to boot, nvgpu_init_fb_support
|
||||
* and init_mm_support is required.
|
||||
* So, set_atomic_mode is decoupled from nvgpu_init_fb_support
|
||||
* in the init sequence and called after acr boot.
|
||||
*/
|
||||
NVGPU_INIT_TABLE_ENTRY(g->ops.fb.set_atomic_mode, NO_FLAG),
|
||||
#ifdef CONFIG_NVGPU_DGPU
|
||||
NVGPU_INIT_TABLE_ENTRY(g->ops.sec2.init_sec2_support,
|
||||
NVGPU_SUPPORT_SEC2_RTOS),
|
||||
|
||||
Reference in New Issue
Block a user