vdec: the fw load mode default VDEC_DBG_ALWAYS_LOAD_FW. [1/1]
authorNanxin Qin <nanxin.qin@amlogic.com>
Wed, 10 Jun 2020 05:17:00 +0000 (13:17 +0800)
committerNanxin Qin <nanxin.qin@amlogic.com>
Wed, 10 Jun 2020 05:26:25 +0000 (22:26 -0700)
PD#SWPL-27626

Problem:
the default mode of fw loading should be recovery
VDEC_DBG_ALWAYS_LOAD_FW.

Solution:
the default mode of fw loading should be recovery
VDEC_DBG_ALWAYS_LOAD_FW. as the value has been
changed on fence CLs.

Verify:
ab311

Change-Id: I66d6bece839ce16baec7122bf91fa6e1f1fd6713
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
drivers/frame_provider/decoder/utils/vdec.c

index dc891794a88f4a54adc0cadd6861c727c5a17c64..327242d43d0e95cc01b9a0ee2293d885985d51ab 100644 (file)
@@ -103,7 +103,7 @@ static unsigned int clk_config;
 #define VDEC_DBG_CANVAS_STATUS (0x4)
 #define VDEC_DBG_ENABLE_FENCE  (0x100)
 
-u32 debug;
+u32 debug = VDEC_DBG_ALWAYS_LOAD_FW;
 EXPORT_SYMBOL(debug);
 
 static int hevc_max_reset_count;