Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: zhangzhijie <zhangzhijie@bosc.ac.cn>
To: Simon Richter <Simon.Richter@hogyros.de>,
	wangran@bosc.ac.cn, zhangjian@bosc.ac.cn,
	intel-xe@lists.freedesktop.org
Subject: Re: [PATCH v1] Support Intel Xe GPU dirver Porting on RISC-V Architecture
Date: Wed, 16 Jul 2025 15:00:33 +0800	[thread overview]
Message-ID: <be9ebefe-ddee-4c67-9d72-dc9b67fae6f9@bosc.ac.cn> (raw)
In-Reply-To: <60c7bebe-8bfa-4f33-ad9a-a4b366b46157@hogyros.de>



在 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

  reply	other threads:[~2025-07-17 14:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-15  6:18 [PATCH v1] Support Intel Xe GPU dirver Porting on RISC-V Architecture zhangzhijie
2025-07-15 20:42 ` ✗ LGCI.VerificationFailed: failure for " Patchwork
2025-07-16  4:19 ` [PATCH v1] " Simon Richter
2025-07-16  7:00   ` zhangzhijie [this message]
2025-07-17  5:14     ` Simon Richter
2025-10-30  1:50 ` Jeff Geerling
2025-10-30  1:51 ` Jeff Geerling
2025-10-30  1:55 ` Jeff Geerling
2025-10-30  3:28   ` ZhangZhiJie
2025-10-30 13:34 ` Jani Nikula

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=be9ebefe-ddee-4c67-9d72-dc9b67fae6f9@bosc.ac.cn \
    --to=zhangzhijie@bosc.ac.cn \
    --cc=Simon.Richter@hogyros.de \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=wangran@bosc.ac.cn \
    --cc=zhangjian@bosc.ac.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox