[PATCH] drm: Harmonize CIK ASIC support in radeon and amdgpu (v2)

Michel Dänzer michel at daenzer.net
Wed Apr 26 09:17:12 UTC 2017


On 26/04/17 03:06 AM, Nicolai Hähnle wrote:
> On 25.04.2017 08:28, Michel Dänzer wrote:
>> On 22/04/17 02:05 AM, Felix Kuehling wrote:
>>
>> So, I'm starting to think we need a shared module for this, which
>> provides one or multiple module parameters to choose which driver to use
>> for CIK/SI[0], and provides the result to the amdgpu/radeon drivers.
>> That might make things easier for amdgpu-pro / other standalone amdgpu
>> versions in the long run as well, as they could add files to
>> /etc/modprobe.d/ choosing themselves by default, without having to
>> blacklist radeon.
>>
>> What do you guys think?
> 
> I suspect that adding an entire module

That sounds quite dramatic. :) Which particular aspect(s) of that are
you concerned about?


> just to select between two other modules

FWIW, I suspect that could actually end up smaller overall than the
alternatives we've discussed at least by some metrics.

And maybe this module could be used for sharing / coordinating more
stuff between the drivers in the future.


> is the kind of thing that should be discussed in a wider audience first.

I'd like to have at least a proof of concept before that.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer



More information about the amd-gfx mailing list