diff options
author | keith.zhao <keith.zhao@starfivetech.com> | 2023-04-12 06:46:55 +0300 |
---|---|---|
committer | keith.zhao <keith.zhao@starfivetech.com> | 2023-04-12 06:46:55 +0300 |
commit | b5260fa8bf4c607e2e0832a18d404924c9bf8f2c (patch) | |
tree | 8859df2bc519e94785f75de7762280dae03c01a8 /drivers/gpu | |
parent | fc8d2a73fc5ce109b607a1b5f3e633f68b713ff1 (diff) | |
download | linux-b5260fa8bf4c607e2e0832a18d404924c9bf8f2c.tar.xz |
vout: build warning
fix the warning message during the vout build
Signed-off-by: keith <keith.zhao@starfivetech.com>
Diffstat (limited to 'drivers/gpu')
-rwxr-xr-x[-rw-r--r--] | drivers/gpu/drm/i2c/tda998x_pin.c | 7 | ||||
-rwxr-xr-x | drivers/gpu/drm/verisilicon/inno_hdmi.c | 5 | ||||
-rwxr-xr-x | drivers/gpu/drm/verisilicon/vs_gem.c | 2 |
3 files changed, 2 insertions, 12 deletions
diff --git a/drivers/gpu/drm/i2c/tda998x_pin.c b/drivers/gpu/drm/i2c/tda998x_pin.c index 995efc8e55ed..8f7fc3199ff3 100644..100755 --- a/drivers/gpu/drm/i2c/tda998x_pin.c +++ b/drivers/gpu/drm/i2c/tda998x_pin.c @@ -11,13 +11,6 @@ #define DRIVER_MINOR 0
#define DRIVER_VERSION "v1.0.0"
-static struct drm_driver starfive_drm_driver = {
- .name = DRIVER_NAME,
- .desc = DRIVER_DESC,
- .date = DRIVER_DATE,
- .major = DRIVER_MAJOR,
- .minor = DRIVER_MINOR,
-};
static int starfive_drm_platform_probe(struct platform_device *pdev)
{
diff --git a/drivers/gpu/drm/verisilicon/inno_hdmi.c b/drivers/gpu/drm/verisilicon/inno_hdmi.c index 3c989dbfdb28..ef7889e7b9a1 100755 --- a/drivers/gpu/drm/verisilicon/inno_hdmi.c +++ b/drivers/gpu/drm/verisilicon/inno_hdmi.c @@ -84,7 +84,7 @@ static const struct pre_pll_config pre_pll_cfg_table[] = { }; static const struct post_pll_config post_pll_cfg_table[] = { - {25200000, 1, 80, 7, 3, 1}, + {25200000, 1, 80, 13, 3, 1}, {27000000, 1, 40, 11, 3, 1}, {27027000, 1, 40, 11, 3, 1}, {33750000, 1, 40, 8, 3, 1}, @@ -224,9 +224,6 @@ static void inno_hdmi_config_pll(struct inno_hdmi *hdmi) hdmi->post_cfg->postdiv : 0x00; u8 reg_1aa_value = hdmi->post_cfg->post_div_en ? 0x0e : 0x02; - if(1 == hdmi->hdmi_data.vic){ - reg_1ad_value = 0x0d; - } const reg_value_t cfg_pll_data[] = { {0x1a0, 0x01}, diff --git a/drivers/gpu/drm/verisilicon/vs_gem.c b/drivers/gpu/drm/verisilicon/vs_gem.c index 528d24c8fb77..78b1a880c1ae 100755 --- a/drivers/gpu/drm/verisilicon/vs_gem.c +++ b/drivers/gpu/drm/verisilicon/vs_gem.c @@ -121,7 +121,7 @@ static int vs_gem_alloc_buf(struct vs_gem_object *vs_obj) &vs_obj->dma_addr, GFP_KERNEL, vs_obj->dma_attrs); - DRM_DEV_DEBUG(dev->dev,"Allocated coherent memory, vaddr: 0x%0llX, paddr: 0x%0llX, size: %d\n", + DRM_DEV_DEBUG(dev->dev,"Allocated coherent memory, vaddr: 0x%0llX, paddr: 0x%0llX, size: %lu\n", (u64)vs_obj->cookie,vs_obj->dma_addr,vs_obj->size); if (!vs_obj->cookie) { #ifdef CONFIG_VERISILICON_MMU |