From: Ben Goz Date: Wed, 16 Jul 2014 21:48:28 +0000 (+0300) Subject: amdkfd: Add module parameter of scheduling policy X-Git-Tag: omap-for-v3.19/fixes-rc1~80^2~36^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31c21fece7a5f279ebdd1ee260493450017183f4;p=pandora-kernel.git amdkfd: Add module parameter of scheduling policy This patch adds a new parameter to the amdkfd driver. This parameter enables the user to select the scheduling policy of the CP. The choices are: * CP Scheduling with support for over-subscription * CP Scheduling without support for over-subscription * Without CP Scheduling Note that the third option (Without CP scheduling) is only for debug purposes and bringup of new H/W. As such, it is _not_ guaranteed to work at all times on all H/W versions. v3: Fixed description of parameter, changed the permissions to read_only, added a verification of the value and added documentation v5: Set default sched_policy to HWS as it is now supported by firmware Signed-off-by: Ben Goz Signed-off-by: Oded Gabbay --- Reading git-diff-tree failed