mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
drm/tegra: Add support for NVENC and NVJPG
Add support for the Host1x NVENC and NVJPG engines. JIRA LS-411 Change-Id: Ied1c64c17d337e571512c053ef9552642faa430c Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2490297 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Laxman Dewangan
parent
2a938c39ec
commit
7df2aa44f2
@@ -132,12 +132,24 @@ static const struct host1x_sid_entry tegra186_sid_table[] = {
|
||||
.offset = 0x30,
|
||||
.limit = 0x34
|
||||
},
|
||||
{
|
||||
/* NVENC */
|
||||
.base = 0x1af8,
|
||||
.offset = 0x30,
|
||||
.limit = 0x34
|
||||
},
|
||||
{
|
||||
/* NVDEC */
|
||||
.base = 0x1b00,
|
||||
.offset = 0x30,
|
||||
.limit = 0x34
|
||||
},
|
||||
{
|
||||
/* NVJPG */
|
||||
.base = 0x1b08,
|
||||
.offset = 0x30,
|
||||
.limit = 0x34
|
||||
},
|
||||
};
|
||||
|
||||
static const struct host1x_info host1x06_info = {
|
||||
@@ -162,12 +174,30 @@ static const struct host1x_sid_entry tegra194_sid_table[] = {
|
||||
.offset = 0x30,
|
||||
.limit = 0x34
|
||||
},
|
||||
{
|
||||
/* NVENC */
|
||||
.base = 0x1af8,
|
||||
.offset = 0x30,
|
||||
.limit = 0x34
|
||||
},
|
||||
{
|
||||
/* NVDEC */
|
||||
.base = 0x1b00,
|
||||
.offset = 0x30,
|
||||
.limit = 0x34
|
||||
},
|
||||
{
|
||||
/* NVJPG */
|
||||
.base = 0x1b08,
|
||||
.offset = 0x30,
|
||||
.limit = 0x34
|
||||
},
|
||||
{
|
||||
/* NVENC1 */
|
||||
.base = 0x1bb8,
|
||||
.offset = 0x30,
|
||||
.limit = 0x34
|
||||
},
|
||||
{
|
||||
/* NVDEC1 */
|
||||
.base = 0x1bc0,
|
||||
|
||||
Reference in New Issue
Block a user