aboutsummaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2025-08-24 15:53:27 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2025-08-24 16:06:06 +0300
commit8b73910a11473ca9d06b204ccb7377360ced00db (patch)
treeecbebf860b70d7a24a1f123da0f9e432e8250b9c /src/backend
parent969f382e3e52f2a6c9d5f398d19f36dc32df0dd5 (diff)
downloadniri-8b73910a11473ca9d06b204ccb7377360ced00db.tar.gz
niri-8b73910a11473ca9d06b204ccb7377360ced00db.tar.bz2
niri-8b73910a11473ca9d06b204ccb7377360ced00db.zip
tty: Don't print successful max bpc/HDR
These are not really that useful
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/tty.rs8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/backend/tty.rs b/src/backend/tty.rs
index f6324edf..b3a3689b 100644
--- a/src/backend/tty.rs
+++ b/src/backend/tty.rs
@@ -865,7 +865,7 @@ impl Tty {
if let Ok(props) = ConnectorProperties::try_new(&device.drm, connector.handle()) {
match reset_hdr(&props) {
- Ok(()) => debug!("reset HDR properties"),
+ Ok(()) => (),
Err(err) => debug!("error resetting HDR properties: {err:?}"),
}
@@ -873,7 +873,7 @@ impl Tty {
// We only use 8888 RGB formats, so set max bpc to 8 to allow more types of links to
// run.
match set_max_bpc(&props, 8) {
- Ok(bpc) => debug!("set max bpc to {bpc}"),
+ Ok(_bpc) => (),
Err(err) => debug!("error setting max bpc: {err:?}"),
}
}
@@ -1842,9 +1842,7 @@ impl Tty {
if let Ok(props) = ConnectorProperties::try_new(&device.drm, surface.connector) {
match reset_hdr(&props) {
- Ok(()) => {
- debug!("output {:?}: reset HDR properties", surface.name.connector)
- }
+ Ok(()) => (),
Err(err) => debug!(
"output {:?} HDR: error resetting HDR properties: {err:?}",
surface.name.connector