Repository navigation
Commit 171c32b
drm/i915: Align initial plane backing objects correctly
[ Upstream commit f37b5c2 ]
Some bios really like to joke and start the planes at an offset ...
hooray!
Align start and end to fix this.
v2: Fixup calculation of size, spotted by Chris Wilson.
v3: Fix serious fumble I've just spotted.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=86883
Cc: stable@vger.kernel.org
Cc: Johannes W <jargon@molb.org>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Reported-and-tested-by: Johannes W <jargon@molb.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
[Jani: split WARN_ONs, rebase on v4.0-rc1]
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>1 parent fea8f8a commit 171c32b
2 files changed
Lines changed: 12 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
485 | 485 | | |
486 | 486 | | |
487 | 487 | | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
| 488 | + | |
492 | 489 | | |
493 | 490 | | |
494 | 491 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2358 | 2358 | | |
2359 | 2359 | | |
2360 | 2360 | | |
2361 | | - | |
| 2361 | + | |
| 2362 | + | |
| 2363 | + | |
| 2364 | + | |
| 2365 | + | |
2362 | 2366 | | |
2363 | 2367 | | |
2364 | 2368 | | |
2365 | 2369 | | |
2366 | | - | |
2367 | | - | |
| 2370 | + | |
| 2371 | + | |
| 2372 | + | |
| 2373 | + | |
2368 | 2374 | | |
2369 | 2375 | | |
2370 | 2376 | | |
| |||
6383 | 6389 | | |
6384 | 6390 | | |
6385 | 6391 | | |
6386 | | - | |
6387 | | - | |
| 6392 | + | |
6388 | 6393 | | |
6389 | 6394 | | |
6390 | 6395 | | |
| |||
7424 | 7429 | | |
7425 | 7430 | | |
7426 | 7431 | | |
7427 | | - | |
7428 | | - | |
| 7432 | + | |
7429 | 7433 | | |
7430 | 7434 | | |
7431 | 7435 | | |
| |||
0 commit comments