u32 width, bool hdecim)
{
const struct drm_format_info *info = drm_format_info(format->pixel_format);
- struct mdp5_kms *mdp5_kms = get_kms(smp);
- int rev = mdp5_cfg_get_hw_rev(mdp5_kms->cfg);
int i, hsub, nplanes, nlines;
uint32_t blkcfg = 0;
* U and V components (splits them from Y if necessary) and packs
* them together, writes to SMP using a single client.
*/
- if ((rev > 0) && (format->chroma_sample > CHROMA_FULL)) {
+ if (format->chroma_sample > CHROMA_FULL) {
nplanes = 2;
/* if decimation is enabled, HW decimates less on the
n = DIV_ROUND_UP(fetch_stride * nlines, smp->blk_size);
- /* for hw rev v1.00 */
- if (rev == 0)
- n = roundup_pow_of_two(n);
-
blkcfg |= (n << (8 * i));
}