diff options
| author | Chen-Yu Tsai <wenst@chromium.org> | 2026-09-03 14:31:10 +0800 |
|---|---|---|
| committer | Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> | 2026-09-03 14:04:52 +0300 |
| commit | 99c95ce1b07081d7944d637ba7d72d835c0d520a (patch) | |
| tree | 4d52341a37456150efd7198b52e4ca29238b7ccb /kernel/bpf/arraymap.c | |
| parent | 97c594f71fa71dc30a0583a76d8b6ef5c5ea10b1 (diff) | |
| download | linux-next-99c95ce1b07081d7944d637ba7d72d835c0d520a.tar.gz linux-next-99c95ce1b07081d7944d637ba7d72d835c0d520a.zip | |
drm/tidss: dispc: Switch to drm_fb_dma_get_gem_addr() for framebuffer addresses
dispc_plane_state_dma_addr() and dispc_plane_state_p_uv_addr() are
basically the same as drm_fb_dma_get_gem_addr(), without the support for
formats with block parameters. Since the driver doesn't support any of
those formats, the result is the same.
Switch to drm_fb_dma_get_gem_addr() for getting the framebuffer addresses.
Drop the const modifier on "struct drm_plane_state *state" for
dispc_plane_setup() so that the state can be passed to
drm_fb_dma_get_gem_addr().
Using the helper also future proofs the driver in case block parameters
are added for more formats, especially the common sub-sampled YUV
formats.
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Link: https://patch.msgid.link/20260903063142.3770509-1-wenst@chromium.org
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions
