Skip to content

Commit b230476

Browse files
committed
drm/i915: Uncomment the use of hex_dump_to_buffer() [FreeBSD]
It is implemented in FreeBSD as of ... Sponsored by: The FreeBSD Foundation
1 parent 842eb2e commit b230476

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/gpu/drm/i915/gt/intel_engine_cs.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2090,12 +2090,10 @@ static void linux_hexdump(struct drm_printer *m, const void *buf, size_t len)
20902090
continue;
20912091
}
20922092

2093-
#ifdef __linux__
20942093
WARN_ON_ONCE(hex_dump_to_buffer(buf + pos, len - pos,
20952094
rowsize, sizeof(u32),
20962095
line, sizeof(line),
20972096
false) >= sizeof(line));
2098-
#endif
20992097
drm_printf(m, "[%04zx] %s\n", pos, line);
21002098

21012099
prev = buf + pos;

0 commit comments

Comments
 (0)