Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/tegra: nvdec: Fix TRANSCFG register offset

NVDEC's TRANSCFG register is at a different offset than VIC.
This becomes a problem now when context isolation is enabled and
the reset value of the register is no longer sufficient.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

authored by

Mikko Perttunen and committed by
Thierry Reding
88c0292f e078d8d6

+3 -1
+3 -1
drivers/gpu/drm/tegra/nvdec.c
··· 21 21 #include "falcon.h" 22 22 #include "vic.h" 23 23 24 + #define NVDEC_TFBIF_TRANSCFG 0x2c44 25 + 24 26 struct nvdec_config { 25 27 const char *firmware; 26 28 unsigned int version; ··· 65 63 u32 value; 66 64 67 65 value = TRANSCFG_ATT(1, TRANSCFG_SID_FALCON) | TRANSCFG_ATT(0, TRANSCFG_SID_HW); 68 - nvdec_writel(nvdec, value, VIC_TFBIF_TRANSCFG); 66 + nvdec_writel(nvdec, value, NVDEC_TFBIF_TRANSCFG); 69 67 70 68 if (spec->num_ids > 0) { 71 69 value = spec->ids[0] & 0xffff;