linux/drivers/gpu/drm/hisilicon/hibmc
Tian Tao 85b3bfa266 drm/hisilicon: Fixed the warning: Assignment of 0/1 to bool variable
fixed the following warning:
hibmc_drm_drv.c:296:1-18:WARNING: Assignment of 0/1 to bool variable.
hibmc_drm_drv.c:301:2-19: WARNING: Assignment of 0/1 to bool variable.

v2:
using the pci_dev.msi_enabled instead of priv->msi_enabled.

v3:
just call pci_enable_msi() and pci_disable_msi(), it's no need to
set dev->pdev->msi_enabled again.

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Reviewed-By: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/1595940907-17874-1-git-send-email-tiantao6@hisilicon.com
2020-07-29 08:48:19 +02:00
..
Kconfig Merge drm/drm-next into drm-misc-next 2019-10-03 16:38:50 +02:00
Makefile drm/hisilicon/hibmc: Switch to generic fbdev emulation 2020-01-06 13:45:38 +01:00
hibmc_drm_de.c drm/hisilicon: Enforce 128-byte stride alignment to fix the hardware limitation 2020-04-03 01:56:31 +00:00
hibmc_drm_drv.c drm/hisilicon: Fixed the warning: Assignment of 0/1 to bool variable 2020-07-29 08:48:19 +02:00
hibmc_drm_drv.h drm/hisilicon: Fixed the warning: Assignment of 0/1 to bool variable 2020-07-29 08:48:19 +02:00
hibmc_drm_regs.h drm/hisilicon: Add new clock/resolution configurations 2020-02-27 04:34:31 +00:00
hibmc_drm_vdac.c drm/hisilicon: Code refactoring for hibmc_drv_vdac 2020-07-06 11:06:39 +02:00
hibmc_ttm.c drm/hisilicon: Enforce 128-byte stride alignment to fix the hardware limitation 2020-04-03 01:56:31 +00:00