/* * Mausezahn - A fast versatile traffic generator * Copyright (C) 2008-2010 Herbert Haas * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License version 2 as published by the * Free Software Foundation. * * This program 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 * this program; if not, see http://www.gnu.org/licenses/gpl-2.0.html * */ #include "mz.h" // Returns a nice string with default and current value of a given variable // // EXAMPLE: // // char mystring[256]; // mz_def16 ("20 seconds", pd->max_age, mystring) // int mz_def16 (char *def, u_int16_t val, char *str256) { str256[0]=0x00; sprintf(str256, "The default value is %s. The current value is %u (0x%04x).", def, val, val); return 0; } aster' selected='selected'>master net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLyude <cpaul@redhat.com>2016-06-21 17:03:41 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-07-19 09:16:51 +0200
commit4570d833390b10043d082fe535375d4a0e071d9c (patch)
treee6d001dca975158b51878601a1144ba62d00b59c /Documentation
parentb224c4dc70cdd5f42d24a7057148c6ace90e4f4e (diff)
drm/i915/vlv: Make intel_crt_reset() per-encoder
This lets call intel_crt_reset() in contexts where IRQs are disabled and as such, can't hold the locks required to work with the connectors. Cc: stable@vger.kernel.org Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Lyude <cpaul@redhat.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> (cherry picked from commit 28cf71ce3e206db1c3f30b3da31e7b48b2269e4c)
Diffstat (limited to 'Documentation')