[gfx] Rename IsValidBufferFormat to IsValidDrmFormat [chromium/src : main]

0 views
Skip to first unread message

Saifuddin Hitawala (Gerrit)

unread,
Feb 9, 2026, 9:30:59 AM (11 days ago) Feb 9
to Colin Blundell, Chromium LUCI CQ, chromium...@chromium.org, max+watc...@igalia.com, nickdiego+wa...@igalia.com, ozone-...@chromium.org
Attention needed from Colin Blundell

Saifuddin Hitawala added 1 comment

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Saifuddin Hitawala . resolved

Please take a look.

Open in Gerrit

Related details

Attention is currently required from:
  • Colin Blundell
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I5d08cba8115d984e1b168c067a0251ad58b895d4
Gerrit-Change-Number: 7558691
Gerrit-PatchSet: 1
Gerrit-Owner: Saifuddin Hitawala <hita...@chromium.org>
Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
Gerrit-Reviewer: Saifuddin Hitawala <hita...@chromium.org>
Gerrit-Attention: Colin Blundell <blun...@chromium.org>
Gerrit-Comment-Date: Mon, 09 Feb 2026 14:30:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Colin Blundell (Gerrit)

unread,
Feb 9, 2026, 9:32:34 AM (11 days ago) Feb 9
to Saifuddin Hitawala, Colin Blundell, Chromium LUCI CQ, chromium...@chromium.org, max+watc...@igalia.com, nickdiego+wa...@igalia.com, ozone-...@chromium.org
Attention needed from Saifuddin Hitawala

Colin Blundell voted and added 2 comments

Votes added by Colin Blundell

Code-Review+1

2 comments

Patchset-level comments
Colin Blundell . resolved

Thanks!

File ui/ozone/platform/wayland/host/wayland_buffer_manager_host.cc
Line 360, Patchset 1 (Latest): reason = "Buffer format is invalid";
Colin Blundell . unresolved

nit: update

Open in Gerrit

Related details

Attention is currently required from:
  • Saifuddin Hitawala
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I5d08cba8115d984e1b168c067a0251ad58b895d4
Gerrit-Change-Number: 7558691
Gerrit-PatchSet: 1
Gerrit-Owner: Saifuddin Hitawala <hita...@chromium.org>
Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
Gerrit-Reviewer: Saifuddin Hitawala <hita...@chromium.org>
Gerrit-Attention: Saifuddin Hitawala <hita...@chromium.org>
Gerrit-Comment-Date: Mon, 09 Feb 2026 14:32:16 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Saifuddin Hitawala (Gerrit)

unread,
Feb 9, 2026, 9:35:52 AM (11 days ago) Feb 9
to Colin Blundell, Chromium LUCI CQ, chromium...@chromium.org, max+watc...@igalia.com, nickdiego+wa...@igalia.com, ozone-...@chromium.org

Saifuddin Hitawala voted and added 2 comments

Votes added by Saifuddin Hitawala

Commit-Queue+2

2 comments

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Saifuddin Hitawala . resolved

Thanks for the quick review!

File ui/ozone/platform/wayland/host/wayland_buffer_manager_host.cc
Line 360, Patchset 1: reason = "Buffer format is invalid";
Colin Blundell . resolved

nit: update

Saifuddin Hitawala

Nice, done!

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I5d08cba8115d984e1b168c067a0251ad58b895d4
    Gerrit-Change-Number: 7558691
    Gerrit-PatchSet: 2
    Gerrit-Owner: Saifuddin Hitawala <hita...@chromium.org>
    Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
    Gerrit-Reviewer: Saifuddin Hitawala <hita...@chromium.org>
    Gerrit-Comment-Date: Mon, 09 Feb 2026 14:35:46 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Colin Blundell <blun...@chromium.org>
    satisfied_requirement
    open
    diffy

    Saifuddin Hitawala (Gerrit)

    unread,
    Feb 9, 2026, 11:38:17 AM (11 days ago) Feb 9
    to Colin Blundell, Chromium LUCI CQ, chromium...@chromium.org, max+watc...@igalia.com, nickdiego+wa...@igalia.com, ozone-...@chromium.org

    Saifuddin Hitawala voted Commit-Queue+2

    Commit-Queue+2
    Open in Gerrit

    Related details

    Attention set is empty
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I5d08cba8115d984e1b168c067a0251ad58b895d4
    Gerrit-Change-Number: 7558691
    Gerrit-PatchSet: 2
    Gerrit-Owner: Saifuddin Hitawala <hita...@chromium.org>
    Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
    Gerrit-Reviewer: Saifuddin Hitawala <hita...@chromium.org>
    Gerrit-Comment-Date: Mon, 09 Feb 2026 16:38:13 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Chromium LUCI CQ (Gerrit)

    unread,
    Feb 9, 2026, 11:41:47 AM (11 days ago) Feb 9
    to Saifuddin Hitawala, Colin Blundell, chromium...@chromium.org, max+watc...@igalia.com, nickdiego+wa...@igalia.com, ozone-...@chromium.org

    Chromium LUCI CQ submitted the change with unreviewed changes

    Unreviewed changes

    1 is the latest approved patch-set.
    The change was submitted with unreviewed changes in the following files:

    ```
    The name of the file: ui/ozone/platform/wayland/host/wayland_buffer_manager_host.cc
    Insertions: 1, Deletions: 1.

    @@ -357,7 +357,7 @@
    }

    if (!IsValidDrmFormat(format)) {
    - reason = "Buffer format is invalid";
    + reason = "Drm format is invalid";
    }

    if (!reason.empty()) {
    ```

    Change information

    Commit message:
    [gfx] Rename IsValidBufferFormat to IsValidDrmFormat

    Since we have removed BufferFormats, to avoid any confusion that
    this method is related to BufferFormat this change renames method to
    IsValidDrmFormat which is also a much better name for it.
    Bug: 356649879
    Change-Id: I5d08cba8115d984e1b168c067a0251ad58b895d4
    Reviewed-by: Colin Blundell <blun...@chromium.org>
    Commit-Queue: Saifuddin Hitawala <hita...@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1581785}
    Files:
    • M gpu/command_buffer/service/raster_decoder.cc
    • M ui/gfx/linux/drm_util_linux.cc
    • M ui/gfx/linux/drm_util_linux.h
    • M ui/ozone/platform/drm/gpu/hardware_display_plane_manager.cc
    • M ui/ozone/platform/wayland/host/wayland_buffer_manager_host.cc
    • M ui/ozone/platform/wayland/host/wayland_drm.cc
    • M ui/ozone/platform/wayland/host/wayland_zwp_linux_dmabuf.cc
    Change size: S
    Delta: 7 files changed, 12 insertions(+), 10 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Colin Blundell
    Open in Gerrit
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: merged
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I5d08cba8115d984e1b168c067a0251ad58b895d4
    Gerrit-Change-Number: 7558691
    Gerrit-PatchSet: 3
    Gerrit-Owner: Saifuddin Hitawala <hita...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
    Gerrit-Reviewer: Saifuddin Hitawala <hita...@chromium.org>
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages