All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] DRM: i915: i915_perf: Fixed compiler warning
@ 2021-08-09  2:33 ` Julius Victorian
  0 siblings, 0 replies; 5+ messages in thread
From: Julius Victorian @ 2021-08-09  2:33 UTC (permalink / raw)
  To: airlied
  Cc: jani.nikula, joonas.lahtinen, linux-kernel, rodrigo.vivi, daniel,
	intel-gfx, dri-devel, Julius

From: Julius <julius.victorian.home@gmail.com>

Fixed compiler warning: "left shift of negative value"

Signed-off-by: Julius Victorian <julius.victorian.home@gmail.com>
---
 drivers/gpu/drm/i915/i915_perf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_perf.c b/drivers/gpu/drm/i915/i915_perf.c
index 9f94914958c3..7b852974241e 100644
--- a/drivers/gpu/drm/i915/i915_perf.c
+++ b/drivers/gpu/drm/i915/i915_perf.c
@@ -2804,7 +2804,7 @@ get_default_sseu_config(struct intel_sseu *out_sseu,
 		 * all available subslices per slice.
 		 */
 		out_sseu->subslice_mask =
-			~(~0 << (hweight8(out_sseu->subslice_mask) / 2));
+			~(~0U << (hweight8(out_sseu->subslice_mask) / 2));
 		out_sseu->slice_mask = 0x1;
 	}
 }
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Intel-gfx] [PATCH] DRM: i915: i915_perf: Fixed compiler warning
@ 2021-08-09  2:33 ` Julius Victorian
  0 siblings, 0 replies; 5+ messages in thread
From: Julius Victorian @ 2021-08-09  2:33 UTC (permalink / raw)
  To: airlied
  Cc: jani.nikula, joonas.lahtinen, linux-kernel, rodrigo.vivi, daniel,
	intel-gfx, dri-devel, Julius

From: Julius <julius.victorian.home@gmail.com>

Fixed compiler warning: "left shift of negative value"

Signed-off-by: Julius Victorian <julius.victorian.home@gmail.com>
---
 drivers/gpu/drm/i915/i915_perf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_perf.c b/drivers/gpu/drm/i915/i915_perf.c
index 9f94914958c3..7b852974241e 100644
--- a/drivers/gpu/drm/i915/i915_perf.c
+++ b/drivers/gpu/drm/i915/i915_perf.c
@@ -2804,7 +2804,7 @@ get_default_sseu_config(struct intel_sseu *out_sseu,
 		 * all available subslices per slice.
 		 */
 		out_sseu->subslice_mask =
-			~(~0 << (hweight8(out_sseu->subslice_mask) / 2));
+			~(~0U << (hweight8(out_sseu->subslice_mask) / 2));
 		out_sseu->slice_mask = 0x1;
 	}
 }
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for DRM: i915: i915_perf: Fixed compiler warning
  2021-08-09  2:33 ` [Intel-gfx] " Julius Victorian
  (?)
@ 2021-08-09 14:52 ` Patchwork
  -1 siblings, 0 replies; 5+ messages in thread
From: Patchwork @ 2021-08-09 14:52 UTC (permalink / raw)
  To: Julius Victorian; +Cc: intel-gfx

== Series Details ==

Series: DRM: i915: i915_perf: Fixed compiler warning
URL   : https://patchwork.freedesktop.org/series/93511/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
f0431793a357 DRM: i915: i915_perf: Fixed compiler warning
-:22: WARNING:FROM_SIGN_OFF_MISMATCH: From:/Signed-off-by: email name mismatch: 'From: Julius <julius.victorian.home@gmail.com>' != 'Signed-off-by: Julius Victorian <julius.victorian.home@gmail.com>'

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Intel-gfx] ✗ Fi.CI.BAT: failure for DRM: i915: i915_perf: Fixed compiler warning
  2021-08-09  2:33 ` [Intel-gfx] " Julius Victorian
  (?)
  (?)
@ 2021-08-09 15:21 ` Patchwork
  -1 siblings, 0 replies; 5+ messages in thread
From: Patchwork @ 2021-08-09 15:21 UTC (permalink / raw)
  To: Julius Victorian; +Cc: intel-gfx

