diff options
author | Pan Zhang <zhangpan26@huawei.com> | 2019-12-18 04:50:08 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-12-18 22:09:13 +0100 |
commit | d012ea925d6110f2bd4a9b398f87ef1a76c649c5 (patch) | |
tree | 841ff74142f3c44d007ba3dfcf354e69b100b59f /drivers/gpu/drm/radeon/r600_dpm.c | |
parent | drm/amdgpu: wait for all rings to drain before runtime suspending (diff) | |
download | linux-d012ea925d6110f2bd4a9b398f87ef1a76c649c5.tar.xz linux-d012ea925d6110f2bd4a9b398f87ef1a76c649c5.zip |
gpu: drm: dead code elimination
this set adds support for removal of gpu drm dead code.
patch3 is similar with patch 1:
`num` is a data of u8 type and ATOM_MAX_HW_I2C_READ == 255,
so there is a impossible condition '(num > 255) => (0-255 > 255)'.
Signed-off-by: Pan Zhang <zhangpan26@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r600_dpm.c')
0 files changed, 0 insertions, 0 deletions