diff options
author | Anusha Srivatsa <[email protected]> | 2016-10-14 16:47:05 -0700 |
---|---|---|
committer | Paulo Zanoni <[email protected]> | 2016-10-18 10:30:00 -0200 |
commit | 21e33021a7cfa3a9e402a58cd44fd781d97466f2 (patch) | |
tree | ae4adb617635f75ebdaffe9f6f8babc73e346e68 /lib/memory-notifier-error-inject.c | |
parent | 910530c0630541aa5d2f20ea15f3108bfe2c1693 (diff) |
drm/i915/guc: Sanitory checks for platform that dont have GuC
i915.enable_guc_loading/submission=2 forces the usage of GuC.
For platforms that do not have a GuC, asking the kernel to use a GuC
should not result in an error state. Do extra checks to see if the
platform even has a GuC or not, regardless of the kernel parameter.
v2: Based on Rodrigo's patch and Paulo's suggestion(Paulo, Rodrigo)
v3: Correct the Indentation(Jani, Paulo)
v4: Added the blank line(Jani, Paulo)
v5 (from Paulo): Remove the extra blank line.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97573
Cc: Rodrigo Vivi <[email protected]>
Cc: Zanoni Paulo <[email protected]>
Cc: Jani Nikula <[email protected]>
Reviewed-by: Paulo Zanoni <[email protected]>
Signed-off-by: Anusha Srivatsa <[email protected]>
Signed-off-by: Paulo Zanoni <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions