Message ID | 20180608192835.31788-1-ville.syrjala@linux.intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Quoting Ville Syrjala (2018-06-08 20:28:35) > From: Ville Syrjälä <ville.syrjala@linux.intel.com> > > On SKL+ the dst colorkey is enabled on the primary plane instead of the > sprite plane. That means the restriction of scaling vs. keying doesn't > actually apply here as we never scale the primary. So let's remove > the requirement of having XV_ALWAYS_ON_TOP enabled to get hw scaling. > > Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Ok :) Pushed, -Chris
diff --git a/src/sna/sna_video_sprite.c b/src/sna/sna_video_sprite.c index f713abcb9151..8b7ae8ae9e75 100644 --- a/src/sna/sna_video_sprite.c +++ b/src/sna/sna_video_sprite.c @@ -49,7 +49,7 @@ #define DRM_FORMAT_NV12 fourcc_code('N', 'V', '1', '2') /* 2x2 subsampled Cr:Cb plane */ #define has_hw_scaling(sna, video) ((sna)->kgem.gen < 071 || \ - ((sna)->kgem.gen >= 0110 && (video)->AlwaysOnTop)) + (sna)->kgem.gen >= 0110) #define LOCAL_IOCTL_MODE_SETPLANE DRM_IOWR(0xB7, struct local_mode_set_plane)