diff options
| author | Daniel Vetter <[email protected]> | 2021-06-23 16:24:56 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2021-06-24 13:39:46 +0000 |
| commit | 40cfc7fce4d00f7c2152b28a1f6e7fcbb1a47ca6 (patch) | |
| tree | 20b592bdfc6a56709f367d131536ebcd5896e18b /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | drm/omap: Follow implicit fencing in prepare_fb (diff) | |
| download | kernel-40cfc7fce4d00f7c2152b28a1f6e7fcbb1a47ca6.tar.gz kernel-40cfc7fce4d00f7c2152b28a1f6e7fcbb1a47ca6.zip | |
drm/simple-helper: drm_gem_simple_display_pipe_prepare_fb as default
It's tedious to review this all the time, and my audit showed that
arcpgu actually forgot to set this.
Make this the default and stop worrying.
Again I sprinkled WARN_ON_ONCE on top to make sure we don't have
strange combinations of hooks: cleanup_fb without prepare_fb doesn't
make sense, and since simpler drivers are all new they better be GEM
based drivers.
v2: Warn and bail when it's _not_ a GEM driver (Noralf)
v3: It's neither ... nor, not not (Sam)
Acked-by: Sam Ravnborg <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Cc: Noralf Trønnes <[email protected]>
Acked-by: Noralf Trønnes <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