[-- Attachment #1: Type: text/plain, Size: 4209 bytes --]

== Series Details ==

Series: DRM: i915: i915_perf: Fixed compiler warning
URL   : https://patchwork.freedesktop.org/series/93511/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_10460 -> Patchwork_20787
====================================================

Summary
-------

  **FAILURE**

  Serious unknown changes coming with Patchwork_20787 absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in Patchwork_20787, please notify your bug team to allow them
  to document this new failure mode, which will reduce false positives in CI.

  External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20787/index.html

Possible new issues
-------------------

  Here are the unknown changes that may have been introduced in Patchwork_20787:

### IGT changes ###

#### Possible regressions ####

  * igt@kms_setmode@basic-clone-single-crtc:
    - fi-rkl-guc:         [PASS][1] -> [WARN][2]
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10460/fi-rkl-guc/igt@kms_setmode@basic-clone-single-crtc.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20787/fi-rkl-guc/igt@kms_setmode@basic-clone-single-crtc.html

  
Known issues
------------

  Here are the changes found in Patchwork_20787 that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@amdgpu/amd_cs_nop@fork-gfx0:
    - fi-icl-u2:          NOTRUN -> [SKIP][3] ([fdo#109315]) +17 similar issues
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20787/fi-icl-u2/igt@amdgpu/amd_cs_nop@fork-gfx0.html

  * igt@gem_exec_suspend@basic-s0:
    - fi-tgl-1115g4:      [PASS][4] -> [FAIL][5] ([i915#1888])
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10460/fi-tgl-1115g4/igt@gem_exec_suspend@basic-s0.html
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20787/fi-tgl-1115g4/igt@gem_exec_suspend@basic-s0.html

  * igt@kms_chamelium@common-hpd-after-suspend:
    - fi-kbl-7500u:       [PASS][6] -> [DMESG-FAIL][7] ([i915#165])
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10460/fi-kbl-7500u/igt@kms_chamelium@common-hpd-after-suspend.html
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20787/fi-kbl-7500u/igt@kms_chamelium@common-hpd-after-suspend.html

  
#### Possible fixes ####

  * igt@gem_exec_suspend@basic-s3:
    - fi-tgl-1115g4:      [FAIL][8] ([i915#1888]) -> [PASS][9]
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10460/fi-tgl-1115g4/igt@gem_exec_suspend@basic-s3.html
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20787/fi-tgl-1115g4/igt@gem_exec_suspend@basic-s3.html

  * igt@i915_selftest@live@gt_lrc:
    - fi-rkl-guc:         [DMESG-WARN][10] -> [PASS][11]
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10460/fi-rkl-guc/igt@i915_selftest@live@gt_lrc.html
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20787/fi-rkl-guc/igt@i915_selftest@live@gt_lrc.html

  * igt@i915_selftest@live@hangcheck:
    - fi-icl-u2:          [INCOMPLETE][12] -> [PASS][13]
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10460/fi-icl-u2/igt@i915_selftest@live@hangcheck.html
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20787/fi-icl-u2/igt@i915_selftest@live@hangcheck.html

  
  [fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
  [i915#165]: https://gitlab.freedesktop.org/drm/intel/issues/165
  [i915#1888]: https://gitlab.freedesktop.org/drm/intel/issues/1888


Participating hosts (37 -> 34)
------------------------------

  Missing    (3): fi-bdw-samus fi-bsw-cyan bat-jsl-1 


Build changes
-------------

  * Linux: CI_DRM_10460 -> Patchwork_20787

  CI-20190529: 20190529
  CI_DRM_10460: 933d74e4ff60d39ff929b26780dca84412551174 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGT_6163: 9f9d82df8c8e68c304e84aba717a9937b65e10e6 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  Patchwork_20787: f0431793a35707e86a71b19d66c069c3a93ad145 @ git://anongit.freedesktop.org/gfx-ci/linux


== Linux commits ==

f0431793a357 DRM: i915: i915_perf: Fixed compiler warning

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20787/index.html

[-- Attachment #2: Type: text/html, Size: 5067 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Intel-gfx] [PATCH] DRM: i915: i915_perf: Fixed compiler warning
  2021-08-09  2:33 ` [Intel-gfx] " Julius Victorian
                   ` (2 preceding siblings ...)
  (?)
@ 2021-08-10 11:02 ` Lionel Landwerlin
  -1 siblings, 0 replies; 5+ messages in thread
From: Lionel Landwerlin @ 2021-08-10 11:02 UTC (permalink / raw)
  To: intel-gfx

On 09/08/2021 05:33, Julius Victorian wrote:
> From: Julius <julius.victorian.home@gmail.com>
>
> Fixed compiler warning: "left shift of negative value"
>
> Signed-off-by: Julius Victorian <julius.victorian.home@gmail.com>

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>


Thanks!

> ---
>   drivers/gpu/drm/i915/i915_perf.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/i915_perf.c b/drivers/gpu/drm/i915/i915_perf.c
> index 9f94914958c3..7b852974241e 100644
> --- a/drivers/gpu/drm/i915/i915_perf.c
> +++ b/drivers/gpu/drm/i915/i915_perf.c
> @@ -2804,7 +2804,7 @@ get_default_sseu_config(struct intel_sseu *out_sseu,
>   		 * all available subslices per slice.
>   		 */
>   		out_sseu->subslice_mask =
> -			~(~0 << (hweight8(out_sseu->subslice_mask) / 2));
> +			~(~0U << (hweight8(out_sseu->subslice_mask) / 2));
>   		out_sseu->slice_mask = 0x1;
>   	}
>   }



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-08-10 11:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-09  2:33 [PATCH] DRM: i915: i915_perf: Fixed compiler warning Julius Victorian
2021-08-09  2:33 ` [Intel-gfx] " Julius Victorian
2021-08-09 14:52 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for " Patchwork
2021-08-09 15:21 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2021-08-10 11:02 ` [Intel-gfx] [PATCH] " Lionel Landwerlin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.