intel: Load the driver even if I915_PARAM_REVISION is not found.
authorRafael Antognolli <rafael.antognolli@intel.com>
Mon, 19 Aug 2019 19:28:55 +0000 (12:28 -0700)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 6 Feb 2020 07:46:51 +0000 (09:46 +0200)
commit4aa7af9e9a4c19e10afaf4a3c756e62cf4d352c3
tree39aaf12bce372d8b1ce348e7eb285d5e78e6debb
parent20bcbcd958967f2f5bdb560951c70c71d0939329
intel: Load the driver even if I915_PARAM_REVISION is not found.

This param is only available starting on kernel 4.1. Use a default
value of 0 if it is not found instead.

v2: Update commit message (Lionel)

Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Mark Janes <mark.a.janes@intel.com>
Fixes: 96e1c945f2b ("i965: Move device info initialization to common
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3727>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3727>
src/intel/dev/gen_device_info.c