Skip to content

drm/gem-framebuffer: Don't validate buffer size when non-linear#7427

Open
6by9 wants to merge 1 commit into
raspberrypi:rpi-6.18.yfrom
6by9:rpi-6.18.y-drm
Open

drm/gem-framebuffer: Don't validate buffer size when non-linear#7427
6by9 wants to merge 1 commit into
raspberrypi:rpi-6.18.yfrom
6by9:rpi-6.18.y-drm

Conversation

@6by9

@6by9 6by9 commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

pitch*height does not necessarily equate to buffer size if the buffer is non-linear, so the buffer validation is invalid.

Disable it for non-linear buffers.

pitch*height does not necessarily equate to buffer size if the
buffer is non-linear, so the buffer validation is invalid.

Disable it for non-linear buffers.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
@popcornmix

Copy link
Copy Markdown
Collaborator

(suitable for upstream?)

@6by9

6by9 commented Jun 9, 2026

Copy link
Copy Markdown
Contributor Author

(suitable for upstream?)

Yes, it'll be one of those fun conversations with them as part of trying to "fix" SAND handling now that they declared DRM modifiers to be effectively static values rather than able to carry dynamic data (eg the column height).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants