drm/radeon: use true, false for bool variable in evergreen.c
Fixes coccicheck warning: drivers/gpu/drm/radeon/evergreen.c:4948:2-15: WARNING: Assignment of 0/1 to bool variable Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: zhengbin <zhengbin13@huawei.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
6b276628c6
commit
f30abb96b5
|
@ -4945,7 +4945,7 @@ static void evergreen_uvd_init(struct radeon_device *rdev)
|
|||
* there. So it is pointless to try to go through that code
|
||||
* hence why we disable uvd here.
|
||||
*/
|
||||
rdev->has_uvd = 0;
|
||||
rdev->has_uvd = false;
|
||||
return;
|
||||
}
|
||||
rdev->ring[R600_RING_TYPE_UVD_INDEX].ring_obj = NULL;
|
||||
|
|
Loading…
Reference in New Issue