mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 11:04:51 +03:00
gpu: nvgpu: GA10X_NEXT pulling GR1 out of reset
This patch is to enable GR1 before resetting GR0 which is not visible to the driver. Bug 3690950 Change-Id: I8a1907349f5a4354c6b7f95f9904b52738f51f00 Signed-off-by: atanand <atanand@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2758161 (cherry picked from commit 48d925cacf373a97dbdb031a109b83be3bfe2972) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2765635 Reviewed-by: Rajesh Devaraj <rdevaraj@nvidia.com> Reviewed-by: Vaibhav Kachore <vkachore@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
cfc663a65d
commit
f43897c940
@@ -30,6 +30,7 @@
|
||||
#include <nvgpu/engines.h>
|
||||
#include <nvgpu/device.h>
|
||||
#include <nvgpu/fbp.h>
|
||||
#include <nvgpu/errata.h>
|
||||
|
||||
int nvgpu_init_gr_manager(struct gk20a *g)
|
||||
{
|
||||
@@ -211,6 +212,15 @@ int nvgpu_init_gr_manager(struct gk20a *g)
|
||||
*/
|
||||
if (g->mig.usable_gr_syspipe_instance_id[0U] ==
|
||||
gr_dev->inst_id) {
|
||||
/*
|
||||
* Enable this errata for chip GA10X_NEXT.
|
||||
*/
|
||||
if (nvgpu_is_errata_present(g, NVGPU_ERRATA_3690950)) {
|
||||
if (g->ops.mc.gr1_out_of_reset != NULL) {
|
||||
g->ops.mc.gr1_out_of_reset(g, gr_dev->type, true);
|
||||
}
|
||||
}
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user