Re: [PATCH 3/3] drm/loongson: Refactor lsdc device initialize and the output port
From: Sui Jingfeng
Date: Thu May 16 2024 - 11:05:36 EST
Hi,
On 5/16/24 14:26, Markus Elfring wrote:
…
fullfill the implement under the new framework.
fulfil the implementation?
Please improve your change descriptions another bit.
OK, despite has a few typos. but the quality of the patch itself
can be guaranteed. The first version is mainly for preview purpose.
I'll fix the problem you mentioned at the next version, thanks for
reviewing.
I have tested this series before posting on ls3a6000+ls7a2000 PC:
$ dmesg | grep loongson:
[ 4.125926] loongson 0000:00:06.1: Found LS7A2000 bridge chipset,
revision: 2
[ 4.133035] loongson 0000:00:06.1: [drm] dc: 400MHz, gmc: 1200MHz,
gpu: 480MHz
[ 4.140215] loongson 0000:00:06.1: [drm] Dedicated vram start:
0xe0030000000, size: 256MiB
[ 4.148538] loongson 0000:00:06.1: [drm] VRAM: 16384 pages ready
[ 4.154506] loongson 0000:00:06.1: [drm] GTT: 32768 pages ready
[ 4.160410] loongson 0000:00:06.1: [drm] lsdc-i2c0(sda pin mask=1,
scl pin mask=2) created
[ 4.168638] loongson 0000:00:06.1: [drm] lsdc-i2c1(sda pin mask=4,
scl pin mask=8) created
[ 4.176938] loongson 0000:00:06.1: [drm] registered irq: 54
[ 4.189404] loongson 0000:00:06.1: [drm] Output port-0 bound, type:
HDMI-or-VGA-0
[ 4.196839] loongson 0000:00:06.1: bound lsdc-output-port.0 (ops
lsdc_output_port_component_ops)
[ 4.211629] loongson 0000:00:06.1: [drm] Output port-1 bound, type:
HDMI-1
[ 4.218459] loongson 0000:00:06.1: bound lsdc-output-port.1 (ops
lsdc_output_port_component_ops)
[ 4.227203] loongson 0000:00:06.1: [drm] Total 2 outputs
[ 4.272617] [drm] Initialized loongson 1.0.0 for 0000:00:06.1 on minor 0
[ 4.341588] loongson 0000:00:06.1: [drm] fb0: loongsondrmfb frame
buffer device
[ 4.348867] loongson 0000:00:06.1: loongson add component: 0
Regards,
Markus
--
Best regards
Sui