Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion drivers/gpu/drm/arise/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ CHECK_GCC_VERSION?=1
endif

ccflags-y := -D__LINUX__ -DKERNEL_BUILD
ccflags-y += -Wno-undef -Wno-unused -Wno-missing-braces -Wno-missing-attributes -Wno-overflow -Wno-missing-prototypes -Wno-missing-declarations
ccflags-y += -Wno-undef -Wno-unused -Wno-missing-braces -Wno-overflow -Wno-missing-prototypes -Wno-missing-declarations
ccflags-y += $(call cc-option, -Wno-missing-attributes)

ifeq ($(CHECK_GCC_VERSION), 1)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ static CBIOS_VOID cbHDMIMonitor_GenerateAVIInfoFrameData(PCBIOS_EXTENSION_COMMON

if(bIsCEAMode && VICCode > 1)
{
if((pAVIInfoFrameData->ColorFormat == 0))//RGB
if(pAVIInfoFrameData->ColorFormat == 0)//RGB
{
if((pModeParams->IsAdobe) && pModeParams->ColorimetryCaps.IsSupportAdobeRGB)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ CBIOS_EDP_PANEL_DESC ITN156_Panel_Desc =
/*.LaneNum = */4,
/*.BacklightMax = */255,
/*.BacklightMin = */0,
/*.Flags = */0x2,//backlight control = 0, use hard code link para
/*.Flags = */0,//backlight control = 0, use hard code link para
},
/*.pFnEDPPanelInit = */INT156_Init,
/*.pFnEDPPanelDeInit = */INT156_DeInit,
Expand Down
4 changes: 0 additions & 4 deletions drivers/gpu/drm/arise/cbios/Util/CBiosUtil.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ static CBIOS_U32 cbGetVsyncWidth(PCBIOS_EXTENSION_COMMON pcbe, CBIOS_U32 XRes, C
{
ulRet = 6;
}
else if((ulTemp<126)&&(ulTemp>125))
{
ulRet = 7;
}
else if((ulTemp<167)&&(ulTemp>165))
{
ulRet = 7;
Expand Down
2 changes: 0 additions & 2 deletions drivers/gpu/drm/arise/linux/os_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -1992,8 +1992,6 @@ int gf_mtrr_del(int reg, unsigned long base, unsigned long size)
err = mtrr_del(reg, base, size);
#else
/* avoid build warning */
base = base;
size = size;
arch_phys_wc_del(reg);
err = 0;
#endif
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/arise/shared/gf_perf.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//*****************************************************************************

#ifndef __gf_perf_h__
#define __gf_peff_h__
#define __gf_perf_h__

typedef struct gf_begin_perf_event_tag
{
Expand Down
Loading