Merge tag 'gvt-next-2019-01-24' of https://github.com/intel/gvt-linux into drm-intel...
[linux-2.6-block.git] / drivers / gpu / drm / i915 / gvt / fb_decoder.c
index dbd91ef28886368982382d63b5c09ca7858643a7..65e847392aea788f2feb17c381f75f0defc62709 100644 (file)
@@ -231,7 +231,7 @@ int intel_vgpu_decode_primary_plane(struct intel_vgpu *vgpu,
                plane->bpp = skl_pixel_formats[fmt].bpp;
                plane->drm_format = skl_pixel_formats[fmt].drm_format;
        } else {
-               plane->tiled = !!(val & DISPPLANE_TILED);
+               plane->tiled = val & DISPPLANE_TILED;
                fmt = bdw_format_to_drm(val & DISPPLANE_PIXFORMAT_MASK);
                plane->bpp = bdw_pixel_formats[fmt].bpp;
                plane->drm_format = bdw_pixel_formats[fmt].drm_format;