video: tegra: host: check debuginfo for nvdec boot
authorDeepak Nibade <dnibade@nvidia.com>
Mon, 3 Oct 2016 09:53:41 +0000 (14:53 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Wed, 16 Nov 2016 18:31:44 +0000 (10:31 -0800)
commitff75dab64079b91bcc7379fd6f531c93dcc34560
tree48288d6ea9556ed28396ac60d3ff199e96121741
parentf54de84509a31be283f6cc5e62f546c59356d441
video: tegra: host: check debuginfo for nvdec boot

After waiting for falcon idle, confirm successful nvdec boot
by reading nvdec_debuginfo_r()

If register reads 0, then booting is successful
Otherwise, its error

Bug 200237849
Jira HOSTX-118

Change-Id: Ibaf6a21baaa3b5c61b432c9ceac4ddf9af233ebc
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/1230795
Reviewed-on: http://git-master/r/1242938
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
drivers/video/tegra/host/nvdec/hw_nvdec.h
drivers/video/tegra/host/nvdec/nvdec.c