diff options
| author | Anshuman Gupta <[email protected]> | 2020-02-26 22:05:17 +0530 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2020-02-28 15:40:46 +0200 |
| commit | 6875eb3ff5a37b73cd59bb6dcb6828ade1f62e66 (patch) | |
| tree | af220132706c3c7af087a7d5b4838e00c51df3c6 /tools/perf/scripts | |
| parent | d22d2d073ef859b346bc32cb25299262e3973769 (diff) | |
drm/i915: Fix wrongly populated plane possible_crtcs bit mask
As a disabled pipe in pipe_mask is not having a valid intel crtc,
driver wrongly populates the possible_crtcs mask while initializing
the plane for a CRTC. Fixing up the plane possible_crtcs mask.
changes since RFC:
- Simplify the possible_crtcs initialization. [Ville]
v2:
- Removed the unnecessary stack garbage possible_crtcs to
drm_universal_plane_init. [Ville]
v3:
- Combine the intel_crtc assignment and declaration. [Ville]
v4:
- Fix possible_crtcs abused bits from
intel_{primary,curosr,sprite}_plane_create(). [Ville]
Cc: Ville Syrjälä <[email protected]>
Signed-off-by: Anshuman Gupta <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions