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:
+
+static void __gfxpll_rreg(struct loongson_gfxpll *this,
+                         union loongson_gfxpll_reg_bitmap *reg)
+{
+#if defined(CONFIG_64BIT)
+       reg->d = readq(this->mmio);
+#else
+       reg->w[0] = readl(this->mmio);
+       reg->w[1] = readl(this->mmio + 4);
+#endif
+}
We can only keep the 64bit version.

No, Intel's compilation test robot will complains when cross compile this driver for 32-bit CPUs.




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux