diff options
author | Mark Brown <broonie@kernel.org> | 2025-09-05 17:09:18 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-09-05 17:09:18 +0100 |
commit | 92b9c2b7a88c07324d70ea877cfe2d90ac823dbf (patch) | |
tree | c5c6df6a87eb3df891ce33191b80fe3aefac5add /drivers/gpu/drm/omapdrm/omap_fbdev.c | |
parent | 9d35d068fb138160709e04e3ee97fe29a6f8615b (diff) | |
parent | b497e1a1a2b10c4ddb28064fba229365ae03311a (diff) |
regulator: pf530x: NXP PF530x regulator driver
Merge series from Woodrow Douglass <wdouglass@carnegierobotics.com>:
I wrote this driver to read settings and state from the nxp pf530x
regulator. Please consider it for inclusion, any criticism is welcome.
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.c')
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_fbdev.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_fbdev.c b/drivers/gpu/drm/omapdrm/omap_fbdev.c index 7b6396890681..948af7ec1130 100644 --- a/drivers/gpu/drm/omapdrm/omap_fbdev.c +++ b/drivers/gpu/drm/omapdrm/omap_fbdev.c @@ -197,7 +197,10 @@ int omap_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper, goto fail; } - fb = omap_framebuffer_init(dev, &mode_cmd, &bo); + fb = omap_framebuffer_init(dev, + drm_get_format_info(dev, mode_cmd.pixel_format, + mode_cmd.modifier[0]), + &mode_cmd, &bo); if (IS_ERR(fb)) { dev_err(dev->dev, "failed to allocate fb\n"); /* note: if fb creation failed, we can't rely on fb destroy |