mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 04:45:58 +01:00
backend/drm: drop VRR debug message
These weren't super helpful and will get in our way for multi-connector commits.
This commit is contained in:
parent
3d72da9ed7
commit
d7d974ae30
2 changed files with 0 additions and 16 deletions
|
@ -385,14 +385,6 @@ static bool atomic_crtc_commit(struct wlr_drm_connector *conn,
|
||||||
crtc->own_mode_id = true;
|
crtc->own_mode_id = true;
|
||||||
commit_blob(drm, &crtc->mode_id, mode_id);
|
commit_blob(drm, &crtc->mode_id, mode_id);
|
||||||
commit_blob(drm, &crtc->gamma_lut, gamma_lut);
|
commit_blob(drm, &crtc->gamma_lut, gamma_lut);
|
||||||
|
|
||||||
if (vrr_enabled != prev_vrr_enabled) {
|
|
||||||
output->adaptive_sync_status = vrr_enabled ?
|
|
||||||
WLR_OUTPUT_ADAPTIVE_SYNC_ENABLED :
|
|
||||||
WLR_OUTPUT_ADAPTIVE_SYNC_DISABLED;
|
|
||||||
wlr_drm_conn_log(conn, WLR_DEBUG, "VRR %s",
|
|
||||||
vrr_enabled ? "enabled" : "disabled");
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
rollback_blob(drm, &crtc->mode_id, mode_id);
|
rollback_blob(drm, &crtc->mode_id, mode_id);
|
||||||
rollback_blob(drm, &crtc->gamma_lut, gamma_lut);
|
rollback_blob(drm, &crtc->gamma_lut, gamma_lut);
|
||||||
|
|
|
@ -481,14 +481,6 @@ out:
|
||||||
crtc->own_mode_id = true;
|
crtc->own_mode_id = true;
|
||||||
commit_blob(drm, &crtc->mode_id, mode_id);
|
commit_blob(drm, &crtc->mode_id, mode_id);
|
||||||
commit_blob(drm, &crtc->gamma_lut, gamma_lut);
|
commit_blob(drm, &crtc->gamma_lut, gamma_lut);
|
||||||
|
|
||||||
if (vrr_enabled != prev_vrr_enabled) {
|
|
||||||
output->adaptive_sync_status = vrr_enabled ?
|
|
||||||
WLR_OUTPUT_ADAPTIVE_SYNC_ENABLED :
|
|
||||||
WLR_OUTPUT_ADAPTIVE_SYNC_DISABLED;
|
|
||||||
wlr_drm_conn_log(conn, WLR_DEBUG, "VRR %s",
|
|
||||||
vrr_enabled ? "enabled" : "disabled");
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
rollback_blob(drm, &crtc->mode_id, mode_id);
|
rollback_blob(drm, &crtc->mode_id, mode_id);
|
||||||
rollback_blob(drm, &crtc->gamma_lut, gamma_lut);
|
rollback_blob(drm, &crtc->gamma_lut, gamma_lut);
|
||||||
|
|
Loading…
Reference in a new issue