Alex Dai 463704d07f drm/i915/guc: Add GuC ADS - scheduler policies
GuC supports different scheduling policies for its four internal
queues. Currently these have been set to the same default values
as KMD_NORMAL queue.

Particularly POLICY_MAX_NUM_WI is set to 15 to match GuC internal
maximum submit queue numbers to avoid an out-of-space problem.
This value indicates max number of work items allowed to be queued
for one DPC process. A smaller value will let GuC schedule more
frequently while a larger number may increase chances to optimize
cmds (such as collapse cmds from same lrc) with risks that keeps
CS idle.

v1: tidy up code

Signed-off-by: Alex Dai <yu.dai@intel.com>
Reviewed-by: Dave Gordon <david.s.gordon@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1450468812-4882-4-git-send-email-yu.dai@intel.com
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2016-01-05 11:33:40 +01:00
..
2015-12-08 11:04:26 +10:00
2015-11-05 11:07:13 +10:00
2015-12-08 11:04:26 +10:00
2015-12-08 11:04:26 +10:00
2015-12-08 11:04:26 +10:00
2015-12-08 11:04:26 +10:00
2015-10-19 11:00:44 +02:00
2015-12-08 11:04:26 +10:00
2015-09-30 10:44:48 +02:00
2015-09-30 10:44:48 +02:00
2015-09-24 17:18:41 +02:00
2015-12-08 11:04:26 +10:00
2015-11-24 11:41:49 +01:00
2015-09-30 10:44:48 +02:00
2015-09-30 10:44:48 +02:00
2015-09-30 10:44:48 +02:00