mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
tty: Don't print successful max bpc/HDR
These are not really that useful
This commit is contained in:
+3
-5
@@ -865,7 +865,7 @@ impl Tty {
|
|||||||
|
|
||||||
if let Ok(props) = ConnectorProperties::try_new(&device.drm, connector.handle()) {
|
if let Ok(props) = ConnectorProperties::try_new(&device.drm, connector.handle()) {
|
||||||
match reset_hdr(&props) {
|
match reset_hdr(&props) {
|
||||||
Ok(()) => debug!("reset HDR properties"),
|
Ok(()) => (),
|
||||||
Err(err) => debug!("error resetting HDR properties: {err:?}"),
|
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
|
// We only use 8888 RGB formats, so set max bpc to 8 to allow more types of links to
|
||||||
// run.
|
// run.
|
||||||
match set_max_bpc(&props, 8) {
|
match set_max_bpc(&props, 8) {
|
||||||
Ok(bpc) => debug!("set max bpc to {bpc}"),
|
Ok(_bpc) => (),
|
||||||
Err(err) => debug!("error setting max bpc: {err:?}"),
|
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) {
|
if let Ok(props) = ConnectorProperties::try_new(&device.drm, surface.connector) {
|
||||||
match reset_hdr(&props) {
|
match reset_hdr(&props) {
|
||||||
Ok(()) => {
|
Ok(()) => (),
|
||||||
debug!("output {:?}: reset HDR properties", surface.name.connector)
|
|
||||||
}
|
|
||||||
Err(err) => debug!(
|
Err(err) => debug!(
|
||||||
"output {:?} HDR: error resetting HDR properties: {err:?}",
|
"output {:?} HDR: error resetting HDR properties: {err:?}",
|
||||||
surface.name.connector
|
surface.name.connector
|
||||||
|
|||||||
Reference in New Issue
Block a user