All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [chrome-os:chromeos-5.10 13103/13368] drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c:389 sdma_v5_2_ring_emit_mem_sync() warn: inconsistent indenting
Date: Wed, 16 Jun 2021 15:29:31 +0800	[thread overview]
Message-ID: <202106161525.Q28XKQUv-lkp@intel.com> (raw)

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

tree:   https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.10
head:   9a4485b33838e9b8695558672870a0f29b241133
commit: 508833d31d24416cbd73b3fbea7df42e5a00ac1f [13103/13368] UPSTREAM: drm/amdgpu: Add graphics cache rinse packet for sdma
config: i386-randconfig-m021-20210615 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

smatch warnings:
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c:389 sdma_v5_2_ring_emit_mem_sync() warn: inconsistent indenting

vim +389 drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c

   371	
   372	/**
   373	 * sdma_v5_2_ring_emit_mem_sync - flush the IB by graphics cache rinse
   374	 *
   375	 * @ring: amdgpu ring pointer
   376	 * @job: job to retrieve vmid from
   377	 * @ib: IB object to schedule
   378	 *
   379	 * flush the IB by graphics cache rinse.
   380	 */
   381	static void sdma_v5_2_ring_emit_mem_sync(struct amdgpu_ring *ring)
   382	{
   383	    uint32_t gcr_cntl =
   384			    SDMA_GCR_GL2_INV | SDMA_GCR_GL2_WB | SDMA_GCR_GLM_INV |
   385				SDMA_GCR_GL1_INV | SDMA_GCR_GLV_INV | SDMA_GCR_GLK_INV |
   386				SDMA_GCR_GLI_INV(1);
   387	
   388		/* flush entire cache L0/L1/L2, this can be optimized by performance requirement */
 > 389		amdgpu_ring_write(ring, SDMA_PKT_HEADER_OP(SDMA_OP_GCR_REQ));
   390		amdgpu_ring_write(ring, SDMA_PKT_GCR_REQ_PAYLOAD1_BASE_VA_31_7(0));
   391		amdgpu_ring_write(ring, SDMA_PKT_GCR_REQ_PAYLOAD2_GCR_CONTROL_15_0(gcr_cntl) |
   392				SDMA_PKT_GCR_REQ_PAYLOAD2_BASE_VA_47_32(0));
   393		amdgpu_ring_write(ring, SDMA_PKT_GCR_REQ_PAYLOAD3_LIMIT_VA_31_7(0) |
   394				SDMA_PKT_GCR_REQ_PAYLOAD3_GCR_CONTROL_18_16(gcr_cntl >> 16));
   395		amdgpu_ring_write(ring, SDMA_PKT_GCR_REQ_PAYLOAD4_LIMIT_VA_47_32(0) |
   396				SDMA_PKT_GCR_REQ_PAYLOAD4_VMID(0));
   397	}
   398	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 33388 bytes --]

                 reply	other threads:[~2021-06-16  7:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202106161525.Q28XKQUv-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.