diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2016-06-03 02:56:13 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-06-06 14:01:00 -0400 |
commit | c16d985c8a6e6f615ae05f2909b30ef5eced48e6 (patch) | |
tree | bafd595e6db8339e6fb48b5f524036d384f5e75c /drivers/gpu/nvgpu/gk20a | |
parent | dc981a25f93a9a831fa60ac8c517f560fd693262 (diff) |
gpu: nvgpu: return if no fecs intr
In gk20a_gr_handle_fecs_error(), if we do not see
any error interrupt from gr_fecs_host_int_status_r(),
just return immediately
Bug 1646259
Change-Id: Iea037e0dab57111d2a0fb41c5c19529b7d6c83c0
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/1158591
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c index 339e53b2..17307b63 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |||
@@ -5375,6 +5375,9 @@ int gk20a_gr_handle_fecs_error(struct gk20a *g, struct channel_gk20a *ch, | |||
5375 | 5375 | ||
5376 | gk20a_dbg_fn(""); | 5376 | gk20a_dbg_fn(""); |
5377 | 5377 | ||
5378 | if (!gr_fecs_intr) | ||
5379 | return 0; | ||
5380 | |||
5378 | gk20a_err(dev_from_gk20a(g), | 5381 | gk20a_err(dev_from_gk20a(g), |
5379 | "unhandled fecs error interrupt 0x%08x for channel %u", | 5382 | "unhandled fecs error interrupt 0x%08x for channel %u", |
5380 | gr_fecs_intr, isr_data->chid); | 5383 | gr_fecs_intr, isr_data->chid); |