projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e22dbb
)
drm/i915: Do not use a bitfield for INTEL_INFO->num_pipes
author
Tvrtko Ursulin
<tvrtko.ursulin@intel.com>
Tue, 10 May 2016 09:57:07 +0000
(10:57 +0100)
committer
Tvrtko Ursulin
<tvrtko.ursulin@intel.com>
Wed, 11 May 2016 11:27:28 +0000
(12:27 +0100)
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>
drivers/gpu/drm/i915/i915_drv.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_drv.h
b/drivers/gpu/drm/i915/i915_drv.h
index f33b2e6850e241564fde78573aee4c6ee3ae863d..43d788438cc3543344435f76aa3476083898b7d0 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_drv.h
+++ b/
drivers/gpu/drm/i915/i915_drv.h
@@
-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;