Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: hongjiujing@gmail.com (tommy tommy)
To: linux-arm-kernel@lists.infradead.org
Subject: Suggestion:S3C64XX and next-S3C MFC need IOCTL_MFC_RESET ?
Date: Fri, 6 Nov 2009 11:26:21 +0800	[thread overview]
Message-ID: <48cbf6bf0911051926k2464d4e1sfea713cb61d25705@mail.gmail.com> (raw)

 hi,emailist!

  I think S3C64XX and next-s3c MFC driver need IOCTL_MFC_RESET,because if
APP unlegal exit mfc operation or MFC met some uncorrect h264/mpeg4/vc1/wmv9
media stream,can cause MFC inter unit become uncorrect state,it need RESET
to recover to work for next!When under that uncorrect condition,APP must use
ioctl_MFC_RESET to recover!

 i have test it ,also OK even met uncorrect stream and unlegal app file
descriptor exit !



patch may be similiar as following:

               /*For MFC RESET,when met uncorrect stram or unlegal file
descriptor exit ,for APP engineer*/
                case IOCTL_MFC_RESET:
                        MFC_Mutex_Lock();

                        MFC_HW_Init(); /*RESET MFC,download firmware ,reset
mfc busy flag*/

                        MFC_Mutex_Release();
                        break;


Tommy at China
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20091106/0fe0973d/attachment-0001.htm>

             reply	other threads:[~2009-11-06  3:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-06  3:26 tommy tommy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-11-06  7:45 Suggestion:S3C64XX and next-S3C MFC need IOCTL_MFC_RESET ? tommy.hong
2009-11-06  7:51 tommy

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=48cbf6bf0911051926k2464d4e1sfea713cb61d25705@mail.gmail.com \
    --to=hongjiujing@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.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