Re: [PATCH] drm/sti: load HQVDP firmware the first time HQVDP's plane is used

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

 



Hi Vincent,

On 2 November 2015 at 10:05, Vincent Abriou <vincent.abriou@xxxxxx> wrote:
> @@ -754,6 +901,9 @@ static void sti_hqvdp_atomic_update(struct drm_plane *drm_plane,
>         sti_hqvdp_update_hvsrc(HVSRC_VERT, scale_v, &cmd->hvsrc);
>
>         if (first_prepare) {
> +               /* Start HQVDP XP70 coprocessor */
> +               sti_hqvdp_start_xp70(hqvdp);
> +
Shouldn't one check for things such as this (and
sti_hqvdp_check_hw_scaling, amongst other things) in atomic_check() ?
Mostl/all other drivers seems to do so. After all drm core check()s
and if everything/state is ok then calls update().

Regards,
Emil
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://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