Guest User

Untitled

a guest
Jun 21st, 2026
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. diff --git a/drivers/media/platform/apple/avd/avd-h264.c b/drivers/media/platform/apple/avd/avd-h264.c
  2. index 668d4b258834..f25094d7ac36 100644
  3. --- a/drivers/media/platform/apple/avd/avd-h264.c
  4. +++ b/drivers/media/platform/apple/avd/avd-h264.c
  5. @@ -641,6 +641,10 @@ static int avd_h264_run(struct avd_ctx *ctx)
  6. u32 slice_size, slice_parsed;
  7. int ret;
  8.  
  9. + avd_w32(ctrl, 0xc, 0x2b000300);
  10. + for (int i = 0; i < 128; i++)
  11. + avd_w32(ctrl, 0xc, 0x2b000000);
  12. +
  13. avd_h264_run_preamble(ctx, &run);
  14.  
  15. /* Build the P/B{0,1} ref lists. */
Advertisement
Add Comment
Please, Sign In to add comment