Re: [06/14] drm/ast: Set PCI config before accessing I/O registers

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

 



Hi,

On 2023/6/19 16:16, Thomas Zimmermann wrote:
Although cosmetical, I'm not so super-happy about the specs disagreeing here:
[...]
PCI tends to treat status and command as separate 16-bit regs, while the AST spec treats it as one 32-bit register.


I don't know this hardware constrain before,

but what's problem if we switch to using pci_read_config_word() function ?


I have tried this function on other platform, no problem.

I will go to test this function on my AST 2400 discrete card again, wait a while :-).

If there are hardware defect, I don't mind you keep using pci_read_config_dword().

--
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