Probability function of $Y=max\{X,m\}$ for $m$ positive integer when $X$ is geometric distribution [duplicate]

Assuming as correct your $f_X(x)$, that is $X$ is a geometric rv counting the failures before the first success, your pmf $f_Y(y)$ does not sum up to 1...

Observe that $Y=m$ when $X\le m$ and this happens with probability $1-(1-p)^{m+1}$ thus

$$\mathbb{P}[Y=y] = \begin{cases} 1-(1-p)^{m+1}, & \text{if $y=m$ } \\ p(1-p)^y, & \text{if $y=m+1,m+2,m+3,\dots$ }\\ 0, & \text{elsewhere } \end{cases}$$


As you can see, this pmf works, being

$$1-(1-p)^{m+1}+p\sum_{y=m+1}^{\infty}(1-p)^y=1-(1-p)^{m+1}+p\frac{(1-p)^{m+1}}{1-(1-p)}=1$$