drm/i915: s/IS_G4X && !IS_GM45/IS_G45/
Subsystems (2)
PATCH 1/1 drm/i915: s/IS_G4X && !IS_GM45/IS_G45/
From: Ville Syrjälä <[email protected]>
We have IS_G45 these days. Let's use it instead of the 'IS_G4X && !IS_GM45' construct.
--- drivers/gpu/drm/i915/intel_crt.c | 2 +- drivers/gpu/drm/i915/intel_dp.c | 2 +- drivers/gpu/drm/i915/intel_hdmi.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/i915/intel_crt.c +1 -1
@@ -513,7 +513,7 @@ static bool intel_crt_detect_hotplug(struct drm_connector *connector)* to get a reliable result. */ -if (IS_G4X (dev_priv) && !IS_GM45 (dev_priv)) +if (IS_G45 (dev_priv)) tries =2 ;else tries =1 ;
drivers/gpu/drm/i915/intel_dp.c +1 -1
@@ -6400,7 +6400,7 @@ intel_dp_init_connector(struct intel_digital_port *intel_dig_port,* 0xd. Failure to do so will result in spurious interrupts being * generated on the port when a cable is not attached. */ -if (IS_G4X (dev_priv) && !IS_GM45 (dev_priv)) { +if (IS_G45 (dev_priv)) {u32 temp =I915_READ (PEG_BAND_GAP_DATA );I915_WRITE (PEG_BAND_GAP_DATA , (temp & ~0xf ) |0xd ); }
drivers/gpu/drm/i915/intel_hdmi.c +1 -1
@@ -2340,7 +2340,7 @@ void intel_hdmi_init_connector(struct intel_digital_port *intel_dig_port,* 0xd. Failure to do so will result in spurious interrupts being * generated on the port when a cable is not attached. */ -if (IS_G4X (dev_priv) && !IS_GM45 (dev_priv)) { +if (IS_G45 (dev_priv)) {u32 temp =I915_READ (PEG_BAND_GAP_DATA );I915_WRITE (PEG_BAND_GAP_DATA , (temp & ~0xf ) |0xd ); }
Signature · 6 lines
2.16.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoting Ville Syrjala (2018-06-14 19:05:00)
Quoted 43 lines
From: Ville Syrjälä <[email protected]>
We have
IS_G45these days. Let's use it instead of the 'IS_G4X&& !IS_GM45' construct.Signed-off-by Ville Syrjälä <[email protected]>--- drivers/gpu/drm/i915/intel_crt.c | 2 +- drivers/gpu/drm/i915/intel_dp.c | 2 +- drivers/gpu/drm/i915/intel_hdmi.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)drivers/gpu/drm/i915/intel_crt.c +1
-1@@ -513,7 +513,7 @@ static bool intel_crt_detect_hotplug(struct drm_connector *connector)* to get a reliable result. */ -if (IS_G4X (dev_priv) && !IS_GM45 (dev_priv)) +if (IS_G45 (dev_priv)) tries =2 ;else tries =1 ;drivers/gpu/drm/i915/intel_dp.c +1
-1@@ -6400,7 +6400,7 @@ intel_dp_init_connector(struct intel_digital_port *intel_dig_port,* 0xd. Failure to do so will result in spurious interrupts being * generated on the port when a cable is not attached. */ -if (IS_G4X (dev_priv) && !IS_GM45 (dev_priv)) { +if (IS_G45 (dev_priv)) {u32 temp =I915_READ (PEG_BAND_GAP_DATA );I915_WRITE (PEG_BAND_GAP_DATA , (temp & ~0xf ) |0xd ); }drivers/gpu/drm/i915/intel_hdmi.c +0
-0
drivers/gpu/drm/i915/intel_hdmi.c void intel_hdmi_init_connector(struct intel_digital_port *intel_dig_port, · line 2346
Quoted 8 lines
drivers/gpu/drm/i915/intel_hdmi.c +1
-1@@ -2340,7 +2340,7 @@ void intel_hdmi_init_connector(struct intel_digital_port *intel_dig_port,* 0xd. Failure to do so will result in spurious interrupts being * generated on the port when a cable is not attached. */ -if (IS_G4X (dev_priv) && !IS_GM45 (dev_priv)) { +if (IS_G45 (dev_priv)) {u32 temp =I915_READ (PEG_BAND_GAP_DATA );I915_WRITE (PEG_BAND_GAP_DATA , (temp & ~0xf ) |0xd ); }
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for drm/i915: s/IS_G4X && !IS_GM45/IS_G45/
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: drm/i915: s/IS_G4X && !IS_GM45/IS_G45/
URL : https://patchwork.freedesktop.org/series/44772/
State : success
== Summary ==
= CI Bug Log - changes from CI_DRM_4319 -> Patchwork_9306 =
== Summary - SUCCESS ==
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/44772/revisions/1/mbox/
== Known issues ==
Here are the changes found in Patchwork_9306 that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@debugfs_test@read_all_entries:
fi-snb-2520m: PASS -> INCOMPLETE (fdo#103713)
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
fi-glk-j4005: PASS -> DMESG-WARN (fdo#106097)
==== Possible fixes ====
igt@kms_pipe_crc_basic@nonblocking-crc-pipe-b-frame-sequence:
fi-glk-j4005: DMESG-WARN (fdo#106097, fdo#106000) -> PASS
igt@prime_vgem@basic-fence-flip:
fi-ilk-650: FAIL (fdo#104008) -> PASS fdo#103713 https://bugs.freedesktop.org/show_bug.cgi?id=103713
fdo#104008 https://bugs.freedesktop.org/show_bug.cgi?id=104008
fdo#106000 https://bugs.freedesktop.org/show_bug.cgi?id=106000
fdo#106097 https://bugs.freedesktop.org/show_bug.cgi?id=106097
== Participating hosts (41 -> 38) ==
Additional (1): fi-bxt-dsi
Missing (4): fi-ctg-p8600 fi-ilk-m540 fi-bsw-cyan fi-hsw-4200u
== Build changes ==
* Linux: CI_DRM_4319 -> Patchwork_9306
CI_DRM_4319: 963dc22aa4c64efc766946d6577ecd0e4e18f071 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4519: 3381a56be31defb3b5c23a4fbc19ac26a000c35b @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_9306: 45b1efd3e091c79b56d230ed1fe7742445ceeb7d @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
45b1efd3e091 drm/i915: s/IS_G4X && !IS_GM45/IS_G45/
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_9306/issues.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.IGT: success for drm/i915: s/IS_G4X && !IS_GM45/IS_G45/
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: drm/i915: s/IS_G4X && !IS_GM45/IS_G45/
URL : https://patchwork.freedesktop.org/series/44772/
State : success
== Summary ==
= CI Bug Log - changes from CI_DRM_4319_full -> Patchwork_9306_full =
== Summary - WARNING ==
Minor unknown changes coming with Patchwork_9306_full need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_9306_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
== Possible new issues ==
Here are the unknown changes that may have been introduced in Patchwork_9306_full:
=== IGT changes ===
==== Warnings ====
igt@gem_mocs_settings@mocs-rc6-ctx-render:
shard-kbl: PASS -> SKIP
igt@pm_rc6_residency@rc6-accuracy:
shard-snb: SKIP -> PASS== Known issues ==
Here are the changes found in Patchwork_9306_full that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@drv_hangman@error-state-capture-render:
shard-snb: PASS -> FAIL (fdo#106847)
igt@drv_selftest@live_gtt:
shard-apl: PASS -> FAIL (fdo#105347)
igt@drv_selftest@live_hangcheck:
shard-kbl: NOTRUN -> DMESG-FAIL (fdo#106560)
igt@drv_suspend@shrink:
shard-hsw: PASS -> INCOMPLETE (fdo#103540) +1
igt@kms_flip@flip-vs-expired-vblank-interruptible:
shard-glk: PASS -> FAIL (fdo#105189)
igt@kms_flip@plain-flip-fb-recreate-interruptible:
shard-glk: PASS -> FAIL (fdo#100368) +1
shard-hsw: PASS -> FAIL (fdo#100368)
igt@kms_flip_tiling@flip-to-x-tiled:
shard-glk: PASS -> FAIL (fdo#104724, fdo#103822)
igt@perf_pmu@busy-accuracy-50-vcs0:
shard-snb: SKIP -> INCOMPLETE (fdo#105411)
==== Possible fixes ====
igt@drv_selftest@live_gtt:
shard-kbl: FAIL (fdo#105347) -> PASS
igt@drv_selftest@live_hugepages:
shard-kbl: INCOMPLETE (fdo#103665) -> PASS
igt@kms_atomic_transition@1x-modeset-transitions-nonblocking-fencing:
shard-glk: FAIL (fdo#105703) -> PASS
igt@kms_flip@flip-vs-expired-vblank-interruptible:
shard-hsw: FAIL (fdo#102887, fdo#105363) -> PASS
igt@kms_flip@plain-flip-ts-check-interruptible:
shard-hsw: FAIL (fdo#100368) -> PASS
igt@kms_flip_tiling@flip-y-tiled:
shard-glk: FAIL (fdo#104724, fdo#103822) -> PASS
igt@perf@polling:
shard-hsw: FAIL (fdo#102252) -> PASS
==== Warnings ====
igt@drv_selftest@live_gtt:
shard-glk: INCOMPLETE (fdo#103359, k.org#198133) -> FAIL (fdo#105347) fdo#100368 https://bugs.freedesktop.org/show_bug.cgi?id=100368
fdo#102252 https://bugs.freedesktop.org/show_bug.cgi?id=102252
fdo#102887 https://bugs.freedesktop.org/show_bug.cgi?id=102887
fdo#103359 https://bugs.freedesktop.org/show_bug.cgi?id=103359
fdo#103540 https://bugs.freedesktop.org/show_bug.cgi?id=103540
fdo#103665 https://bugs.freedesktop.org/show_bug.cgi?id=103665
fdo#103822 https://bugs.freedesktop.org/show_bug.cgi?id=103822
fdo#104724 https://bugs.freedesktop.org/show_bug.cgi?id=104724
fdo#105189 https://bugs.freedesktop.org/show_bug.cgi?id=105189
fdo#105347 https://bugs.freedesktop.org/show_bug.cgi?id=105347
fdo#105363 https://bugs.freedesktop.org/show_bug.cgi?id=105363
fdo#105411 https://bugs.freedesktop.org/show_bug.cgi?id=105411
fdo#105703 https://bugs.freedesktop.org/show_bug.cgi?id=105703
fdo#106560 https://bugs.freedesktop.org/show_bug.cgi?id=106560
fdo#106847 https://bugs.freedesktop.org/show_bug.cgi?id=106847
k.org#198133 https://bugzilla.kernel.org/show_bug.cgi?id=198133
== Participating hosts (5 -> 5) ==
No changes in participating hosts
== Build changes ==
* Linux: CI_DRM_4319 -> Patchwork_9306
CI_DRM_4319: 963dc22aa4c64efc766946d6577ecd0e4e18f071 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4519: 3381a56be31defb3b5c23a4fbc19ac26a000c35b @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_9306: 45b1efd3e091c79b56d230ed1fe7742445ceeb7d @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_9306/shards.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx