[PATCH 1/3] drm/radeon: Make CIK support in Radeon conditional (v2)
Felix Kuehling
felix.kuehling at amd.com
Mon Apr 10 20:09:09 UTC 2017
On 17-04-10 02:50 PM, Alex Deucher wrote:
> On Mon, Apr 10, 2017 at 2:13 PM, Felix Kuehling <felix.kuehling at amd.com> 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
More information about the amd-gfx
mailing list