forge
Explore
Log in

Don't you dare go Hollow

tty: Don't print successful max bpc/HDR

Browse files at this commit

8b73910a11473ca9d06b204ccb7377360ced00dbIvan MolodetskikhParent: 969f382
These are not really that useful
src/backend/tty.rsmodified+3 -5
@@ -865,7 +865,7 @@ impl Tty {
865 865
866 if let Ok(props) = ConnectorProperties::try_new(&device.drm, connector.handle()) {866 if let Ok(props) = ConnectorProperties::try_new(&device.drm, connector.handle()) {
867 match reset_hdr(&props) {867 match reset_hdr(&props) {
868- Ok(()) => debug!("reset HDR properties"),868+ Ok(()) => (),
869 Err(err) => debug!("error resetting HDR properties: {err:?}"),869 Err(err) => debug!("error resetting HDR properties: {err:?}"),
870 }870 }
871 871
@@ -873,7 +873,7 @@ impl Tty {
873 // We only use 8888 RGB formats, so set max bpc to 8 to allow more types of links to873 // We only use 8888 RGB formats, so set max bpc to 8 to allow more types of links to
874 // run.874 // run.
875 match set_max_bpc(&props, 8) {875 match set_max_bpc(&props, 8) {
876- Ok(bpc) => debug!("set max bpc to {bpc}"),876+ Ok(_bpc) => (),
877 Err(err) => debug!("error setting max bpc: {err:?}"),877 Err(err) => debug!("error setting max bpc: {err:?}"),
878 }878 }
879 }879 }
@@ -1842,9 +1842,7 @@ impl Tty {
1842 1842
1843 if let Ok(props) = ConnectorProperties::try_new(&device.drm, surface.connector) {1843 if let Ok(props) = ConnectorProperties::try_new(&device.drm, surface.connector) {
1844 match reset_hdr(&props) {1844 match reset_hdr(&props) {
1845- Ok(()) => {1845+ Ok(()) => (),
1846- debug!("output {:?}: reset HDR properties", surface.name.connector)
1847- }
1848 Err(err) => debug!(1846 Err(err) => debug!(
1849 "output {:?} HDR: error resetting HDR properties: {err:?}",1847 "output {:?} HDR: error resetting HDR properties: {err:?}",
1850 surface.name.connector1848 surface.name.connector