Repository navigation
Commit f37b5c2
drm/i915: Align initial plane backing objects correctly
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>1 parent 2dd2a88 commit f37b5c2
2 files changed
Lines changed: 14 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
485 | 485 | | |
486 | 486 | | |
487 | 487 | | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
| 488 | + | |
| 489 | + | |
492 | 490 | | |
493 | 491 | | |
494 | 492 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2371 | 2371 | | |
2372 | 2372 | | |
2373 | 2373 | | |
2374 | | - | |
| 2374 | + | |
| 2375 | + | |
| 2376 | + | |
| 2377 | + | |
| 2378 | + | |
2375 | 2379 | | |
2376 | 2380 | | |
2377 | 2381 | | |
2378 | 2382 | | |
2379 | | - | |
2380 | | - | |
| 2383 | + | |
| 2384 | + | |
| 2385 | + | |
| 2386 | + | |
2381 | 2387 | | |
2382 | 2388 | | |
2383 | 2389 | | |
| |||
6636 | 6642 | | |
6637 | 6643 | | |
6638 | 6644 | | |
6639 | | - | |
| 6645 | + | |
6640 | 6646 | | |
6641 | 6647 | | |
6642 | 6648 | | |
| |||
7673 | 7679 | | |
7674 | 7680 | | |
7675 | 7681 | | |
7676 | | - | |
| 7682 | + | |
7677 | 7683 | | |
7678 | 7684 | | |
7679 | 7685 | | |
| |||
7764 | 7770 | | |
7765 | 7771 | | |
7766 | 7772 | | |
7767 | | - | |
| 7773 | + | |
7768 | 7774 | | |
7769 | 7775 | | |
7770 | 7776 | | |
| |||
0 commit comments