diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2024-02-08 17:17:13 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2024-02-09 14:32:10 +0200 |
commit | abe6af1627c73e7086bb90d750cf5c72e9fde9c1 (patch) | |
tree | bc2f1796762cc0b5c5cf28935f73edb614225add | |
parent | 5f67258c0872f1f0e0b1712b466b87bbe1b0c2aa (diff) | |
download | linux-abe6af1627c73e7086bb90d750cf5c72e9fde9c1.tar.gz linux-abe6af1627c73e7086bb90d750cf5c72e9fde9c1.tar.bz2 linux-abe6af1627c73e7086bb90d750cf5c72e9fde9c1.zip |
drm/i915/bios: Switch to kms debugs
The VBT code is all about displays, so switch to UT_KMS debugs
from UT_DRIVER.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240208151720.7866-7-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_bios.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_bios.c b/drivers/gpu/drm/i915/display/intel_bios.c index 5f04e495fd27..63655b17714c 100644 --- a/drivers/gpu/drm/i915/display/intel_bios.c +++ b/drivers/gpu/drm/i915/display/intel_bios.c @@ -2911,17 +2911,17 @@ bool intel_bios_is_valid_vbt(const void *buf, size_t size) return false; if (sizeof(struct vbt_header) > size) { - DRM_DEBUG_DRIVER("VBT header incomplete\n"); + DRM_DEBUG_KMS("VBT header incomplete\n"); return false; } if (memcmp(vbt->signature, "$VBT", 4)) { - DRM_DEBUG_DRIVER("VBT invalid signature\n"); + DRM_DEBUG_KMS("VBT invalid signature\n"); return false; } if (vbt->vbt_size > size) { - DRM_DEBUG_DRIVER("VBT incomplete (vbt_size overflows)\n"); + DRM_DEBUG_KMS("VBT incomplete (vbt_size overflows)\n"); return false; } @@ -2931,13 +2931,13 @@ bool intel_bios_is_valid_vbt(const void *buf, size_t size) vbt->bdb_offset, sizeof(struct bdb_header), size)) { - DRM_DEBUG_DRIVER("BDB header incomplete\n"); + DRM_DEBUG_KMS("BDB header incomplete\n"); return false; } bdb = get_bdb_header(vbt); if (range_overflows_t(size_t, vbt->bdb_offset, bdb->bdb_size, size)) { - DRM_DEBUG_DRIVER("BDB incomplete\n"); + DRM_DEBUG_KMS("BDB incomplete\n"); return false; } |