diff options
author | Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> | 2021-01-21 16:19:35 +0000 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2021-01-26 15:45:54 +0200 |
commit | 8f6d08c9af284d74276da6681348e4673f13caea (patch) | |
tree | 0bf8377dc63ab385d10e7f630b7a6352e44ef832 /fs/select.c | |
parent | a2a5f5628e5494ca9353f761f7fe783dfa82fb9a (diff) | |
download | linux-stable-8f6d08c9af284d74276da6681348e4673f13caea.tar.gz linux-stable-8f6d08c9af284d74276da6681348e4673f13caea.tar.bz2 linux-stable-8f6d08c9af284d74276da6681348e4673f13caea.zip |
drm/i915: Check for all subplatform bits
Current code is checking only 2 bits in the subplatform, but actually 3
bits are allocated for the field. Check all 3 bits.
Fixes: 805446c8347c ("drm/i915: Introduce concept of a sub-platform")
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20210121161936.746591-1-tvrtko.ursulin@linux.intel.com
(cherry picked from commit 27b695ee1af9bb36605e67055874ec081306ac28)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'fs/select.c')
0 files changed, 0 insertions, 0 deletions