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

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

 



On 17-04-11 10:23 PM, Michel Dänzer wrote:
> One possibility would be making each driver also parse the other
> driver's module parameter on the kernel command line. I.e. radeon would
> parse
>
>  amdgpu.enable_cik=0
I looked for a way to do this. I think I figured out the parsing part.
But I can't see where to get the kernel command line from. The command
line that is parsed by modules in load_module comes from user mode, and
I think it's pre-processed by modprobe to strip the "<module>." prefix
and only include the module-specific options.

There is a global variable saved_command_line, which is what's used for
/proc/cmdline. But that variable is not exported to modules.

Regards,
  Felix


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

  Powered by Linux