How to access a DRM CRTC's scan out buffer?

Sannu K sannumail4foss at gmail.com
Thu Jan 16 07:06:07 EST 2014


On Thu, Jan 16, 2014 at 1:14 PM, Peter Teoh <htmldeveloper at gmail.com> wrote:

> In general how it worked is explained here:
>
> https://www.kernel.org/doc/htmldocs/drm/drm-kms-init.html
>
> Not sure which is the name of your video card, but I think in general all
> the page flip API should have access to the scan buffer (see link above).
> For Intel these are possible APIs
> :
>
>
Thanks. I was trying to find out a generic way to access the scan out
buffer. The page flip functions looks specific to hardware.


>
> static void do_intel_finish_page_flip(struct drm_device *dev,
> void intel_finish_page_flip(struct drm_device *dev, int pipe)
> do_intel_finish_page_flip(dev, crtc);
> void intel_finish_page_flip_plane(struct drm_device *dev, int plane)
> do_intel_finish_page_flip(dev, crtc);
> void intel_prepare_page_flip(struct drm_device *dev, int plane)
>  * is also accompanied by a spurious intel_prepare_page_flip().
> inline static void intel_mark_page_flip_active(struct intel_crtc
> *intel_crtc)
>
> --
> Regards,
> Peter Teoh
>

It is enough to have a way to get the content of scan out buffer instead of
accessing it directly using a pointer.

Thanks for you help,
Sannu K
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140116/99d9c038/attachment.html 


More information about the Kernelnewbies mailing list