* [PATCH] video/macfb: Always initialize DAFB colour table pointer register @ 2019-02-18 22:44 ` Finn Thain 2019-04-01 12:04 ` Bartlomiej Zolnierkiewicz 0 siblings, 1 reply; 2+ messages in thread From: Finn Thain @ 2019-02-18 22:44 UTC (permalink / raw) To: Bartlomiej Zolnierkiewicz Cc: linux-m68k, dri-devel, linux-fbdev, linux-kernel Don't skip the framebuffer CLUT pointer register initialization when the first dafb_setpalette() invocation has regno equal to zero. Cc: linux-m68k@lists.linux-m68k.org Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Finn Thain <fthain@telegraphics.com.au> --- drivers/video/fbdev/macfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/macfb.c b/drivers/video/fbdev/macfb.c index 37c56c45ee39..8820a556014c 100644 --- a/drivers/video/fbdev/macfb.c +++ b/drivers/video/fbdev/macfb.c @@ -148,7 +148,7 @@ static int dafb_setpalette(unsigned int regno, unsigned int red, unsigned int green, unsigned int blue, struct fb_info *info) { - static int lastreg = -1; + static int lastreg = -2; unsigned long flags; local_irq_save(flags); -- 2.19.2 ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] video/macfb: Always initialize DAFB colour table pointer register 2019-02-18 22:44 ` [PATCH] video/macfb: Always initialize DAFB colour table pointer register Finn Thain @ 2019-04-01 12:04 ` Bartlomiej Zolnierkiewicz 0 siblings, 0 replies; 2+ messages in thread From: Bartlomiej Zolnierkiewicz @ 2019-04-01 12:04 UTC (permalink / raw) To: Finn Thain; +Cc: linux-m68k, dri-devel, linux-fbdev, linux-kernel On 02/18/2019 11:44 PM, Finn Thain wrote: > Don't skip the framebuffer CLUT pointer register initialization when > the first dafb_setpalette() invocation has regno equal to zero. > > Cc: linux-m68k@lists.linux-m68k.org > Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org> > Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Patch queued for v5.2, thanks. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-04-01 12:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CGME20190218224758epcas5p21d3d13ec8323a3ff3c04d45081b4cfff@epcas5p2.samsung.com>
2019-02-18 22:44 ` [PATCH] video/macfb: Always initialize DAFB colour table pointer register Finn Thain
2019-04-01 12:04 ` Bartlomiej Zolnierkiewicz
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®