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

Patchwork patchwork at emeril.freedesktop.org
Fri Jan 15 23:14:08 UTC 2021


== Series Details ==

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

== Summary ==

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

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

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

-:129: WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#129: FILE: drivers/gpu/drm/i915/gem/i915_gem_object.h:549:
+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, 94 lines checked
874804c1b4dd 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