|
|
Chromium Code Reviews|
Created:
4 years, 2 months ago by Daniele Castagna Modified:
3 years, 11 months ago CC:
chromium-reviews, kalyank, ozone-reviews_chromium.org Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
Descriptionozone: Pick CRTCs with majority of planes.
When we pick a CRTC to use for a Display, we should prioritize
CRTCs that support the majority of overlays.
This CL also sorts the connectors before assigning CRTCs. If
a connector A supports only a subset of CRTCs supported
by connector B, A should be processed first.
BUG=675755
Committed: https://crrev.com/93a8c0a676c220b4031af879a2691cb96f053480
Cr-Original-Commit-Position: refs/heads/master@{#439248}
Review-Url: https://codereview.chromium.org/2420083003
Cr-Commit-Position: refs/heads/master@{#442472}
Committed: https://chromium.googlesource.com/chromium/src/+/dcb4b63e4b07bf55e5ad9c20e9346e42c7eeba84
Patch Set 1 #Patch Set 2 : Fix typos. #Patch Set 3 : Don't preserve encoder. Sort connectors. #Patch Set 4 : Compute connector index. #Patch Set 5 : Include algorithm. #Patch Set 6 : Reverse connector sort order. Breaks mirroring. #Patch Set 7 : Prefer already set crtc. #
Total comments: 1
Messages
Total messages: 39 (26 generated)
The CQ bit was checked by dcastagna@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by dcastagna@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== ozone: Pick CRTCs with majority of planes. When we pick a CRTC to use with a Display, we should prioritize CRTCs that support overlays. BUG= ========== to ========== ozone: Pick CRTCs with majority of planes. When we pick a CRTC to use for a Display, we should prioritize CRTCs that support the majority of overlays. BUG= ==========
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Patchset #3 (id:40001) has been deleted
Description was changed from ========== ozone: Pick CRTCs with majority of planes. When we pick a CRTC to use for a Display, we should prioritize CRTCs that support the majority of overlays. BUG= ========== to ========== ozone: Pick CRTCs with majority of planes. When we pick a CRTC to use for a Display, we should prioritize CRTCs that support the majority of overlays. This CL also sorts the connectors before assigning CRTCs. If a connector A supports only a subset of CRTCs supported by connector B, A should be processed first. BUG= ==========
Patchset #6 (id:120001) has been deleted
dcastagna@chromium.org changed reviewers: + dnicoara@chromium.org
dcastagna@chromium.org changed reviewers: + hoegsberg@chromium.org
I waited a little to send this out since every time I tested this it was hitting a DCHECK in ash. That DCHECK should be fixed with https://codereview.chromium.org/2557593009/
lgtm
crbug.com/671293 has been fixed. Landing this now.
The CQ bit was checked by dcastagna@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 140001, "attempt_start_ts": 1481927683108150,
"parent_rev": "4ad81d064676293fc00fa5a8faaa2a08addf0ea1", "commit_rev":
"4dd7f8b73501ad3d17d5ac95ee3de93c50587f9b"}
Message was sent while issue was closed.
Description was changed from ========== ozone: Pick CRTCs with majority of planes. When we pick a CRTC to use for a Display, we should prioritize CRTCs that support the majority of overlays. This CL also sorts the connectors before assigning CRTCs. If a connector A supports only a subset of CRTCs supported by connector B, A should be processed first. BUG= ========== to ========== ozone: Pick CRTCs with majority of planes. When we pick a CRTC to use for a Display, we should prioritize CRTCs that support the majority of overlays. This CL also sorts the connectors before assigning CRTCs. If a connector A supports only a subset of CRTCs supported by connector B, A should be processed first. BUG= Review-Url: https://codereview.chromium.org/2420083003 ==========
Message was sent while issue was closed.
Committed patchset #6 (id:140001)
Message was sent while issue was closed.
Description was changed from ========== ozone: Pick CRTCs with majority of planes. When we pick a CRTC to use for a Display, we should prioritize CRTCs that support the majority of overlays. This CL also sorts the connectors before assigning CRTCs. If a connector A supports only a subset of CRTCs supported by connector B, A should be processed first. BUG= Review-Url: https://codereview.chromium.org/2420083003 ========== to ========== ozone: Pick CRTCs with majority of planes. When we pick a CRTC to use for a Display, we should prioritize CRTCs that support the majority of overlays. This CL also sorts the connectors before assigning CRTCs. If a connector A supports only a subset of CRTCs supported by connector B, A should be processed first. BUG= Committed: https://crrev.com/93a8c0a676c220b4031af879a2691cb96f053480 Cr-Commit-Position: refs/heads/master@{#439248} ==========
Message was sent while issue was closed.
Patchset 6 (id:??) landed as https://crrev.com/93a8c0a676c220b4031af879a2691cb96f053480 Cr-Commit-Position: refs/heads/master@{#439248}
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:140001) has been created in https://codereview.chromium.org/2597683002/ by dcastagna@chromium.org. The reason for reverting is: Reverting since it broke initial modesetting on some devcies: crbug.com/675755.
Message was sent while issue was closed.
Description was changed from ========== ozone: Pick CRTCs with majority of planes. When we pick a CRTC to use for a Display, we should prioritize CRTCs that support the majority of overlays. This CL also sorts the connectors before assigning CRTCs. If a connector A supports only a subset of CRTCs supported by connector B, A should be processed first. BUG= Committed: https://crrev.com/93a8c0a676c220b4031af879a2691cb96f053480 Cr-Commit-Position: refs/heads/master@{#439248} ========== to ========== ozone: Pick CRTCs with majority of planes. When we pick a CRTC to use for a Display, we should prioritize CRTCs that support the majority of overlays. This CL also sorts the connectors before assigning CRTCs. If a connector A supports only a subset of CRTCs supported by connector B, A should be processed first. BUG=675755 Committed: https://crrev.com/93a8c0a676c220b4031af879a2691cb96f053480 Cr-Commit-Position: refs/heads/master@{#439248} ==========
The CQ bit was checked by dcastagna@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Kristian, with the last change cyan modesets just fine. I checked on kevin and it works as we expect too. WDYT? Are you OK landing this or do you prefer to put the new logic behind a flag? https://codereview.chromium.org/2420083003/diff/160001/ui/ozone/platform/drm/... File ui/ozone/platform/drm/common/drm_util.cc (right): https://codereview.chromium.org/2420083003/diff/160001/ui/ozone/platform/drm/... ui/ozone/platform/drm/common/drm_util.cc:75: uint32_t assigned_crtc = 0; Added logic to prefer an already set crtc in case it has the same number of planes as another one.
hoegsberg@google.com changed reviewers: + hoegsberg@google.com
lgtm
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
The CQ bit was checked by dcastagna@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from dnicoara@chromium.org Link to the patchset: https://codereview.chromium.org/2420083003/#ps160001 (title: "Prefer already set crtc.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 160001, "attempt_start_ts": 1484017890639360,
"parent_rev": "c427878ae12fc982f57cae379f6e21980a8cefcc", "commit_rev":
"dcb4b63e4b07bf55e5ad9c20e9346e42c7eeba84"}
Message was sent while issue was closed.
Description was changed from ========== ozone: Pick CRTCs with majority of planes. When we pick a CRTC to use for a Display, we should prioritize CRTCs that support the majority of overlays. This CL also sorts the connectors before assigning CRTCs. If a connector A supports only a subset of CRTCs supported by connector B, A should be processed first. BUG=675755 Committed: https://crrev.com/93a8c0a676c220b4031af879a2691cb96f053480 Cr-Commit-Position: refs/heads/master@{#439248} ========== to ========== ozone: Pick CRTCs with majority of planes. When we pick a CRTC to use for a Display, we should prioritize CRTCs that support the majority of overlays. This CL also sorts the connectors before assigning CRTCs. If a connector A supports only a subset of CRTCs supported by connector B, A should be processed first. BUG=675755 Committed: https://crrev.com/93a8c0a676c220b4031af879a2691cb96f053480 Cr-Original-Commit-Position: refs/heads/master@{#439248} Review-Url: https://codereview.chromium.org/2420083003 Cr-Commit-Position: refs/heads/master@{#442472} Committed: https://chromium.googlesource.com/chromium/src/+/dcb4b63e4b07bf55e5ad9c20e934... ==========
Message was sent while issue was closed.
Committed patchset #7 (id:160001) as https://chromium.googlesource.com/chromium/src/+/dcb4b63e4b07bf55e5ad9c20e934... |
