07:48__ad: hi, what kind of error is -524 ? Is it an nividia code ?
20:21dwlsalmeida[d]: gfxstrand[d]: hey can we take this wholesale from the kernel, please:
20:21dwlsalmeida[d]: https://elixir.bootlin.com/linux/v6.12.6/source/drivers/media/platform/verisilicon/rockchip_av1_entropymode.c
20:21dwlsalmeida[d]: yes we need all that crap
20:22dwlsalmeida[d]: cc airlied[d] karolherbst[d] etc
20:23dwlsalmeida[d]: License and copyright are:
20:23dwlsalmeida[d]: // SPDX-License-Identifier: BSD-2-Clause
20:23dwlsalmeida[d]: /*
20:23dwlsalmeida[d]: * Copyright (c) 2016, Alliance for Open Media. All rights reserved
20:25airlied[d]: isn't there one of those already in mesa somewhere?
20:26airlied[d]: src/amd/common/ac_vcn_av1_default.h
20:33dwlsalmeida[d]: yeah, except we need our own version of `rvcn_av1_vcn4_frame_contexts`, since the layout is not the same
20:33dwlsalmeida[d]: but all the other cruft will work, I think
20:34dwlsalmeida[d]: question, how do I go about this, should I move this header to a common place or..
20:41airlied[d]: take the common bits and move them to src/util probably the best one, I think Intel also might have merged something similiar, but I tried to converge them and failed in the past
20:42airlied[d]: ah src/intel/vulkan/av1_tables.h
20:42airlied[d]: might also have what you want
20:45dwlsalmeida[d]: hmm, I didn't find this one
20:45dwlsalmeida[d]: I'm on a somewhat recent commit:
20:45dwlsalmeida[d]: commit 8a5ec6044276c2d8460f88bf5e52826a0e31e471 (origin/main, origin/HEAD)
20:45dwlsalmeida[d]: Author: nyanmisaka <nst799610810@gmail.com>
20:47airlied[d]: I think it only got merged yesterady
22:42tiredchiku[d]: :notLikeCat: