linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Jinzhou Su <Jinzhou.Su@amd.com>
Cc: kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>,
	Alex Deucher <alexander.deucher@amd.com>,
	Huang Rui <ray.huang@amd.com>
Subject: [linux-next:master 12579/13394] drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c:389 sdma_v5_2_ring_emit_mem_sync() warn: inconsistent indenting
Date: Sat, 17 Apr 2021 06:20:31 +0800	[thread overview]
Message-ID: <202104170629.omCfnmBZ-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   18250b538735142307082e4e99e3ae5c12d44013
commit: b45fdeab45bc42c2cd2dfbb3d11a3dd797907af6 [12579/13394] drm/amdgpu: Add graphics cache rinse packet for sdma
config: i386-randconfig-m021-20210416 (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@lists.01.org

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

                 reply	other threads:[~2021-04-16 22:21 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=202104170629.omCfnmBZ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Jinzhou.Su@amd.com \
    --cc=alexander.deucher@amd.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=ray.huang@amd.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox