[PATCH v1] Support Intel Xe GPU dirver Porting on RISC-V Architecture

zhangzhijie zhangzhijie at bosc.ac.cn
Wed Jul 16 07:00:33 UTC 2025



在 2025/7/16 12:19, Simon Richter 写道:
> Hi,
> 
> On 7/15/25 15:18, zhangzhijie wrote:
> 
>>      inb/outb speccial wire not support on other ARCH.
>> Should detect whether arch platform support or not.
> 
> Are you sure these aren't memory mapped?
Hi, Simon
	yes, few arch not has this memory map(SVGAlib.) on .
> 
> E.g. POWER defines a global variable with the base of the PCI mapped 
> area, uses that in the inb/outb macros to generate loads/stores, and 
> configures the root complex to forward accesses to the first 256 bytes 
> as I/O TLPs.
> 
> Bridges have special handling for VGA addresses, so they can be 
> forwarded even if no I/O ranges exist.
> 
> Also, this code is probably not used in the Xe driver -- the only VGA 
> accesses performed here are a palette read and subsequent write of the 
> same value, which is needed for some reason after turning off a voltage 
> regulator[1]. If the legacy ports in your system are mapped properly, 
> then you might not even run into that problem.
> 
>     Simon
> 
> [1] https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/1824
	Got that same with issue link. thanks
	I have question that will VGA_CONSOLE support on non-x64 architecture? 
using CONFIG_X86/X86_64 means only support for X86 archtecture

Regards.
ZhiJie


More information about the Intel-xe mailing list