public inbox for drm-ai-reviews@public-inbox.freedesktop.org
 help / color / mirror / Atom feed
From: Claude Code Review Bot <claude-review@example.com>
To: dri-devel-reviews@example.com
Subject: Claude review: media: iris: don't specify highest_bank_bit in the source code
Date: Thu, 07 May 2026 12:40:17 +1000	[thread overview]
Message-ID: <review-patch3-20260507-iris-ubwc-v5-3-e9a3aee53c49@oss.qualcomm.com> (raw)
In-Reply-To: <20260507-iris-ubwc-v5-3-e9a3aee53c49@oss.qualcomm.com>

Patch Review

Replaces `core->iris_platform_data->ubwc_config->highest_bank_bit` with direct access to the UBWC config:

```c
payload = ubwc->highest_bank_bit;
```

The old field was `u32`, the new struct field is `int`. Since `highest_bank_bit` values are always positive (representing a DDR bank bit position, e.g. 16 for SM8550), the implicit conversion to `u32 payload` is safe.

The key benefit: the central registry can derive HBB from runtime DDR type detection rather than using a fixed value, which was called out in the cover letter as one of the motivations for this series.

No issues.

---
Generated by Claude Code Patch Reviewer

  reply	other threads:[~2026-05-07  2:40 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-07  1:10 [PATCH v5 0/7] media: iris: migrate to using global UBWC config Dmitry Baryshkov
2026-05-07  1:10 ` [PATCH v5 1/7] media: iris: retrieve UBWC platform configuration Dmitry Baryshkov
2026-05-07  2:40   ` Claude review: " Claude Code Review Bot
2026-05-07  1:10 ` [PATCH v5 2/7] media: iris: don't specify min_acc_length in the source code Dmitry Baryshkov
2026-05-07  2:40   ` Claude review: " Claude Code Review Bot
2026-05-07  1:10 ` [PATCH v5 3/7] media: iris: don't specify highest_bank_bit " Dmitry Baryshkov
2026-05-07  2:40   ` Claude Code Review Bot [this message]
2026-05-07  1:10 ` [PATCH v5 4/7] media: iris: don't specify ubwc_swizzle " Dmitry Baryshkov
2026-05-07  2:40   ` Claude review: " Claude Code Review Bot
2026-05-07  1:10 ` [PATCH v5 5/7] media: iris: don't specify bank_spreading " Dmitry Baryshkov
2026-05-07  2:40   ` Claude review: " Claude Code Review Bot
2026-05-07  1:10 ` [PATCH v5 6/7] media: iris: don't specify max_channels " Dmitry Baryshkov
2026-05-07  2:40   ` Claude review: " Claude Code Review Bot
2026-05-07  1:10 ` [PATCH v5 7/7] media: iris: drop remnants of UBWC configuration Dmitry Baryshkov
2026-05-07  2:40   ` Claude review: " Claude Code Review Bot
2026-05-07  2:40 ` Claude review: media: iris: migrate to using global UBWC config Claude Code Review Bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=review-patch3-20260507-iris-ubwc-v5-3-e9a3aee53c49@oss.qualcomm.com \
    --to=claude-review@example.com \
    --cc=dri-devel-reviews@example.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox