[PATCH 1/3] drm/radeon: Make CIK support in Radeon conditional (v2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux