drm: include drm_print.h where needed

There are a gazillion files that depend on drm_print.h being indirectly
included via drm_buddy.h, drm_mm.h, or ttm/ttm_resource.h. In
preparation for removing those includes, explicitly include drm_print.h
where needed.

Cc: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://lore.kernel.org/r/5fe67395907be33eb5199ea6d540e29fddee71c8.1761734313.git.jani.nikula@intel.com
This commit is contained in:
Jani Nikula
2025-10-29 12:39:45 +02:00
parent 6fb7f29888
commit f6e8dc9edf
376 changed files with 470 additions and 4 deletions

View File

@@ -26,6 +26,8 @@
#include <linux/prime_numbers.h>
#include <linux/sort.h>
#include <drm/drm_print.h>
#include "gem/i915_gem_internal.h"
#include "gem/i915_gem_pm.h"
#include "gem/selftests/mock_context.h"