Re: [PATCH v3 02/11] drm/tilcdc: implement palette loading for rev1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/24/16 11:43, Tomi Valkeinen wrote:
> What is the difference? If mode changes, you need to disable and enable
> the crtc, right? What other cases there are to enable the display? After
> blank? Then the display has been off, and I presume palette has to be
> loaded.

At the moment the palette or register values do not appear to vanish
ever. But that is probably due to PM not doing much to optimize the LCDC
power consumption.

Anyway, if simple enable is enough to turn on the display - all video
timings, frame buffer dma addresses etc. are already in the registers -
then I think it is safe to assume that the palette is still in there too.

Then it is a different issue, that I should probably put the same
functionality into PM runtime_suspend() and runtime_resume() callbacks,
that is currently in suspend() and resume() callbacks, to be ready if PM
ever does anything more for LCDC that it does today. I could of course
add a test if the registers are still intact before doing a restore.

BR,
Jyri

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux