Merge "video: driver: add video banner support"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
0835d887df
@@ -22,6 +22,8 @@
|
||||
#include "venus_hfi_response.h"
|
||||
#include "msm_vidc.h"
|
||||
|
||||
extern const char video_banner[];
|
||||
|
||||
#define MSM_VIDC_DRV_NAME "msm_vidc_driver"
|
||||
#define MSM_VIDC_BUS_NAME "platform:msm_vidc_bus"
|
||||
|
||||
@@ -845,7 +847,7 @@ void *msm_vidc_open(void *vidc_core, u32 session_type)
|
||||
struct msm_vidc_core *core;
|
||||
int i = 0;
|
||||
|
||||
d_vpr_h("%s()\n", __func__);
|
||||
d_vpr_h("%s: %s\n", __func__, video_banner);
|
||||
core = vidc_core;
|
||||
if (!core) {
|
||||
d_vpr_e("%s: invalid params\n", __func__);
|
||||
|
@@ -17,11 +17,15 @@
|
||||
#include "msm_vidc_platform.h"
|
||||
#include "msm_vidc_core.h"
|
||||
#include "venus_hfi.h"
|
||||
#include "video_generated_h"
|
||||
|
||||
#define BASE_DEVICE_NUMBER 32
|
||||
|
||||
struct msm_vidc_core *g_core;
|
||||
|
||||
const char video_banner[] = "Video-Banner: (" VIDEO_COMPILE_BY "@"
|
||||
VIDEO_COMPILE_HOST ") (" VIDEO_COMPILE_TIME ")";
|
||||
|
||||
static int msm_vidc_deinit_irq(struct msm_vidc_core *core)
|
||||
{
|
||||
struct msm_vidc_dt *dt;
|
||||
@@ -695,7 +699,7 @@ static int __init msm_vidc_init(void)
|
||||
{
|
||||
int rc = 0;
|
||||
|
||||
d_vpr_h("%s()\n", __func__);
|
||||
d_vpr_h("%s: %s\n", __func__, video_banner);
|
||||
|
||||
rc = platform_driver_register(&msm_vidc_driver);
|
||||
if (rc) {
|
||||
|
Reference in New Issue
Block a user