]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915: Remove manual save/resume of fence register state
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 16 Mar 2020 11:38:45 +0000 (11:38 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 16 Mar 2020 20:28:28 +0000 (20:28 +0000)
Since we always reload the fence register state on runtime resume,
having it explicitly in the S0ix resume code is redundant. Indeed, it
is not even being used!

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200316113846.4974-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.h

index ddd5b40cbbbc3ddcc63b34966d4266647f86d306..a7ea1d8553598eb72e3c9172beb5b8cc72c0700f 100644 (file)
@@ -539,7 +539,6 @@ struct i915_suspend_saved_registers {
        u32 saveSWF0[16];
        u32 saveSWF1[16];
        u32 saveSWF3[3];
-       u64 saveFENCE[I915_MAX_NUM_FENCES];
        u32 savePCH_PORT_HOTPLUG;
        u16 saveGCDGMBUS;
 };