mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-14 01:34:43 +08:00
drm/i915: Do not use a bitfield for INTEL_INFO->num_pipes
It just makes more work for the compiler and generates more code. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
7e22dbbbae
commit
ac208a8b9a
@ -758,7 +758,7 @@ struct intel_csr {
|
||||
struct intel_device_info {
|
||||
u32 display_mmio_offset;
|
||||
u16 device_id;
|
||||
u8 num_pipes:3;
|
||||
u8 num_pipes;
|
||||
u8 num_sprites[I915_MAX_PIPES];
|
||||
u8 gen;
|
||||
u16 gen_mask;
|
||||
|
Loading…
Reference in New Issue
Block a user