RE: Request for Information on the current drm radeon Atomic Mode Settings

2024-05-17 Thread Deucher, Alexander
[Public]

The radeon driver does not support atomic modesetting.  It was largely written 
before atomic existed.  Converting it to atomic would be a substantial 
undertaking that would potentially regress a lot of really old chips.  Radeon 
supports hardware that is 25+ years old at this point.

Alex

From: Mauro Rossi 
Sent: Friday, May 17, 2024 7:28 AM
To: amd-gfx list 
Cc: Deucher, Alexander ; l...@kernel.org; Michael 
Goffioul ; Jon West ; 
youling 257 
Subject: Re: Request for Information on the current drm radeon Atomic Mode 
Settings

Cc: correct email address of Lee Jones, just For Your Information

Updated [2] link URL because HWC3 in Celadon was moved to project Celadon 
drm-hwcomposer local branch on yesterday

The request for information on drm radeon atomic modesettings is confirmed

Mauro

On Fri, May 17, 2024 at 8:31 AM Mauro Rossi 
mailto:issor.or...@gmail.com>> wrote:
Hi all,

with Android 14 QPR2 there were substantial changes in graphic stack's Android 
HAL (Hardware Abstraction Layer),
essentially it became mandatory that hwcomposer HAL module supports AIDL 
Android Interface Definition Language,

at the moment drm_hwcomposer does not support AIDL [1]

Project Celadon has an HWC3 AIDL implemented [2], as a patch on top of 
hardware/interface AOSP project, there is an opportunity to use it also for non 
Intel GPUs.

drm amdpu in kernel already supports ADF Atomic Display Framework, I would like 
to ask the current status of Atomic Display Framework in drm radeon, because 
Atomic Mode Settings seems partially implemented since 2010-2012, but ADF 
capabilities are not exposed to user space.

Please, I also need some basic (high level) information about the outstanding 
changes that would be required to support it, in order to be able to use HWC3 
-> drm_hwcomposer with r600, r300 chipsets.

Thanks for your informations

Mauro
android-x86 team/Bliss-OS community

[1] https://gitlab.freedesktop.org/drm-hwcomposer/drm-hwcomposer/-/issues/80
[2] 
https://github.com/projectceladon/vendor-intel-utils/blob/master/aosp_diff/preliminary/hardware/interfaces/11_0001-Enable-graphics.composer3-AIDL-HAL-service.patch

[2] 
https://github.com/projectceladon/drm-hwcomposer/commit/1160cdfb53daebf59f3704ec9586c66385e63747


Re: Request for Information on the current drm radeon Atomic Mode Settings

2024-05-17 Thread Mauro Rossi
Cc: correct email address of Lee Jones, just For Your Information

Updated [2] link URL because HWC3 in Celadon was moved to project Celadon
drm-hwcomposer local branch on yesterday

The request for information on drm radeon atomic modesettings is confirmed

Mauro

On Fri, May 17, 2024 at 8:31 AM Mauro Rossi  wrote:

> Hi all,
>
> with Android 14 QPR2 there were substantial changes in graphic stack's
> Android HAL (Hardware Abstraction Layer),
> essentially it became mandatory that hwcomposer HAL module supports AIDL
> Android Interface Definition Language,
>
> at the moment drm_hwcomposer does not support AIDL [1]
>
> Project Celadon has an HWC3 AIDL implemented [2], as a patch on top of
> hardware/interface AOSP project, there is an opportunity to use it also for
> non Intel GPUs.
>
> drm amdpu in kernel already supports ADF Atomic Display Framework, I would
> like to ask the current status of Atomic Display Framework in drm radeon,
> because Atomic Mode Settings seems partially implemented since 2010-2012,
> but ADF capabilities are not exposed to user space.
>
> Please, I also need some basic (high level) information about the
> outstanding changes that would be required to support it, in order to be
> able to use HWC3 -> drm_hwcomposer with r600, r300 chipsets.
>
> Thanks for your informations
>
> Mauro
> android-x86 team/Bliss-OS community
>
> [1]
> https://gitlab.freedesktop.org/drm-hwcomposer/drm-hwcomposer/-/issues/80
> [2]
> https://github.com/projectceladon/vendor-intel-utils/blob/master/aosp_diff/preliminary/hardware/interfaces/11_0001-Enable-graphics.composer3-AIDL-HAL-service.patch
>

[2]
https://github.com/projectceladon/drm-hwcomposer/commit/1160cdfb53daebf59f3704ec9586c66385e63747


Request for Information on the current drm radeon Atomic Mode Settings

2024-05-17 Thread Mauro Rossi
Hi all,

with Android 14 QPR2 there were substantial changes in graphic stack's
Android HAL (Hardware Abstraction Layer),
essentially it became mandatory that hwcomposer HAL module supports AIDL
Android Interface Definition Language,

at the moment drm_hwcomposer does not support AIDL [1]

Project Celadon has an HWC3 AIDL implemented [2], as a patch on top of
hardware/interface AOSP project, there is an opportunity to use it also for
non Intel GPUs.

drm amdpu in kernel already supports ADF Atomic Display Framework, I would
like to ask the current status of Atomic Display Framework in drm radeon,
because Atomic Mode Settings seems partially implemented since 2010-2012,
but ADF capabilities are not exposed to user space.

Please, I also need some basic (high level) information about the
outstanding changes that would be required to support it, in order to be
able to use HWC3 -> drm_hwcomposer with r600, r300 chipsets.

Thanks for your informations

Mauro
android-x86 team/Bliss-OS community

[1] https://gitlab.freedesktop.org/drm-hwcomposer/drm-hwcomposer/-/issues/80
[2]
https://github.com/projectceladon/vendor-intel-utils/blob/master/aosp_diff/preliminary/hardware/interfaces/11_0001-Enable-graphics.composer3-AIDL-HAL-service.patch