Lines Matching +full:software +full:- +full:based
5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
12 * all copies or substantial portions of the Software.
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20 * OTHER DEALINGS IN THE SOFTWARE.
67 * struct drm_printer p = drm_info_printer(drm->dev);
73 * enum drm_debug_category - The DRM debug categories
85 * - drm.debug=0x1 will enable CORE messages
86 * - drm.debug=0x2 will enable DRIVER messages
87 * - drm.debug=0x3 will enable CORE and DRIVER messages
88 * - ...
89 * - drm.debug=0x1ff will enable all messages
92 * run-time by echoing the debug value in its sysfs node::
158 * the private macro to avoid re-testing the enable-bit.
168 * struct drm_printer - drm output "stream"
200 * drm_vprintf - print to a &drm_printer stream
210 p->printfn(p, &vaf); in drm_vprintf()
214 * drm_printf_indent - Print to a &drm_printer stream with indentation
223 * struct drm_print_iterator - local struct used with drm_printer_coredump
238 * drm_coredump_printer - construct a &drm_printer that can output to a buffer
297 * return count - iter.remain;
334 iter->offset = 0; in drm_coredump_printer()
340 * drm_seq_file_printer - construct a &drm_printer that outputs to &seq_file
357 * drm_info_printer - construct a &drm_printer that outputs to dev_printk()
373 * drm_dbg_printer - construct a &drm_printer for drm device specific output
396 * drm_err_printer - construct a &drm_printer that outputs to drm_err()
415 * struct device based logging
417 * Prefer drm_device based logging over device or printk based logging.
429 * DRM_DEV_ERROR() - Error output.
440 * DRM_DEV_ERROR_RATELIMITED() - Rate limited error output.
484 * DRM_DEV_DEBUG() - Debug output for generic drm code
494 * DRM_DEV_DEBUG_DRIVER() - Debug output for vendor specific part of the driver
504 * DRM_DEV_DEBUG_KMS() - Debug output for modesetting code
515 * struct drm_device based logging
517 * Prefer drm_device based logging over device or prink based logging.
520 /* Helper for struct drm_device based logging. */
522 dev_##level##type((drm) ? (drm)->dev : NULL, "[drm] " fmt, ##__VA_ARGS__)
556 drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_CORE, fmt, ##__VA_ARGS__)
558 drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_DRIVER, fmt, ##__VA_ARGS__)
560 drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_KMS, fmt, ##__VA_ARGS__)
562 drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_PRIME, fmt, ##__VA_ARGS__)
564 drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_ATOMIC, fmt, ##__VA_ARGS__)
566 drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_VBL, fmt, ##__VA_ARGS__)
568 drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_STATE, fmt, ##__VA_ARGS__)
570 drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_LEASE, fmt, ##__VA_ARGS__)
572 drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_DP, fmt, ##__VA_ARGS__)
574 drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_DRMRES, fmt, ##__VA_ARGS__)
579 * printk based logging
581 * Prefer drm_device based logging over device or prink based logging.
666 drm_dev_printk(drm_ ? drm_->dev : NULL, KERN_DEBUG, fmt, ## __VA_ARGS__); \
676 * struct drm_device based WARNs
682 * Prefer drm_device based drm_WARN* over regular WARN*
685 /* Helper for struct drm_device based WARNs */
688 dev_driver_string((drm)->dev), \
689 dev_name((drm)->dev), ## arg)
693 dev_driver_string((drm)->dev), \
694 dev_name((drm)->dev), ## arg)