/* * Copyright (C) 2015 Tobias Klauser * * This file is part of llmnrd. * * llmnrd is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, version 2 of the License. * * llmnrd is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with llmnrd. If not, see . */ #ifndef LOG_H #define LOG_H #include #define log_err(fmt, args...) fprintf(stderr, "Error: " fmt, ##args) #define log_warn(fmt, args...) fprintf(stderr, "Warning: " fmt, ##args) #define log_info(fmt, args...) fprintf(stdout, fmt, ##args) #ifdef DEBUG # define log_dbg(fmt, args...) fprintf(stdout, fmt, ##args) #else # define log_dbg(fmt, args...) #endif #endif /* LOG_H */ nup'>emaclite-cleanup net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2016-08-09 17:04:05 +0200
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2016-08-23 11:07:23 +0200
commit0a478c27db43ad6a0e229ff1b922a16d2eae9701 (patch)
tree5971648c7c7f1b91bb07981bf260d15812eca4fa
parentfd6bbda9c7a46bec6462878787335d2ac6294040 (diff)
drm/i915: Make encoder->compute_config take the connector state
Some places iterate over connector_state to find the right connector, pass it along as argument. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1470755054-32699-7-git-send-email-maarten.lankhorst@linux.intel.com Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>