static int rgb2mipi_frc_handle(struct platform_device *pdev, int fps)
{
    int ret = 0;
    struct hisi_fb_data_type *hisifd = NULL;

    BUG_ON(pdev == NULL);
    hisifd = platform_get_drvdata(pdev);
    BUG_ON(hisifd == NULL);

    HISI_FB_DEBUG("fb%d, +.\n", hisifd->index);

    ret = panel_next_frc_handle(pdev, fps);

    HISI_FB_DEBUG("fb%d, -.\n", hisifd->index);

    return 0;
}
Exemple #2
0
static int dpe_frc_handle(struct platform_device *pdev, int fps)
{
	int ret = 0;
	struct k3_fb_data_type *k3fd = NULL;

	BUG_ON(pdev == NULL);
	k3fd = platform_get_drvdata(pdev);
	BUG_ON(k3fd == NULL);

	K3_FB_DEBUG("fb%d, +.\n", k3fd->index);

	ret = panel_next_frc_handle(pdev, fps);

	K3_FB_DEBUG("fb%d, -.\n", k3fd->index);

	return 0;
}