diff options
author | Chris Wilson | 2017-10-02 12:04:16 +0200 |
---|---|---|
committer | Rodrigo Vivi | 2017-10-09 19:33:28 +0200 |
commit | de3ded0ae677749b4fc9f59d15b26b9f077340ac (patch) | |
tree | d6f4a244e05e9a1e2d7a6ae74aa9058ea72e9abc /drivers/gpu/drm/i915/intel_bios.c | |
parent | drm/i915: Use crtc_state_is_legacy_gamma in intel_color_check (diff) | |
download | kernel-qcow2-linux-de3ded0ae677749b4fc9f59d15b26b9f077340ac.tar.gz kernel-qcow2-linux-de3ded0ae677749b4fc9f59d15b26b9f077340ac.tar.xz kernel-qcow2-linux-de3ded0ae677749b4fc9f59d15b26b9f077340ac.zip |
drm/i915: Silence compiler warning for hsw_power_well_enable()
Not all compilers are able to determine that pg is guarded by wait_fuses
and so may think that pg is used uninitialized.
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Fixes: b2891eb2531e ("drm/i915/hsw+: Add has_fuses power well attribute")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171002100416.25865-1-chris@chris-wilson.co.uk
Reviewed-by: Imre Deak <imre.deak@intel.com>
(cherry picked from commit 320671f94ada80ff036cc9d5dcd730ba4f3e0f1a)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_bios.c')
0 files changed, 0 insertions, 0 deletions