From: Claude Code Review Bot <claude-review@example.com>
To: dri-devel-reviews@example.com
Subject: Claude review: Revert "drm/imagination: Warn or error on unsupported hardware"
Date: Sat, 16 May 2026 15:12:53 +1000 [thread overview]
Message-ID: <review-overall-caf5e011a5b3fbdbab8c50d064bc8342212d5cc1.1778505897.git.geert+renesas@glider.be> (raw)
In-Reply-To: <caf5e011a5b3fbdbab8c50d064bc8342212d5cc1.1778505897.git.geert+renesas@glider.be>
Overall Series Review
Subject: Revert "drm/imagination: Warn or error on unsupported hardware"
Author: Geert Uytterhoeven <geert+renesas@glider.be>
Patches: 4
Reviewed: 2026-05-16T15:12:53.518717
---
This is a single patch that reverts commit `1c21f240fbc1e47b` ("drm/imagination: Warn or error on unsupported hardware"). That commit introduced a GPU support allowlist that blocks driver probing on GPU cores not explicitly listed as `PVR_GPU_SUPPORTED` or `PVR_GPU_EXPERIMENTAL`, unless the user sets the `exp_hw_support` module parameter.
The revert is motivated by the fact that Renesas R-Car SoCs (which have PowerVR Rogue GPUs like GX6250 and GE7800) are blocked by this allowlist — their BVNC values are not in the switch statement, so they fall into `PVR_GPU_UNKNOWN` and the driver refuses to probe with `-ENODEV`.
**Assessment:** The patch is technically correct as a revert — it cleanly removes the support-level checking infrastructure and replaces the call with `return 0`. The commit message is well-documented with extensive references to DT bindings, DTS additions, firmware availability, and the power domain fix that unblocked board enablement.
However, the better fix is arguably **not** a full revert but rather adding the Renesas GPU BVNC values to the allowlist. The support-level mechanism was intentionally introduced as a safety gate for the early-stage driver. Reverting it entirely removes protection for truly unknown/untested hardware configurations. That said, the commit message makes a valid argument that the allowlist approach creates ongoing friction for new platform enablement — every new SoC with a PowerVR GPU must also have its BVNC added to the driver's allowlist, which is maintenance burden that doesn't exist in other DRM drivers.
**Recommendation:** This is a policy/design decision for the drm/imagination maintainers. The patch is correct in what it does, but the maintainers should weigh whether to accept the full revert vs. expanding the allowlist. The author has clearly thought about this and chosen the revert deliberately.
---
Generated by Claude Code Patch Reviewer
prev parent reply other threads:[~2026-05-16 5:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-11 13:28 [PATCH] Revert "drm/imagination: Warn or error on unsupported hardware" Geert Uytterhoeven
2026-05-11 14:05 ` Matt Coster
2026-05-11 14:43 ` Geert Uytterhoeven
2026-05-12 10:00 ` Matt Coster
2026-05-16 5:12 ` Claude review: " Claude Code Review Bot
2026-05-16 5:12 ` Claude Code Review Bot [this message]
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-overall-caf5e011a5b3fbdbab8c50d064bc8342212d5cc1.1778505897.git.geert+renesas@glider.be \
--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