Re: [PATCH v15 1/2] drm: Add kms driver for loongson display controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 2023/6/19 17:18, Huacai Chen wrote:
In my opinion we needn't know the cpu type in a GPU driver, remove
this can also remove ifdefs (and lsdc_probe.c/lsdc_probe.h can be
removed). Meanwhile, lsdc_identify() can do something to identify GPU,
not CPU.

Loongson Display controller don't has a valid register to record the revision/model information.

There a lot of the drm drivers which identify CPUs (such as i915).

We may  want to write SIMD accelerated memcpy for the TTM move function in the future.

Before we do these, we need to know what's the arch, did the unaligned access is supported by the hardware.

did the SIMD(MSA or LASX) get supported by both the kernel and GCC compiler.


--
Jingfeng




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux