On 17-04-10 02:50 PM, Alex Deucher wrote:
> On Mon, Apr 10, 2017 at 2:13 PM, Felix Kuehling <[email protected]>
> wrote:
>>
>> Are there any other ideas or requests, before I go spend more time on this?
>
> In the short term, it would probably be good to just have a tri-state option:
> 1. only radeon
> 2. only amdgpu
> 3. both
>
> I don't think there is a good automagic option.
As I understand it, tristate options are for Yes/No/Module choices.
Were you thinking of something like this?
choice DRM_CIK_SUPPORT
prompt "Support for AMD CIK ASICs"
depends on DRM_AMDGPU || DRM_RADEON
config DRM_CIK_RADEON
bool "Radeon"
depends on DRM_RADEON
config DRM_CIK_AMDGPU
bool "AMDGPU"
depends on DRM_AMDGPU
config DRM_CIK_BOTH_DEFAULT_RADEON
bool "Both, use Radeon by default"
depends on DRM_AMDGPU && DRM_RADEON
config DRM_CIK_BOTH_DEFAULT_AMDGPU
bool "Both, use AMDGPU by default"
depends on DRM_AMDGPU && DRM_RADEON
endchoice
Regards,
Felix
>
> Alex
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx