#ifdef CONFIG_VIDEO_EXYNOS_REPEATER
#include <media/exynos_repeater.h>
#endif
-#ifdef CONFIG_VIDEO_EXYNOS_TSMUX
-#include <media/exynos_tsmux.h>
-#endif
#include <media/mfc_hwfc.h>
#include "mfc_otf.h"
}
}
+ dev->num_otf_inst++;
mfc_debug(2, "[OTF] otf_create is completed\n");
mfc_debug_leave();
void mfc_otf_destroy(struct mfc_ctx *ctx)
{
+ struct mfc_dev *dev = ctx->dev;
+
mfc_debug_enter();
if (!ctx) {
mfc_otf_release_stream_buf(ctx);
__mfc_otf_destroy_handle(ctx);
+
+ dev->num_otf_inst--;
mfc_debug(2, "[OTF] otf_destroy is completed\n");
mfc_debug_leave();
#endif
#include "mfc_watchdog.h"
+#include "mfc_otf.h"
#include "mfc_sync.h"
__mfc_save_logging_sfr(dev);
__mfc_dump_buffer_info(dev);
__mfc_dump_regs(dev);
+
+ if (dev->num_otf_inst) {
+ pr_err("-----------dumping TS-MUX info-----------\n");
+#ifdef CONFIG_VIDEO_EXYNOS_TSMUX
+ tsmux_sfr_dump();
+#endif
+ }
+
/* If there was fault addr, sysmmu info is already printed out */
if (!dev->logging_data->fault_addr)
exynos_sysmmu_show_status(dev->device);