diff options
| author | Maxime Ripard <maxime.ripard@bootlin.com> | 2019-02-08 14:18:54 +0100 |
|---|---|---|
| committer | Paul Kocialkowski <paul.kocialkowski@bootlin.com> | 2019-02-11 10:53:07 +0100 |
| commit | d6e7907dcb71f97691f8bceb9b4206c077ff9802 (patch) | |
| tree | acbf0af294b0e9a014ac93397e52eb9b18857b7e /lib/intel_io.h | |
| parent | 77c6f0abef7136b45b32db4064531cd098de9f22 (diff) | |
igt: fb: Account for all planes bpp
When allocating a dumb buffer for a format with multiple plane, we need to
account for all plane's bpp in order to allocate the proper size.
Let's add all the planes bpp and use the result to allocate our buffer.
Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'lib/intel_io.h')
0 files changed, 0 insertions, 0 deletions
