backend: dmabuf: ensure primary render node is preffered
This commit is contained in:
parent
3d55cba06c
commit
41497b42d9
1 changed files with 7 additions and 1 deletions
|
|
@ -615,7 +615,13 @@ impl State {
|
|||
.clone();
|
||||
|
||||
let mut feedback =
|
||||
DmabufFeedbackBuilder::new(primary_node.dev_id(), primary_formats.clone());
|
||||
DmabufFeedbackBuilder::new(primary_node.dev_id(), primary_formats.clone())
|
||||
.add_preference_tranche(
|
||||
primary_node.dev_id(),
|
||||
TrancheFlags::Sampling,
|
||||
primary_formats.iter().cloned(),
|
||||
3..=6,
|
||||
);
|
||||
for dev in kms
|
||||
.drm_devices
|
||||
.values()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue