]> rtime.felk.cvut.cz Git - linux-imx.git/blobdiff - drivers/gpu/drm/i915/i915_drv.c
drm/i915: create VLV_DSIPLAY_BASE #define
[linux-imx.git] / drivers / gpu / drm / i915 / i915_drv.c
index ab3b9d38e1530d2f22c64335d809056128c52351..ff569cc353766208c3c597d838e5c578d0a43a70 100644 (file)
@@ -1031,7 +1031,7 @@ static bool IS_DISPLAYREG(u32 reg)
         * This should make it easier to transition modules over to the
         * new register block scheme, since we can do it incrementally.
         */
-       if (reg >= 0x180000)
+       if (reg >= VLV_DISPLAY_BASE)
                return false;
 
        if (reg >= RENDER_RING_BASE &&