diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-02-08 21:58:55 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-02-14 14:10:51 +0100 |
commit | 7d7aa2fd924c27829ec25f825481554dd81bce97 (patch) | |
tree | 658b87b89331670266163e522ea5fb52535633cb /target/linux/bcm27xx/patches-4.19/950-0638-drm-connector-Add-documentation-for-drm_cmdline_mode.patch | |
parent | e7bfda2c243e66a75ff966ba04c28b1590b5d24c (diff) | |
download | upstream-7d7aa2fd924c27829ec25f825481554dd81bce97.tar.gz upstream-7d7aa2fd924c27829ec25f825481554dd81bce97.tar.bz2 upstream-7d7aa2fd924c27829ec25f825481554dd81bce97.zip |
brcm2708: rename target to bcm27xx
This change makes the names of Broadcom targets consistent by using
the common notation based on SoC/CPU ID (which is used internally
anyway), bcmXXXX instead of brcmXXXX.
This is even used for target TITLE in make menuconfig already,
only the short target name used brcm so far.
Despite, since subtargets range from bcm2708 to bcm2711, it seems
appropriate to use bcm27xx instead of bcm2708 (again, as already done
for BOARDNAME).
This also renames the packages brcm2708-userland and brcm2708-gpu-fw.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Acked-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/bcm27xx/patches-4.19/950-0638-drm-connector-Add-documentation-for-drm_cmdline_mode.patch')
-rw-r--r-- | target/linux/bcm27xx/patches-4.19/950-0638-drm-connector-Add-documentation-for-drm_cmdline_mode.patch | 125 |
1 files changed, 125 insertions, 0 deletions
diff --git a/target/linux/bcm27xx/patches-4.19/950-0638-drm-connector-Add-documentation-for-drm_cmdline_mode.patch b/target/linux/bcm27xx/patches-4.19/950-0638-drm-connector-Add-documentation-for-drm_cmdline_mode.patch new file mode 100644 index 0000000000..16b84bc037 --- /dev/null +++ b/target/linux/bcm27xx/patches-4.19/950-0638-drm-connector-Add-documentation-for-drm_cmdline_mode.patch @@ -0,0 +1,125 @@ +From 7c0f4f4d81958f63abf696e71b342e8b75a6e530 Mon Sep 17 00:00:00 2001 +From: Maxime Ripard <maxime.ripard@bootlin.com> +Date: Wed, 19 Jun 2019 12:17:48 +0200 +Subject: [PATCH] drm/connector: Add documentation for drm_cmdline_mode +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +commit 772cd52c5574b04b00a97d638b2cfe94c0c1a9b6 upstream. + +The struct drm_cmdline_mode holds the result of the command line parsers. +However, it wasn't documented so far, so let's do that. + +Reviewed-by: Noralf Trønnes <noralf@tronnes.org> +Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> +Link: https://patchwork.freedesktop.org/patch/msgid/963c893c16c6a25fc469b53c726f493d99bdc578.1560783090.git-series.maxime.ripard@bootlin.com +--- + include/drm/drm_connector.h | 86 ++++++++++++++++++++++++++++++++++++- + 1 file changed, 84 insertions(+), 2 deletions(-) + +--- a/include/drm/drm_connector.h ++++ b/include/drm/drm_connector.h +@@ -755,18 +755,100 @@ struct drm_connector_funcs { + const struct drm_connector_state *state); + }; + +-/* mode specified on the command line */ ++/** ++ * struct drm_cmdline_mode - DRM Mode passed through the kernel command-line ++ * ++ * Each connector can have an initial mode with additional options ++ * passed through the kernel command line. This structure allows to ++ * express those parameters and will be filled by the command-line ++ * parser. ++ */ + struct drm_cmdline_mode { ++ /** ++ * @specified: ++ * ++ * Has a mode been read from the command-line? ++ */ + bool specified; ++ ++ /** ++ * @refresh_specified: ++ * ++ * Did the mode have a preferred refresh rate? ++ */ + bool refresh_specified; ++ ++ /** ++ * @bpp_specified: ++ * ++ * Did the mode have a preferred BPP? ++ */ + bool bpp_specified; +- int xres, yres; ++ ++ /** ++ * @xres: ++ * ++ * Active resolution on the X axis, in pixels. ++ */ ++ int xres; ++ ++ /** ++ * @yres: ++ * ++ * Active resolution on the Y axis, in pixels. ++ */ ++ int yres; ++ ++ /** ++ * @bpp: ++ * ++ * Bits per pixels for the mode. ++ */ + int bpp; ++ ++ /** ++ * @refresh: ++ * ++ * Refresh rate, in Hertz. ++ */ + int refresh; ++ ++ /** ++ * @rb: ++ * ++ * Do we need to use reduced blanking? ++ */ + bool rb; ++ ++ /** ++ * @interlace: ++ * ++ * The mode is interlaced. ++ */ + bool interlace; ++ ++ /** ++ * @cvt: ++ * ++ * The timings will be calculated using the VESA Coordinated ++ * Video Timings instead of looking up the mode from a table. ++ */ + bool cvt; ++ ++ /** ++ * @margins: ++ * ++ * Add margins to the mode calculation (1.8% of xres rounded ++ * down to 8 pixels and 1.8% of yres). ++ */ + bool margins; ++ ++ /** ++ * @force: ++ * ++ * Ignore the hotplug state of the connector, and force its ++ * state to one of the DRM_FORCE_* values. ++ */ + enum drm_connector_force force; + }; + |