[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/gen12: Add display render clear color decompression support (rev5)

Patchwork patchwork at emeril.freedesktop.org
Wed Jan 20 22:52:48 UTC 2021


== Series Details ==

Series: drm/i915/gen12: Add display render clear color decompression support (rev5)
URL   : https://patchwork.freedesktop.org/series/85877/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
249da006ed76 drm/framebuffer: Format modifier for Intel Gen 12 render compression with Clear Color
8815035bf706 drm/i915/gem: Add a helper to read data from a GEM object page
-:48: WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#48: FILE: drivers/gpu/drm/i915/gem/i915_gem_object.c:341:
+i915_gem_object_read_from_page_kmap(struct drm_i915_gem_object *obj, u64 offset, void *dst, int size)

-:64: WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#64: FILE: drivers/gpu/drm/i915/gem/i915_gem_object.c:357:
+i915_gem_object_read_from_page_iomap(struct drm_i915_gem_object *obj, u64 offset, void *dst, int size)

-:92: WARNING:TYPO_SPELLING: 'sucess' may be misspelled - perhaps 'success'?
#92: FILE: drivers/gpu/drm/i915/gem/i915_gem_object.c:385:
+ * Returns 0 on sucess or -ENODEV if the type of @obj's backing store is
                 ^^^^^^

-:135: WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#135: FILE: drivers/gpu/drm/i915/gem/i915_gem_object.h:540:
+int i915_gem_object_read_from_page(struct drm_i915_gem_object *obj, u64 offset, void *dst, int size);

total: 0 errors, 4 warnings, 0 checks, 95 lines checked
34cda0c7d54c drm/i915/tgl: Add Clear Color support for TGL Render Decompression
-:360: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'pipe' - possible side-effects?
#360: FILE: drivers/gpu/drm/i915/i915_reg.h:7120:
+#define PLANE_CC_VAL(pipe, plane)	\
+	_MMIO_PLANE(plane, _PLANE_CC_VAL_1(pipe), _PLANE_CC_VAL_2(pipe))

total: 0 errors, 0 warnings, 1 checks, 272 lines checked




More information about the Intel-gfx mailing list