gpu: nova-core: wait for GFW_BOOT completion
authorAlexandre Courbot <acourbot@nvidia.com>
Thu, 19 Jun 2025 13:23:56 +0000 (22:23 +0900)
committerDanilo Krummrich <dakr@kernel.org>
Mon, 23 Jun 2025 17:15:07 +0000 (19:15 +0200)
commitbbe5db761086e870678697f8920db518a6297a18
treebe7c81a17afab1f0b6601261df0bcd10a1fd06bc
parenta03c9bd953c2482aec8013c9c857b4d53031b54d
gpu: nova-core: wait for GFW_BOOT completion

Upon reset, the GPU executes the GFW (GPU Firmware) in order to
initialize its base parameters such as clocks. The driver must ensure
that this step is completed before using the hardware.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Link: https://lore.kernel.org/r/20250619-nova-frts-v6-12-ecf41ef99252@nvidia.com
[ Slightly adjust comments in wait_gfw_boot_completion(). - Danilo ]
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
drivers/gpu/nova-core/gfw.rs [new file with mode: 0644]
drivers/gpu/nova-core/gpu.rs
drivers/gpu/nova-core/nova_core.rs
drivers/gpu/nova-core/regs.rs
drivers/gpu/nova-core/util.rs