Commit a40e65f
committed
drm/gem-framebuffer: Don't validate buffer size when non-linear
pitch*height does not necessarily equate to buffer size if the
buffer is non-linear, so the buffer validation is invalid.
Disable it for non-linear buffers.
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>1 parent 71f493d commit a40e65f
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
185 | 188 | | |
186 | 189 | | |
187 | 190 | | |
| |||
0 commit comments