diff options
author | 2021-07-27 14:10:27 +0200 | |
---|---|---|
committer | 2021-07-28 16:45:57 +0200 | |
commit | 6d5de3275609c6022d6677808968b7adcdee5e66 (patch) | |
tree | ea391973f1058ec63a8a6043d68d2a5cebb35ea7 /tools/perf/scripts/python | |
parent | drm/i915/xehpsdv: Correct parameters for IS_XEHPSDV_GT_STEP() (diff) | |
download | linux-dev-6d5de3275609c6022d6677808968b7adcdee5e66.tar.xz linux-dev-6d5de3275609c6022d6677808968b7adcdee5e66.zip |
drm/i915: Check for nomodeset in i915_init() first
When modesetting (aka the full pci driver, which has nothing to do
with disable_display option, which just gives you the full pci driver
without the display driver) is disabled, we load nothing and do
nothing.
So move that check first, for a bit of orderliness. With Jason's
module init/exit table this now becomes trivial.
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Cc: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210727121037.2041102-1-daniel.vetter@ffwll.ch
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions