From nobody Mon May 25 03:55:48 2026 Received: from mailgw.kylinos.cn (mailgw.kylinos.cn [124.126.103.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 254E5309EF2 for ; Tue, 19 May 2026 07:40:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=124.126.103.232 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779176458; cv=none; b=dAzH1ja6gPLGIs4kSNrrOppkdiSZOq8uYZ+mkIsix8OrzFpTzHxzu376InrHjrytillksfPtbr3MWqEzgeqTdzXTeEg/+ltc6HiL6Pm3o4gWPp2FQQj2h9xeQ/Qz2+nORplfM5csyeRp3CQM5YYxT/QeybzhcY7W14/PP7gfmGI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779176458; c=relaxed/simple; bh=kidRX5MZjgR4wGzPHod8Z6xJmyw9LkfzQn672nb+enI=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=k+2mUGsrYxOrxxzCYthgM+OwtfkNBub98uXcDe5SBQ2UFY7NeTDAsPiocwrSfw9kNxGXTtzYfbR13rmELMVO21xnUFqtixZmAnIua5YGmGr8AImy42Zp/ymP9ExNugVT+3bBscPncKgHiCAzFimGmTmuObf26izJrLb9Hn1t3Ok= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kylinos.cn; spf=pass smtp.mailfrom=kylinos.cn; arc=none smtp.client-ip=124.126.103.232 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kylinos.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kylinos.cn X-UUID: 0eba393e535611f1aa26b74ffac11d73-20260519 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.3.12,REQID:2766b5a3-4671-4d41-a50d-81e894f13f4e,IP:0,U RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:-5 X-CID-META: VersionHash:e7bac3a,CLOUDID:7a7f2da1c8d94d7c820e3de5b16b875e,BulkI D:nil,BulkQuantity:0,Recheck:0,SF:102|123|850|865|898,TC:nil,Content:0|15| 50,EDM:-3,IP:nil,URL:0,File:nil,RT:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0 ,OSA:0,AV:0,LES:1,SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0,ARC:0 X-CID-BVR: 2,SSN|SDN X-CID-BAS: 2,SSN|SDN,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-CID-RHF: D41D8CD98F00B204E9800998ECF8427E X-UUID: 0eba393e535611f1aa26b74ffac11d73-20260519 X-User: yaolu@kylinos.cn Received: from localhost.localdomain [(10.44.16.150)] by mailgw.kylinos.cn (envelope-from ) (Generic MTA with TLSv1.3 TLS_AES_256_GCM_SHA384 256/256) with ESMTP id 1493993136; Tue, 19 May 2026 15:40:50 +0800 From: yaolu@kylinos.cn To: lvjianmin@loongson.cn, wuqianhai@loongson.cn Cc: chenhuacai@kernel.org, jeffbai@aosc.io, xry111@xry111.site, zhengxingda@iscas.ac.cn, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Lu Yao Subject: [PATH] drm/loongson: mode_config.cursor_width should use hw_cursor_w Date: Tue, 19 May 2026 15:40:46 +0800 Message-Id: <20260519074046.143672-1-yaolu@kylinos.cn> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Lu Yao mode_config.cursor_width should use hw_cursor_w rather than hw_cursor_h. Signed-off-by: Lu Yao --- drivers/gpu/drm/loongson/lsdc_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/loongson/lsdc_drv.c b/drivers/gpu/drm/loongson= /lsdc_drv.c index 79bb61278aa7..02615fa6a1d5 100644 --- a/drivers/gpu/drm/loongson/lsdc_drv.c +++ b/drivers/gpu/drm/loongson/lsdc_drv.c @@ -139,7 +139,7 @@ static int lsdc_mode_config_init(struct drm_device *dde= v, ddev->mode_config.preferred_depth =3D 24; ddev->mode_config.prefer_shadow =3D 1; =20 - ddev->mode_config.cursor_width =3D descp->hw_cursor_h; + ddev->mode_config.cursor_width =3D descp->hw_cursor_w; ddev->mode_config.cursor_height =3D descp->hw_cursor_h; =20 ddev->mode_config.helper_private =3D &lsdc_mode_config_helper_funcs; --=20 2.25.1