Commit 9ff4fdf
committed
drm/tegra: Assign plane type before registration
Changes to a plane's type after it has been registered aren't propagated
to userspace automatically. This could possibly be achieved by updating
the property, but since we can already determine which type this should
be before the registration, passing in the right type from the start is
a much better solution.
Suggested-by: Aaron Kling <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Cc: [email protected]
Fixes: 4730795 ("drm/tegra: dc: Add Tegra186 support")
Signed-off-by: Aaron Kling <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Link: https://lore.kernel.org/r/[email protected]1 parent a6c0a91 commit 9ff4fdf
3 files changed
+12
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1321 | 1321 | | |
1322 | 1322 | | |
1323 | 1323 | | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
1324 | 1330 | | |
1325 | 1331 | | |
1326 | 1332 | | |
1327 | | - | |
| 1333 | + | |
1328 | 1334 | | |
1329 | 1335 | | |
1330 | 1336 | | |
1331 | 1337 | | |
1332 | 1338 | | |
1333 | 1339 | | |
1334 | 1340 | | |
1335 | | - | |
1336 | | - | |
| 1341 | + | |
1337 | 1342 | | |
1338 | | - | |
1339 | 1343 | | |
1340 | 1344 | | |
1341 | 1345 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
755 | 755 | | |
756 | 756 | | |
757 | 757 | | |
758 | | - | |
| 758 | + | |
| 759 | + | |
759 | 760 | | |
760 | | - | |
761 | 761 | | |
762 | 762 | | |
763 | 763 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| |||
0 commit comments