Commit 3318f2d
drm/amdgpu/vcn: Allow limiting ctx to instance 0 for AV1 at any time
There is no reason to require this to happen on first submitted IB only.
We need to wait for the queue to be idle, but it can be done at any
time (including when there are multiple video sessions active).
Signed-off-by: David Rosca <david.rosca@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 8908fdc)
Cc: stable@vger.kernel.org1 parent 2b10cb5 commit 3318f2d
2 files changed
+16
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1888 | 1888 | | |
1889 | 1889 | | |
1890 | 1890 | | |
1891 | | - | |
1892 | | - | |
1893 | | - | |
1894 | | - | |
| 1891 | + | |
1895 | 1892 | | |
1896 | 1893 | | |
1897 | 1894 | | |
1898 | 1895 | | |
1899 | 1896 | | |
| 1897 | + | |
| 1898 | + | |
| 1899 | + | |
| 1900 | + | |
| 1901 | + | |
| 1902 | + | |
| 1903 | + | |
1900 | 1904 | | |
1901 | 1905 | | |
1902 | 1906 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1808 | 1808 | | |
1809 | 1809 | | |
1810 | 1810 | | |
1811 | | - | |
1812 | | - | |
1813 | | - | |
1814 | | - | |
| 1811 | + | |
1815 | 1812 | | |
1816 | 1813 | | |
1817 | 1814 | | |
1818 | 1815 | | |
1819 | 1816 | | |
| 1817 | + | |
| 1818 | + | |
| 1819 | + | |
| 1820 | + | |
| 1821 | + | |
| 1822 | + | |
| 1823 | + | |
1820 | 1824 | | |
1821 | 1825 | | |
1822 | 1826 | | |
| |||
0 commit comments