linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Zimmermann <tzimmermann@suse.de>
To: Helge Deller <deller@gmx.de>, javierm@redhat.com
Cc: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 01/10] fbdev/broadsheetfb: Select FB_SYS_HELPERS_DEFERRED
Date: Fri, 7 Jul 2023 09:38:10 +0200	[thread overview]
Message-ID: <208dc0f5-0b7c-0ca9-665e-72d0e154226c@suse.de> (raw)
In-Reply-To: <57cd2e4b-fcfc-587d-4b1b-eefad5416b61@gmx.de>


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

Hi

Am 06.07.23 um 21:13 schrieb Helge Deller:
> On 7/6/23 17:08, Thomas Zimmermann wrote:
>> The Kconfig token FB_SYS_HELPERS_DEFERRED selects everything that
>> is required for deferred I/O on system-memory framebuffers. Select
>> it from FB_BROADSHEET in favor of the existing identical selection.
>>
>> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
> 
> I'm actually not a fan of deferred-IO for older drivers, but
> in this case where the drivers operate on system memory anyway,
> this is the right approach.

Yeah, deferred I/O has a certain overhead. But for this kind of hardware 
there's no good way to make mmap work reliably without. (Well, there's 
msync(), but who uses that?) These drivers already implement defio, so 
it's not really a change, just a cleanup.

> 
> The series looks good:
> 
> Acked-by: Helge Deller <deller@gmx.de>

Thanks a lot.

Best regards
Thomas

> 
> Helge
> 
>> ---
>>   drivers/video/fbdev/Kconfig | 6 +-----
>>   1 file changed, 1 insertion(+), 5 deletions(-)
>>
>> diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig
>> index f14229757311..fd862faafe66 100644
>> --- a/drivers/video/fbdev/Kconfig
>> +++ b/drivers/video/fbdev/Kconfig
>> @@ -2179,11 +2179,7 @@ config FB_MX3
>>   config FB_BROADSHEET
>>       tristate "E-Ink Broadsheet/Epson S1D13521 controller support"
>>       depends on FB && (ARCH_PXA || COMPILE_TEST)
>> -    select FB_SYS_FILLRECT
>> -    select FB_SYS_COPYAREA
>> -    select FB_SYS_IMAGEBLIT
>> -    select FB_SYS_FOPS
>> -    select FB_DEFERRED_IO
>> +    select FB_SYS_HELPERS_DEFERRED
>>       help
>>         This driver implements support for the E-Ink Broadsheet
>>         controller. The release name for this device was Epson S1D13521
> 

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)

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

  reply	other threads:[~2023-07-07  7:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-06 15:08 [PATCH 00/10] fbdev: Generate deferred-I/O helpers Thomas Zimmermann
2023-07-06 15:08 ` [PATCH 01/10] fbdev/broadsheetfb: Select FB_SYS_HELPERS_DEFERRED Thomas Zimmermann
2023-07-06 19:13   ` Helge Deller
2023-07-07  7:38     ` Thomas Zimmermann [this message]
2023-07-06 15:08 ` [PATCH 02/10] fbdev/broadsheetfb: Generate deferred I/O ops Thomas Zimmermann
2023-07-06 15:08 ` [PATCH 03/10] fbdev/hecubafb: Select FB_SYS_HELPERS_DEFERRED Thomas Zimmermann
2023-07-06 15:08 ` [PATCH 04/10] fbdev/hecubafb: Generate deferred I/O ops Thomas Zimmermann
2023-07-06 15:08 ` [PATCH 05/10] fbdev/metronomefb: Select FB_SYS_HELPERS_DEFERRED Thomas Zimmermann
2023-07-06 15:08 ` [PATCH 06/10] fbdev/metronomefb: Generate deferred I/O ops Thomas Zimmermann
2023-07-06 15:08 ` [PATCH 07/10] fbdev/ssd1307fb: Select FB_SYS_HELPERS_DEFERRED Thomas Zimmermann
2023-07-06 15:08 ` [PATCH 08/10] fbdev/ssd1307fb: Generate deferred I/O ops Thomas Zimmermann
2023-07-06 17:41   ` Sam Ravnborg
2023-07-06 15:08 ` [PATCH 09/10] fbdev/xen-fbfront: Select FB_SYS_HELPERS_DEFERRED Thomas Zimmermann
2023-07-06 15:08 ` [PATCH 10/10] fbdev/xen-fbfront: Generate deferred I/O ops Thomas Zimmermann
2023-07-06 17:43 ` [PATCH 00/10] fbdev: Generate deferred-I/O helpers Sam Ravnborg

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=208dc0f5-0b7c-0ca9-665e-72d0e154226c@suse.de \
    --to=tzimmermann@suse.de \
    --cc=deller@gmx.de \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=javierm@redhat.com \
    --cc=linux-fbdev@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).