mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Zimmermann <tzimmermann@suse.de>
To: Sui Jingfeng <suijingfeng@loongson.cn>,
	Maxime Ripard <mripard@kernel.org>,
	David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>,
	Li Yi <liyi@loongson.cn>,
	Javier Martinez Canillas <javierm@redhat.com>,
	Christian Koenig <christian.koenig@amd.com>,
	Helge Deller <deller@gmx.de>,
	Lucas De Marchi <lucas.demarchi@intel.com>
Cc: linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org,
	dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] video/aperture: fix typos
Date: Tue, 4 Apr 2023 12:41:30 +0200	[thread overview]
Message-ID: <0ad03743-0224-b154-a149-e3e4d54b252d@suse.de> (raw)
In-Reply-To: <20230404040101.2165600-1-suijingfeng@loongson.cn>


[-- Attachment #1.1: Type: text/plain, Size: 2917 bytes --]

Hi

Am 04.04.23 um 06:01 schrieb Sui Jingfeng:
>   EFI FB, VESA FB or VGA FB etc are belong to firmware based framebuffer
>   driver.

No whitespaces at the beginning of the lines.

> 
> Signed-off-by: Sui Jingfeng <suijingfeng@loongson.cn>
> ---
>   drivers/video/aperture.c | 8 ++++----
>   1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/video/aperture.c b/drivers/video/aperture.c
> index 41e77de1ea82..b009468ffdff 100644
> --- a/drivers/video/aperture.c
> +++ b/drivers/video/aperture.c
> @@ -20,7 +20,7 @@
>    * driver can be active at any given time. Many systems load a generic
>    * graphics drivers, such as EFI-GOP or VESA, early during the boot process.
>    * During later boot stages, they replace the generic driver with a dedicated,
> - * hardware-specific driver. To take over the device the dedicated driver
> + * hardware-specific driver. To take over the device, the dedicated driver
>    * first has to remove the generic driver. Aperture functions manage
>    * ownership of framebuffer memory and hand-over between drivers.
>    *
> @@ -76,7 +76,7 @@
>    * generic EFI or VESA drivers, have to register themselves as owners of their
>    * framebuffer apertures. Ownership of the framebuffer memory is achieved
>    * by calling devm_aperture_acquire_for_platform_device(). If successful, the
> - * driveris the owner of the framebuffer range. The function fails if the
> + * driver is the owner of the framebuffer range. The function fails if the
>    * framebuffer is already owned by another driver. See below for an example.
>    *
>    * .. code-block:: c
> @@ -126,7 +126,7 @@
>    * et al for the registered framebuffer range, the aperture helpers call
>    * platform_device_unregister() and the generic driver unloads itself. The
>    * generic driver also has to provide a remove function to make this work.
> - * Once hot unplugged fro mhardware, it may not access the device's
> + * Once hot unplugged from hardware, it may not access the device's
>    * registers, framebuffer memory, ROM, etc afterwards.
>    */
>   
> @@ -203,7 +203,7 @@ static void aperture_detach_platform_device(struct device *dev)
>   
>   	/*
>   	 * Remove the device from the device hierarchy. This is the right thing
> -	 * to do for firmware-based DRM drivers, such as EFI, VESA or VGA. After
> +	 * to do for firmware-based fb drivers, such as EFI, VESA or VGA. After

That sentences is not well phrased. Maybe say 'This is required for 
firmware-provided graphics, such as EFI, VESA or VGA.'

Best regards
Thomas

>   	 * the new driver takes over the hardware, the firmware device's state
>   	 * will be lost.
>   	 *

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Ivo Totev

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

  parent reply	other threads:[~2023-04-04 10:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-04  4:01 Sui Jingfeng
2023-04-04 10:05 ` Javier Martinez Canillas
2023-04-04 10:48   ` Javier Martinez Canillas
2023-04-04 10:41 ` Thomas Zimmermann [this message]
2023-04-04 10:55   ` Javier Martinez Canillas
2023-04-04 11:03     ` Javier Martinez Canillas
2023-04-05  9:55       ` Sui Jingfeng
2023-04-05 10:36         ` Sui Jingfeng
2023-04-04 11:08     ` Thomas Zimmermann
2023-05-12 15:09     ` Pavel Machek

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=0ad03743-0224-b154-a149-e3e4d54b252d@suse.de \
    --to=tzimmermann@suse.de \
    --cc=airlied@gmail.com \
    --cc=christian.koenig@amd.com \
    --cc=daniel@ffwll.ch \
    --cc=deller@gmx.de \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=javierm@redhat.com \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=liyi@loongson.cn \
    --cc=lucas.demarchi@intel.com \
    --cc=mripard@kernel.org \
    --cc=suijingfeng@loongson.cn \
    /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

all inboxes | Powered by JetHome®